Ai Questions
Posted: Sun Apr 13, 2003 3:17 am
I'm working on the finishing touches for my Spearhead level. It takes place on a moving train and is similar to a level form MOH Frontline. I have a couple of questions about how to do certain things with my AI:
1. What animations should I use if I want to make an AI sit down on a chair or the ground?
2. I have an allied soldier who I want to aim and fire at a particular spot.
This is what my script looks like for him:
level_start:
$cappy exec global/disable_ai.scr
$cappy aimat $enemy_1
while (isalive $enemy_1)
{
$cappy fire
wait .15
}
end
The allied soldier's bullets hit the right enemy but the soldier points his gun in the opposite direction. Is there any solution to this problem?
3. This may sound wierd, but is there any way to move a dead AI's corpse from one spot to another? I want to put a scripted event in my level where if you shoot a particular guy, he does a balcony death and falls off the train. The only problem is that when his dead body lands on the ground, it doesn't move with the rest of the scenery, it just sits at the same place where he died.
Any answers to these questiond will be a big help.
1. What animations should I use if I want to make an AI sit down on a chair or the ground?
2. I have an allied soldier who I want to aim and fire at a particular spot.
This is what my script looks like for him:
level_start:
$cappy exec global/disable_ai.scr
$cappy aimat $enemy_1
while (isalive $enemy_1)
{
$cappy fire
wait .15
}
end
The allied soldier's bullets hit the right enemy but the soldier points his gun in the opposite direction. Is there any solution to this problem?
3. This may sound wierd, but is there any way to move a dead AI's corpse from one spot to another? I want to put a scripted event in my level where if you shoot a particular guy, he does a balcony death and falls off the train. The only problem is that when his dead body lands on the ground, it doesn't move with the rest of the scenery, it just sits at the same place where he died.
Any answers to these questiond will be a big help.