Agetian on 5/3/2005 at 19:05
Hey, does anyone know how to add fighting creatures (for example, guards) to the map so that they function correctly? Whenever I add a guard it has no weapon, and whenever I come close to him in the game he doesn't want to fight (and kind of asks for mercy). Please, help me if you can...
Thanks in advance.
- Agetian
Eshaktaar on 5/3/2005 at 19:31
Did you build the Navigation Mesh? It's the second button of the top group left of the joystick symbol. Without it AIs won't do much, I suppose.
Krypt on 5/3/2005 at 19:57
Open your actor browser and go to Pawn>AIPawn>T3AIPawn>T3AIPawnHumanCombat. Any AI you drop in there should try to attack you when they see you. Anything in T3AIPawnCreature except the ambient creatures will come after you as well, I believe.
Mandrake on 5/3/2005 at 21:37
Quote Posted by Krypt
Open your actor browser and go to Pawn>AIPawn>T3AIPawn>T3AIPawnHumanCombat. Any AI you drop in there should try to attack you when they see you. Anything in T3AIPawnCreature except the ambient creatures will come after you as well, I believe.
I think by default the City Thugs (or is it City Pirates ?) don't try to attack you unless you attack them first. (Unless there is a bunch of different factions around, and they all get into a fighting frenzy, then they all come after you :laff: )
The "default" faction alliances seem to be there automatically, for example thugs and citywatch wont fight each other unless provoked, treebeasts wont fight pagans, hammers and pagans will immediately go after each other etc.
Unfortunately as soon as the fighting starts it degenerates into a big free for all just like it does in Stonemarket proper later in the game...and of course Garrett gets the blame for all this...
I havn't seen a problem where guards start without weapons though... just plonking one of the combat AI's into a box shaped room works for me...
Agetian on 6/3/2005 at 04:24
Hmm... Weird. I've tried out a lot of actors from the Human Combat classes and they don't work properly (they don't have weaponry and they stand in just one spot, begging for mercy as soon as they see me). I tried building the navigation mesh and rebuilding everything as well, it didn't help.
Am I supposed to equip them somehow? Or set the waypoints or patrol markers somehow? Does anyone have more extensive info about the subject?
Thanks in advance.
- Agetian
Agetian on 6/3/2005 at 05:32
I've tested it some more, and the situation is very weird. Whenever I launch the map with my editor version of Thief 3 (hit the "Joystick" button or use t3 MapName to start the game), all the creatures flee immediately when they see me (even in original maps).
Whenever I go back to my REAL (non-editor) installation of Thief 3 and load the map, everything is normal (creatures attack me).
Is there any reason for this behavior of the editor? Is there any way to make the creatures attack me so that I can test the AI in my map?
Thanks in advance.
- Agetian
Mandrake on 6/3/2005 at 07:33
Quote Posted by Agetian
I've tested it some more, and the situation is very weird. Whenever I launch the map with my editor version of Thief 3 (hit the "Joystick" button or use t3 MapName to start the game), all the creatures flee immediately when they see me (even in original maps).
Whenever I go back to my REAL (non-editor) installation of Thief 3 and load the map, everything is normal (creatures attack me).
Is there any reason for this behavior of the editor? Is there any way to make the creatures attack me so that I can test the AI in my map?
Thanks in advance.
- Agetian
Sounds like something is corrupt in your editor installation. I've never seen this happen before with the debug version of the game...
Agetian on 6/3/2005 at 10:34
IMPORTANT FIND: I've found out that if you have an option "WriteResourceBlockFiles" (which generates IBT files) turned on, for some reason it makes all creatures afraid of you, so no one attacks you and flees immediately. If you turn the option off or comment it out, everything reverts back to normal (the AIs act as they're supposed to). At least that's how it works for me. Therefore, I think it's wise to keep the WriteResourceBlockFiles option turned off while you're designing a level and only turn it on when you need to produce an IBT file.
- Agetian