Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shooter Template #395101
02/19/12 20:06
02/19/12 20:06
Joined: Feb 2012
Posts: 3
Y
ypod Offline OP
Guest
ypod  Offline OP
Guest
Y

Joined: Feb 2012
Posts: 3
New at this - Have created the shooter game with Gamestudio's template script but I can't get my enemy (Cyberbabe)to grab the gun. The character's arm moves like she's firing a gun but the gun is hanging in the air. I have tried most of the actions in the list. Why can't I get my character to grab her gun? It should be t_shooter_got_pistol = 1; I think.

I see this in the code. Yet my character won't take the gun.
Which "action" from the Template Script actions would give the enemy (Cyberbabe) the gun?
Any help appreciated.
Thanks

Re: Shooter Template [Re: ypod] #395381
02/23/12 00:22
02/23/12 00:22
Joined: Nov 2009
Posts: 70
Siwler Offline
Junior Member
Siwler  Offline
Junior Member

Joined: Nov 2009
Posts: 70
I'm also working with t_shooter_template, so I'll do my best to helping you out.

To understand your issue better, is it that your enemy (Cyberbabe) have a gun in front of her and yet she can fire the gun, right?
If that is the case than your t_shooter_got_pistol is working fine, then you have to animate enemy to position as it would hold the gun plus walk run animation combined at the same time. the best bet would be to animate your enemy with the gun: holding a gun + walking/running, holding a gun aiming at,( while standing still), dieing sequence and etc.

but again t_shooter_got_pistol = 1 is got nothing to do with enemies picking up weapons, t_shooter_got_pistol is for your main character not for the enemy.

So you should check t_shooter_enemies.c file for picking up a weapon, then again t_shooter_enemies don't have pick up weapon code you have to code it your self. So this brings me back to that you have to animate your enemy character with the weapon at standing position, walking/running, aiming position and dieing position sequence.

Last edited by Siwler; 02/23/12 03:02.

Honesty will get you far, were dishonesty will get you only so far in life.

Re: Shooter Template [Re: Siwler] #395474
02/23/12 19:40
02/23/12 19:40
Joined: Feb 2012
Posts: 3
Y
ypod Offline OP
Guest
ypod  Offline OP
Guest
Y

Joined: Feb 2012
Posts: 3
THANKS
I'm currently working on the tutorials.
I had the t_shooter_got_pistol mixed up thinking it was the enemy.
Trying to get a grip on the Lite-C, this is going to take awhile.
Again thanks!


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1