A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »ai in vehicles cant drive

Author Topic: ai in vehicles cant drive (25 messages, Page 1 of 1)
Moderators: Dennis

jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 06:58 PM    Msg. 1 of 25       
when i was adding the command list the ai's decided that they wouldn't follow it and would drive around in circles.


Somone77
Joined: Aug 25, 2007


Posted: Jan 5, 2011 09:18 PM    Msg. 2 of 25       
As far as I recall, the AI in Halo:CE and vehicles don't mix, they weren't intended to need to drive them when the game was made, therefore aren't set up for it.


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 09:44 PM    Msg. 3 of 25       
ok to make them drive in a path u have to use scrips
example:

(script startup ANYNAME
(vehicle_load_magic NAMEVEHICLE "" (ai_actors ENCOUNTER/SQUADS))
)


ANY NAME= name of youre script can be what ever
NAMEVEHICLE=the name of the vehicle in sapien
encounter= name of encounter
aquads= name of your squad

finished script:
(script startup lol
(vehicle_load_magic hog1 "" (ai_actors elite/W1drive))
)
Edited by milkkookie on Jan 5, 2011 at 09:50 PM


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 10:25 PM    Msg. 4 of 25       
wen tried wat u said i compiled script in sapien and got this error
01.06.11 14:23:37 [hog line 1] the value of this expression (in a slot) can never be used.: driving

01.06.11 14:23:37 recompiling scripts after scenarios were merged.
01.06.11 14:23:37 this left parenthesis is unmatched.: (script startup hog driving


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Jan 5, 2011 10:30 PM    Msg. 5 of 25       
Quote: --- Original message by: jackotheblah
wen tried wat u said i compiled script in sapien and got this error
01.06.11 14:23:37 [hog line 1] the value of this expression (in a slot) can never be used.: driving

01.06.11 14:23:37 recompiling scripts after scenarios were merged.
01.06.11 14:23:37 this left parenthesis is unmatched.: (script startup hog driving


if you want to name your script with two words, you need to link them up, ie. hog_driving.
otherwise the compiler will recognise the two words as two seperate values, and result in this error.


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 10:38 PM    Msg. 6 of 25       
if there is any problem with my command line please tell me.
set radius: 5
enter vehicle as driver if within 5
go to point 0 keep moving
go to point 1 keep moving
go to point 2 keep moving
go to point 3 keep moving
loop to #2 always

edit:btw is this what the script should look like
(script startup hog_driving
(vehicle_load_magic bacon""(ai_actors hog/driver))
)
Edited by jackotheblah on Jan 5, 2011 at 10:43 PM
Edited by jackotheblah on Jan 5, 2011 at 10:43 PM


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 10:57 PM    Msg. 7 of 25       
go to point 0 keep moving
go to point 1 keep moving
go to point 2 keep moving
go to point 3 keep moving
loop to #2 always
be sure that the points are not behind the vehicle or it wont move and check ai can side step in the $$$ section of your vehicle and it should work


the script is right


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 11:05 PM    Msg. 8 of 25       
jst got this from debug after sapien compiling
01.06.11 14:46:24 [hog_driving line 2] this is not a valid object name.: bacon""(ai_actors hog/driver))

01.06.11 14:46:24 recompiling scripts after scenarios were merged.
01.06.11 14:46:24 this is not a valid object name.: bacon""(ai_actors hog/driver))


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 11:09 PM    Msg. 9 of 25       
are you sure youre vehicle's name in sapien is bacon lol


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 11:11 PM    Msg. 10 of 25       
yeh i just checked
ill change it and give that a go

edit: still doesn't work

edit 2: this is current error
01.06.11 15:16:20 [hog_driving line 2] this is not a valid object name.: warthog""(ai_actors hog/driver))

