Instruments that you can play just like your npc buddies.
Have you ever watched longingly at other stalkers and wished you could join them in their soothing recitals. Well, Stalker, take this guitar and never feel left out again!
In all honesty this is my first mod ever beyond retexturing things and minor value changes for personal use. There is likely something wrong with it. That being said, I have some ambitions to add draw and holster animations, make the script and timing a bit more immersive and add guitar settling animations. Then maybe I will do the same for the Harmonica, but that is only after I make a mess here.
Let me know if you find any conflicts, it should be relatively safe as it uses mostly the base game guitar assets and has its own script. Delete the texture folder if you want, I just wanted to make the base guitar shinier.
also suggestions are warmly encouraged.
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Update 0.1 - Quick Duck Tape to Address Some Comments.
- the guitar track should now play the length of the song and end (thanks Wang_Laoshi for the help)
- disabled movement, repack the second folder if you want to be able to move again.
- Minor tweaks to the HUD position, further improvement to come.
Things to address in the next update - arm clipping, guitar weight, draw and holster transitions, camera animations, getting the sound to play locally.
-fixed player freezing after animation was already over
-fixed clipping of left arm, adjusted object angles
Update 0.2 - Draw and Holster
-added draw and holster animations
- Thank you to NLTP_ASHES and Barry for helping me clean up some of the process, scripts, and file structure over on the anomaly discord
- Hud position, and entirely new animations
Upcoming changes will be made to the mobile sound output. I will be adding sound effects for draw and holster.
I don't really like the new strumming pattern so I will probably re-animate it.
Harmonica is in the works. May update the new guitar textures as well.
fixed - movement
Guitar Animations for Full Enjoyment (Update 0.2) - ModDB
Update 0.3 - simple harmonica functions
- changed the animation for the right arm of the guitar, it fits better with some tracks than others, more adjustments to come
- added very simple harmonica animations
- updated the mobile version
Currently I am planning on updating the harmonica animations first, changing the way the sound is played for both instruments, adding draw and holster sfx, updating the harmonica textures (they are by default very bare bones and I don't think anyone planned on you looking at them this close) and possibly implementing a animation cancel.
also, camera animations are essentially done for the harmonica but i am having trouble implementing them so that they are oriented the correct way. Once i figure this out they will be added with the next update.
На конец это кто то сделал. Такая анимация была в народной солянке. 👍🏻
Реально? в какой?
Я знаю! Я много лет хотел играть на гитаре. Возможно, следующей
губная гармошка. Я использую Google Translate, поэтому прошу прощения, если это сбивает с толку.
it’s okay, I myself use Google translator, sometimes it gives the most stupid errors, but in general it’s normal, for English at least
по крайней мере, приятно иметь его. Даже с ошибками. Возможно, когда-нибудь у меня появится время выучить больше языков!по крайней мере, приятно иметь его. Даже с ошибками. Возможно, когда-нибудь у меня появится время выучить больше языков!
Considering it's your first mod, it looks really good! You definitely get a 10/10 from me. thank you for sharing. good job bro
Thank you, I'm looking forward to making it better. Hope it brings a bit more immersion for you!
ALFA MODMAKER!!!
Could you possibly make the guitar angle down a little more? 90 degrees seems a lil extreme, and maybe add camera shake to the anims? and ive noticed that your animation doesnt freeze you in place, so you can hear the music playing from where you stood or sat not where you're actually playing.
Yeah, i agree, i think the guitar needs some animation too, right now its just static. Ill let you know when i update it.
Nice mod, brilliant idea! I would love to see this animations getting a little bit tweaked and getting an haronica animation too!
Nice Work!
When you move music stays in the place that was started, and like someone up said a little change to the angle of the guitar and its positioning on the screen and it would be really good, now its a bit too high so the arm looks really goofy and over the head.
For some reason the instruments do that by default, im hoping to learn how to fix that this weekend. I agree about the animations, i want to animate some haptics for the guitar as well. In the mean time feel free to modify the parameters in the hud animation ltx to get it to your ideal height.
you can actually get the length of the sound you play and then adjust your restore time event accordingly instead of hardcoded 30 secs
snd = sound_object(...) etc.
local length = snd:length()/1000
divide by 1000 cuz it gets the time in miliseconds by default
then you just use this 'length' var in your time event call
Thank you! I was trying this and for some reason it wasnt working with "length" as the variable in my time event. But you saying this confirms that i just need to try a little harder to get it to work lol
you're very welcome, modders from different 'branches' (scripting/arts) should support each other. firstly, mind the moment when you declare it or reference it, your sound_object should be already existing. not sure if I should explain it, but just in case - there's difference in stuff like snd.length() [incorrect in this case] and snd:length(). mind the syntax as well
when in doubt, check lua_help.script (might be confusing but it gives you an idea of what's possible for a specific object and what's not), _g.script and axr_main.script for some useful explanations in the comments of these two scripts
I dunno, maybe you know the scripting stuff better than me, but just in case. can't fit everything into one comment... xray scripting has a lot of nuances
Thanks, I actually started trying to write myself a bit of documentation this weekend by combing through the scripts cause it is really a needle in a hay stack sometimes.
I think i will double check the syntax. do you know if there is a way to send the the value of a variable to another string? Like, say I wanted to print the value for length.
given that your length var already exists, there are a few ways
printf(var) - outputs the value to the console
actor_menu.set_msg(1,var,X) - shows the text in the bottom of the screen for X seconds
news_manager.send_tip(db.actor, var, nil, "ui\\ui_icon_news_trx_dolg", 6000) - lots of optional args but what matters is that it will print your stuff as a PDA message (var is your value here)
Okay, that's good to know, I thought it was something like that I just wasn't sure how different X-ray would be. Also, the \1000 was what was throwing me off in the script and I updated it so that the animation plays the length of the song. I didn't realize that the milliseconds would be converted to seconds when i apply the length variable, makes complete sense.
What an awesome idea. Long overdue. Glad to see you're so receptive of the criticism to help you improve on this fantastic addition! Keep up the good work!!
Thanks, i am happy to have finally stuck my toe in the moddy waters! I just posted a patch to address some of it. More thorough updates to come.
Epic
YES! Finally a guitar is gonna be noice.. + immersion!
Наконец то я дождалсЯ
NICE ˋ( ° ▽、° )
with the latest update, the freezing in place of the character works during playing but doesnt unfreeze after you stop playing.
Thank you, i will try to fix this right now. Check back in later
Fixed* (should be lol)
nice it does seem to be fixed, i tested it a few times so looks good. also theres a part of the animation where the character hits the strings upwards and that motion gets cut off very abruptly and looks unnatural.
Okay, cool, thank you. I'll adjust that with the next update if not sooner.
man i really need to get back to anomaly lol
even though animation looks simple, this adds a lot of immersion into the game world
thank you for this work, i will make sure to download it next time i'll have a "stalker-depression" mood
это конечно круто но я не понимаю куда закидывать и какие файлы использовать
помогите люди добрые
Привет! Я использую переводчик, чтобы сказать это, так что это может быть неправильно. Вы можете установить его с помощью Mod Organizer 2 или взять папку «gamedata» и поместить ее в каталог Anomaly. Я настоятельно рекомендую вариант MO2.
this looks SUPER awesome! looking forward to see how the animations develop as you work on the mod.
think it would be fun to have a lengthier smoking cigarette animation for when youre chilling by the fire, maybe you right click on the cigarette and there is an option called "enjoy cigarette" or something. just an idea i thought i would share :)
Thanks, currently battling an unruly guitar, hopefully will be adding the draw and holster soon.
I think you might be the onlyone who shares my enjoyment of the long cigarette animations, Do you use the default FDDA cig anim? Its pretty long all together, but it would be cool to have options lol
As a guitarist of the zone, you're after my heart with this one, this will be essential in all my future load orders. Nice.
It always killed me that I couldnt play the guitar lol Ill be adding some animations to make it a bit less bare bones.
Version 0.2 is better, I don't know if you can do it, but could you change the movements of the right hand somehow? I'm not saying that it should be perfect, but still, the right hand is slow, and he moves it up and down a lot. I wish it was at least a little bit in rhythm with the song.
Sorry if I wrote something wrong, I used a translator.
Thank you, Absolutely, I completely agree, Im actually working on that right now. I'll patch it when i get the time this week.
no worries, i've been translating myself all week.
Any way we can cancel the animation? I kind of sat down with a fight going on around me and my dumb *** is just stuck sitting there playing the guitar XD
haha, I will try to figure out how to add a cancel and let you know, but until then you are a passionate guitarist till your last breath.
Автор, я помню меня Отец учил играть на гитаре и я тоже самые движения делал ))))))) Он хорошо играл на гитаре но к сожалению я так и не научился как бы я не старался! Я надеюсь у вас все получится!
Я люблю играть на гитаре, у меня это не очень хорошо получается, но я могу играть достаточно, чтобы написать несколько песен и быть немного творческим человеком. Моя семья тоже увлекла меня музыкой!
Thank you