speed of MP AI

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

speed of MP AI

Post by sg.Pepper »

Can i set runspeed of MP AI?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No :(
Image
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Post by sg.Pepper »

:(
And can i remove or spawn script_origin from script, for example: remove $alliesspawn.origin x y z, to disable or enable spawn at some place?
Grassy
First Lieutenant
Posts: 221
Joined: Sun Aug 22, 2004 11:36 am

Post by Grassy »

Not too sure if you can remove a spawn point, but you can always plonk a crate there to block it. This works but it's a bit messy :) Have done this on a stock map to force the use of new scripted in spawn points.
Grassy.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

If the spawnpoint has a targetname you can disable them or possibly delete them

$thetargetname disablespawn

and you can spawn spawnpoints do it at the top of the script before level waittill prespawn

main:

level.spawn[1] = spawn info_player_allied
level.spawn[1].origin = ( ?? ?? ??)
level.spawn[1].angles = ( ?? ?? ??)

level.spawn[2] = spawn info_player_axis
level.spawn[2].origin = ( ?? ?? ??)
level.spawn[2].angles = ( ?? ?? ??)

level waittill prespawn
...
...
level waittill spawn
...
...
end

and some where in a thread maybe you can use these

level.spawn[1] disablespawn
level.spawn[2] disablespawn

level.spawn[1] enablespawn
level.spawn[2] enablespawn

You can also do it with targetnames the same way only thing is alot of the stock maps do not have spawnpoints with targetnames . I guess for those maps you have to block the spawnpoints . You can get the coords of them if you open the bsp in wordpad and use the find button and find info_player_allied and info_player_axis they will be in a part of the bsp that is in plain text .
Image
sg.Pepper
Second Lieutenant
Posts: 152
Joined: Tue Jan 13, 2004 2:47 pm
Location: Czrch Republic
Contact:

Post by sg.Pepper »

ok,
thanks
Post Reply