Well... as the topic suggests... I would like to 'arm' my map with some Bots wich should mainly be static but otherwise sniping a certain area.
They should be kill-able though, only to respawn and get back to their sniping spot... wich lies in the spawn area.
It's an objective based map, where teams have to take possesion of a specific part of the map to become victorious...
Team spawn areas are to be NOT reachable for the other team, however to make sure not even one enemy gets through I need the Bot snipers...
So, what about it ? is this feasible ?
Bots 'guarding' spawn area...
Moderator: Moderators
you could do somethign like this.
long as i didnt leave anything out it should work. keep in mind you have to mess around with somefiles to get ai to work in multiplayer. also, all players count as american, so you gotta do more special stuff if you want him to only attack members of a certain team.
Code: Select all
that_bastard_guy:
local.getawayfromme = spawn german_waffenss_nco
local.getawayfromme.origin = $spawnhere.origin
local.getawayfromme gun "Mauser KAR 98D Sniper"
local.getawayfromme accuracy 90
local.getawayfromme leash 64
local.getawayfromme fixedleash 1
local.getawayfromme health 100
local.getawayfromme waittill death
thread that_bastard_guy
end