01.06.11 15:16:20 recompiling scripts after scenarios were merged.
01.06.11 15:16:20 this is not a valid object name.: warthog""(ai_actors hog/driver))
and can u give me the full $$$vehicle$$$ settings like sidestep and max speed
Edited by jackotheblah on Jan 5, 2011 at 11:25 PM


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 11:24 PM    Msg. 11 of 25       
o i think your the warthog and the quotes are together so do it like this warthog "" not like this warthog"" im not very good with scripz :d
Edited by milkkookie on Jan 5, 2011 at 11:41 PM


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 11:28 PM    Msg. 12 of 25       
the script compiles good now but he still drives around in circles.
Edited by jackotheblah on Jan 5, 2011 at 11:31 PM


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 11:42 PM    Msg. 13 of 25       
but is he in the vehicle


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 5, 2011 11:43 PM    Msg. 14 of 25       
yes he is in the vehicle,
but when he go's to drive off he turns around in circles


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 5, 2011 11:55 PM    Msg. 15 of 25       
it should be working
uncheck flying in $$$ vehicles section
check ai driver enabled
uncheck ai unused
make sure you only have one guy in your squad
make sure under squads staring pionts you specified the commands to folllow
and your ai i dont rember if its the actor or the varient but check fearless pathfinding ithink
and theres other things go check the ai driving warthog tutorial it shows you how to prepare the vehicle im to lazy to type all of that right now
http://hce.halomaps.org/index.cfm?fid=2298


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 6, 2011 12:06 AM    Msg. 16 of 25       
i did everything the tutorial said and now he drives to the first point and keeps going straight.
also i cant find fearless pathfinding but i will check again


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 6, 2011 12:09 AM    Msg. 17 of 25       
make sure the points are no to close and not to far about five warthogs apart


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 6, 2011 12:13 AM    Msg. 18 of 25       
he still drives straight, would you recommend a good ai tag.

Edited by jackotheblah on Jan 6, 2011 at 12:14 AM


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 6, 2011 12:17 AM    Msg. 19 of 25       
i dosent matter how smart or dumb the ai are as long as they have commands the will follow them but i dont know why it dosent work
trying getting a better ai tag who knows it might work
Edited by milkkookie on Jan 6, 2011 at 12:17 AM


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 6, 2011 12:18 AM    Msg. 20 of 25       
ill keep trying, also my pelican has no driver seat when i play halo.


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 6, 2011 12:27 AM    Msg. 21 of 25       
it does except you dont have animations to enter so change this P-driver to W-driver under the seat section of the vehicle well nighty night all try to find the problem too but no is time for me to sleep zzzzZZZz


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 6, 2011 12:33 AM    Msg. 22 of 25       
thnx for all your trying to help but this is a stupid problem that shouldnt be this way and im going to yell at it for about 5mins then go outside and yell at the sky.


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 6, 2011 04:51 PM    Msg. 23 of 25       
lol


jackotheblah
Joined: Jan 5, 2011

uthink ur lag is bad,takes jesus 3 days to respawn


Posted: Jan 6, 2011 05:07 PM    Msg. 24 of 25       
i tried the pelican thing and now it dissapears when i hit the ground after spawning.

btw can you help me with my tool compile problem
01.07.11 08:25:57 WARNING: encounter elite ghost 3 could be ambiguously attached to BSPs #0 and #1
01.07.11 08:25:57 WARNING: encounter elite ghost 4 could be ambiguously attached to BSPs #0 and #1
01.07.11 08:25:57 WARNING: encounter hog could be ambiguously attached to BSPs #0 and #1
01.07.11 08:25:57 WARNING: encounter pelican could be ambiguously attached to BSPs #0 and #1

it still compiles but it has the names of all my commands and encounters.
this could be the command problem.
Edited by jackotheblah on Jan 6, 2011 at 05:23 PM


milkkookie
Joined: Aug 10, 2010

:)


Posted: Jan 6, 2011 06:54 PM    Msg. 25 of 25       
(weird the pelican thing worked for me)
try checking manual bsp index in sapien for the ai
Edited by milkkookie on Jan 6, 2011 at 06:55 PM
Edited by milkkookie on Jan 6, 2011 at 07:01 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:19 AM 156 ms.
A Halo Maps Website