I'm a newbie and am trying to create a single player map.
I put german soldiers into the map but they just stand around and won't attack.
Is there a key/value property I need to set for the soldiers? Or is it something else I'm doing wrong?
Thanks in advance for the help.
need help with ai
Moderator: Moderators
ummm... i may be wrong but don't you need to do this first:
With me doing this it worked without the test_ prefix and all. am i right in thinking this?[/quote]This is what i always thouht, i wrote this on another ppost to explain it:
Right click and add a trigger->multiple to your map. Position it so it is inside you info->player->start. Press 'n' (with the trigger->multiple selected) and input a key of 'target' and a value of 'badguy' (it can be anything, but it must match the setting you put on you ai, which we are coming to)
Now add your enemy, right click ai->german->wehrmact->soldier (or any in the ai menu, but it would be logical if they were german). Press 'i' (with the ai selected) and it should open a new window. You can set loads of cool stuff here, its options are explained in a AI Tips. But now all we want is the targetname field. Type 'badguy' and press enter, then press escape to exit the window. You should now see a red line from the ai to the trigger. As long as your ai has a gun (which it does by default, put you can change this by pressing 'i') it should shoot you when you play the map.
"We must become the change we want to see in the world" (Mahatma Gandhi)
Look here and read how the ai was created but yeah what jv said about having the map named test_blahblah.bsp is the big one. This tut should help you get em in there so you can start working with them.
http://users.1st.net/kimberly/tutorial/ai.htm
http://users.1st.net/kimberly/tutorial/ai.htm

-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
