
UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Feb 1, 2010 11:57 AM
Msg. 1 of 11
My marines wont get in my vehicles, and I don't know why. The marines are using standard animation graphs, and the seats are labeled correctly. There are no other actors in the vehicles or anything. It just returns a 0 every time. Originally the seat labels were default, but it wasn't working so I changed the seat labels to "W-driver" which I know the marines have in their animation graphs, but it still doesn't work.
(vehicle_load_magic patrol_pelican "W-driver" (ai_actors patrol_pelican_driver)) (vehicle_load_magic scorpion "W-driver" (ai_actors driver))
Any help would be great.
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Feb 1, 2010 02:19 PM
Msg. 2 of 11
Are you trying to use the script in-game or is it in a .hsc file? Because when I try to do scripts in-game it returns with a 0. Also I think ai_actors needs to be more specific, like into the squad like so: (vehicle_load_magic patrol_pelican "W-driver" (ai_actors patrol_pelican_driver/driver)) or whatever the name of your squad is.
|
|
|

UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Feb 1, 2010 02:56 PM
Msg. 3 of 11
Hmm, I can't believe I forgot the squad name, but even after adding that in it still returns a 0, and I have it set to run through a script, but I've ran it ingame also to check and neither work. E: also it doesn't work in Sapien either. Edited by UnevenElefant5 on Feb 1, 2010 at 02:56 PM
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Feb 1, 2010 03:03 PM
Msg. 4 of 11
Is the vehicle placed ingame? If not, does it spawn before the ai is supposed to get in it?
|
|
|

UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Feb 1, 2010 03:11 PM
Msg. 5 of 11
Yeah, theoretically, everything should be working fine, but it doesn't for some reason. Here's one script: (ai_place driver) (object_create scorpion) (vehicle_load_magic scorpion "W-driver" (ai_actors driver/scorpion_driver))
and the other: (object_create patrol_pelican) (ai_place patrol_pelican_driver) (vehicle_load_magic patrol_pelican "W-driver" (ai_actors patrol_pelican_driver/driver))
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Feb 1, 2010 03:17 PM
Msg. 6 of 11
Hmm, The only thing I can think of is backing up your marine animations and re-extracting/downloading them. I had this problem before and thats what I did to solve it. Also try using object_create_anew first. Edited by deadlyfighter1000 on Feb 1, 2010 at 03:17 PM
|
|
|

UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Feb 1, 2010 04:46 PM
Msg. 7 of 11
The objects aren't created by default though, so why use object_create_anew?
Also, STRKR, yeah all the strings match in the vehicle tag. It's W-driver in both vehicles.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Feb 1, 2010 06:07 PM
Msg. 8 of 11
I see the problem. You're using the seat label rather than the seat marker name.
In my experience, (vehicle_load_magic) only works if you specify the seat marker name instead of its label. In Guerilla, the marker used for the seat is just under the label in a field called "marker name". For most vehicles, the driver's marker is just "driver", and the peli uses it too.
So replace "W-driver" with just plain "driver" and see if that fixes it.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 1, 2010 06:17 PM
Msg. 9 of 11
If you're feeling really desperate, you could always just use "" instead of a specific label. That'll cause the AI to load into the first available seat that they can enter, which is normally the driver / pilot seat. If you want a different seat, change the seat label in the vehicle to something else that only that certain AI has. Remove all other animations from that AI. It's messy, but it works.
|
|
|

UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Feb 1, 2010 06:25 PM
Msg. 10 of 11
Thanks for all your help guys, I got it working now :D Dunno how, but I did it :P
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 1, 2010 06:34 PM
Msg. 11 of 11
Because I posted :P
|
|
|