PDA

View Full Version : UEd3/UT2K4: Use the teleport you stupid bots!


GingerFlaps
14th Aug 2004, 04:53 PM
Another day, another problem... sorry to bother you all again but...

I've got an onslaught map with vehicles and a powernode that is on a remote island only reachable by teleport. This idea works fine for players, but the stupid bots ignore the teleport and try to drive to the powernode on the remote island even though it's through lava and there's no road path! :eek: That's ginger-flapping crazy!!! :eek:

How can I stop bots being stupid? :rolleyes:

Thanks (yet again)
Ginger.

T2A`
15th Aug 2004, 02:42 AM
I'm assuming they want to use the teleport, but don't have the brains enough to get out of the vehicle beforehand. Not sure what you can do about that... Maybe you could make the teleport area inaccessible to vehicles by leaving out the road paths. Then if they wanted to go over there, they'd get out. In theory. ;)

Rask
15th Aug 2004, 06:56 AM
So you want the bots to exit the vehicle and go through the teleporter?
You might need to use a UnrealScriptedSequence to do that.
Not sure if this (http://udn.epicgames.com/Two/ScriptedSequenceActions#Scripted_Sequences_Tutorial_Acti) could help with those...

erg_the_caveman
15th Aug 2004, 07:53 AM
you could check which node they try to get to over the lava, and prohibit that path in the roadpathnode properties, or force the path to the teleporter?

GingerFlaps
15th Aug 2004, 10:52 AM
I'm assuming they want to use the teleport, but don't have the brains enough to get out of the vehicle beforehand. Not sure what you can do about that... Maybe you could make the teleport area inaccessible to vehicles by leaving out the road paths. Then if they wanted to go over there, they'd get out. In theory. ;)
Thanks for the idea, and yes your theory does work in practice, but I'd like to keep the teleport on the main roadpath.

GingerFlaps
15th Aug 2004, 11:42 AM
you could check which node they try to get to over the lava, and prohibit that path in the roadpathnode properties, or force the path to the teleporter?
Thanks for the idea... I changed the RoadPathNode to Proscribe the path to (destination) Teleporter, but the bots drive from the RoadPathNode to the (source) Teleporter and then drive to the (destination) Teleporter along the teleport path. :(

GingerFlaps
15th Aug 2004, 11:48 AM
So you want the bots to exit the vehicle and go through the teleporter?
You might need to use a UnrealScriptedSequence to do that.
Not sure if this (http://udn.epicgames.com/Two/ScriptedSequenceActions#Scripted_Sequences_Tutorial_Acti) could help with those...
It's starting to sound complicated; have you got this to work for you? ;)

erg_the_caveman
15th Aug 2004, 11:58 AM
erm, in a few cases quite similar i have yeah, but its kinda dodgy... erm, you could check that the (source) teleporter isnt a vehicle destination, and force that path? in theory it shud work but nufin works to theory...

GingerFlaps
15th Aug 2004, 12:36 PM
erm, in a few cases quite similar i have yeah, but its kinda dodgy... erm, you could check that the (source) teleporter isnt a vehicle destination, and force that path? in theory it shud work but nufin works to theory...
It's the only path the bots can take, and Teleporter->Navigationpoint->bVehicleDestination = False, but the bots ignore this setting because they hate me. :(
So... I put a JumpPad between the RoadPathNode and the (source) Teleport, which stops bots driving through the lava, but now they walk all the way to the JumpPad instead of driving to the nearest RoadPathNode. :mad:

erg_the_caveman
15th Aug 2004, 12:39 PM
yeah, erm, well there's gotta b sum scripting or mabe a hidden variable that tells the bots to get out? id have no idea tho, so yeah...

GingerFlaps
15th Aug 2004, 12:59 PM
yeah, erm, well there's gotta b sum scripting or mabe a hidden variable that tells the bots to get out? id have no idea tho, so yeah...
Do you know any scripting wiz that can help me out?

erg_the_caveman
15th Aug 2004, 01:00 PM
nope, i no jack about scripting, but there's probly a bit in the erm ?editing? forum group? or do a search or sumthin sos

maurice
18th Aug 2004, 10:14 AM
This may sound stupid but have you checked that the bots can get there *and* get back? If they can't, they won't try.

GingerFlaps
18th Aug 2004, 12:37 PM
This may sound stupid but have you checked that the bots can get there *and* get back? If they can't, they won't try.
It's a valid question... all paths are two-way.