
deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 1, 2010 10:58 PM
Msg. 1 of 7
Okay, so in my mod I'm working on (it's not really a mod..just a test I guess, and my first time actually doing a script) I have shadows coming in, then dropping off their troops at a position and it works fine. I had to readjust the grunts model animations to allow them to get into the shadow but it works fine.Now I want to add in a dropship which flies in, drops off its troops, then flies out or just disappears. But the AI won't get into the vehicle..I have tried switching the seat names to banshee and ghost. The passengers get in, but the driver doesnt. I use the script: vehicle_load_magic dropper "CD-driver" (is that right?) (ai_actors dropship/dropshippilot))
The script works fine, but the unit doesnt get in the vehicle.. Edited by deadlyfighter1000 on Jan 1, 2010 at 11:00 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 2, 2010 12:56 AM
Msg. 2 of 7
Does the pilot have animations to enter the dropship's pilot seat? By the way, the seat label is:
c_dropship driver
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 2, 2010 01:12 PM
Msg. 3 of 7
What's the animation name for dropship driver? Would it just me c_dropship driver? Tried making animation for dropship driver as c_dropship driver.. didn't work. And tried using vehicle_load_magic dropper "c_dropship driver" (ai_actors dropship/dropshippilot))
I just don't get what's going wrong. Edited by deadlyfighter1000 on Jan 2, 2010 at 01:26 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 2, 2010 02:02 PM
Msg. 4 of 7
Just change the seat label to something that you know that the driver can enter.
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 2, 2010 04:07 PM
Msg. 5 of 7
I tried changing it to a banshee and a ghost, yet it still didn't work.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jan 2, 2010 04:09 PM
Msg. 6 of 7
Did you change the seat label being referred to in the script command?
|
|
|

deadlyfighter1000
Joined: Jan 11, 2009
Constantly a threat.
|
Posted: Jan 2, 2010 04:34 PM
Msg. 7 of 7
Problem solved.. and I got the dropship to move. I just replaced the current elite biped animations with the normal elite animations.. then I changed the seat to GT-gunner and he got in (yay). Then I modified some things in the dropships properties and finally got the dropship to move. Now I have another problem.. My dropship doesn't unload the units in the CD-passenger seats.. I don't understand why they dont get unloaded either. Heres my script: (sleep_until (= (volume_test_object d1 dropper) 1)) (vehicle_unload dropper "CD-passenger")
I would post the rest of it, but this project is on a different computer. Edited by deadlyfighter1000 on Jan 3, 2010 at 01:53 PM Edited by deadlyfighter1000 on Jan 3, 2010 at 01:55 PM
|
|
|