AI script help for SP map


(StormShadow) #1

Can anyone tell me whats wrong with my script? Or at least with this portion of it?

deathmonkey
{
attributes
{
aim_accuracy 0.5
aim_skill 0.75
attack_skill 0.6
inner_detection_radius 1024
alertness 2500
hearing_scale 0.3
inner_detection_radius 640
}

spawn
    {
    }

trigger deathmonkey_2
{
runtomarker x1
runtomarker x2
runtomarker x3
runtomarker x4
walktomarker x5
}

death
    {
    objectivemet 1
    }

}

My main problem is that after he is killed, the objective is supposed to have been met. But if I walk to the end of the map, the end map info that usually pops up on the screen and displays stats, etc, doesnt show. It shows before i shoot him (and tells me i havent completed an objective) but after he is killed it says nothing.[/quote]


(Enforcer) #2

what you did was you made him(bot) display the objectives info by putting objectivemet 1 in the ai part. You have to make a level end area and place that objectivemet 1 in the script.

Look for some tuts on www.wolfensteinx.com/surface they might have some. Or you can try www.planetwolfenstein.com/tramdesign

Ooops found it http://www.planetwolfenstein.com/tramdesign/tutorials/tut_sptutorial.html
go there and look at that tut. Its pretty much what i think your looking for.