Multiple reload and wielding firearm poses?

Have any questions or problems in making your game, subscribing and/or using our software? Post here.
Forum rules
Make sure you are using the newest version. This can be downloaded at the top of the site via the "downloads" link.

Use a very good subject. "Problem" or "Help" are unacceptable titles.

Use the search feature before posting a question, as the answer is probably already here.

Subscript out of range error 9: This is a generic error, and we'll need way more information than that to figure out the problem. If you get this, strongly consider following the instructions of submitting your project through the Submit Bug feature within the editor.
User avatar
SabenStudios
001 Subscriber
 
Joined: Tue Sep 27, 2016 7:40 pm
Location: Chicago, IL

Multiple reload and wielding firearm poses?

Postby SabenStudios » Sun Oct 30, 2016 12:58 am

So I want to add different sprite poses for all the guns in my game. Implementing all the different reloading poses isn't the hard part for me, its trying to get the wielding ones to work. Having the engine know when to start a "wielding pistol" pose aside from a "wielding rocket launcher" pose is what I'm having trouble with. I have a few complicated ideas that have to do with multi-comparison branches in the actor triggers section but I wanted to see if anyone knew any easier ways to go about doing this. I want to stay away from the input triggers since I'd like this to work for all NPCs too.

If theres somewhere in the engine where you can actually see the scripts involved with connecting the poses like "Walking" and "Shooting" to the actions going on I'd happily just throw a multi-comparison branch and have it check to see what gun I'm wielding to decide which pose to play. I have a feeling its not that simple though.

But if anyones got any ideas I'd really appreciate, thank you!!

User avatar
thebluejester
001 Enthusiast
 
Joined: Fri Jul 24, 2015 3:05 am

Re: Multiple reload and wielding firearm poses?

Postby thebluejester » Mon Oct 31, 2016 12:34 am

Could you put it into a trigger on the weapon itself?
I.e inside the Pistol weapon, select the Used trigger and then set it to play pose X on the actor using the weapon. Should work for Players and NPCs if they have the pose already made in their Sprite.


Return to Technical Support Questions

Who is online

Users browsing this forum: No registered users

cron