![]() |
Re: Waypointing
I was just playing around with waypoiting tonite and also came aross this prob- bots do not fire at each other. this is what happened, I was trying to waypoint a map and only mapped out a small section of the map (with allies/axis dynamite plant/defuse goal set up plus bunch other camp actions). I saved the waypoint file and load up the map. add about 6 bots to each team. they go to perform actions and goals fine (allies can plant, axis defuse) but when they meet each other, they dont shoot even if in a close range except a couple bots are shooting. dont know why..?
|
Re: Waypointing
btw, I had only a nav file...nothing else done yet like map aiscript etc..just want to do a quick nav file test.
|
Re: Waypointing
try adding an aiscript with just the headers:
Code:
bot_SightDist <dist> // How far the highest skill bot can see on this map (2000 - 3000 normally) |
Re: Waypointing
lordbeaver: I think Crapshoot has it, but you should also be aware that engineer behavior sometimes focuses them on building and dynamiting to the point that they avoid a fight.
- - - FINDING ENT NUMS stormer: if you can't find the entitiy numbers, first (after binding /viewent to a key) try moving back and forth, hitting viewent, and looking at the results in the console. Also try flying (spectating or /noclip) up, down and inside a bit. Now If you are looking for the entity number for the trigger_objective_info you can also use /configstrings. Now configstring's console output has a lot of text, but near the end of the output are lines that begin \e\ and have the name of the objects near the end of the line, say like this from et_village; Code:
... and compare that to /viewent; Code:
Begin scan 1 for entities............ http://www.geocities.com/cameronbr/U...lage_tois6.png (But be warned that in special cases with extra entities in custom script files Hobbits tool may be wrong, so always verify the bsp reader's output in the map with /viewent etc.) |
Re: Waypointing
thanks guys. it works great after setting the bot sightdist. :clap:
one more question, how do prevent the bots from jumping around too much while shooting? because I had a few camp actions set on the edge of say cliff. when the bots start to shoot, they jumped and chased off the edge and thus all fell to death. it was fun to watch for a while but got ridiculous as they repeat the same thing. I tried to change the node flags to 9 (walk) and it was better but when they jump shoot they again fell off to death. is there a command for bots to detect the potential falling trap ahead? thanx. |
Re: Waypointing
Wish there was, but when they fight they go off the waypoints. The way i handled it in the rafters of MML_Church was to limit the actions in the rafters to just snipers and panzers
, that way other classes would not be drawn to the risky area. Still the other classes did go to the third floor walkways sometimes and jump from there! But by the nature of that map and the waypointing less than 1 bot suicides per minute. If you can't keep the bots to a different location you could set up a brush to block the way down but that would not be very realistic. But if you are willing to get into it further, Crapshoot has worked on a new wiki topic on how to add an (invisible) brush to block things like exploits. Check it out. |
Re: Waypointing
Hey guys, I had a long break but now I'm back and I have more questions. First: I'm having trouble with bots shooting still. They camp and look at the aim (I made sure that the aim is on the same goal tracker so it's activated) but they don't shoot. This is only for a couple camp areas. Also, sometimes they just don't shoot at all. I know that engineers will not shoot sometimes if they are close to an objective but thats not even the case. Second: I understood the goal tracker and that actions have to be set to that goal tracker to be activated but what about action_groups. If I understand correctly if you set a action to a group lets say 1 and the goal is set on 0 then it will be activated when the goal tracker is on 0 and when it flips to 1 then it will still be activated. Thats what I got out of it and was wondering if this was correct. Third: If that is correct then same senario but it has a group number of 2 and goal 0. Will it activate on when the goal tracker is 0 and not when on 1 and then will be activated on when 2? Thanks guys
|
Re: Waypointing
Do you have bot_SightDistance set to a number like 2000 or so in your aiscript?
Have you studied the Wiki Goal Tracker article here? Action groups are used in the aiscript to manage a bunch of actions simultaneously. Groups have nothing to do with the goal tracker. |
Re: Waypointing
I think I know where Stormer is getting confused. In Fritzbot ET the group ID is strictly a way to control action from the aiscript. This is because it is best to use the goal tracker as little as possible in most ET maps. (It can really confuse you in the testing stage when the goal tracker fights with the aiscript.) However in Fritzbot (RTCW) the action_group is tied to the goal tracker since the aiscript is more a backup to the goal tracker. The ET Wiki isn't quite at the point that we cover everything that is common between the 2 versions so we still recommend ET waypointers read the RTCW waypointing tutorial and then "unlearn" about a half dozen things that do not apply to Fritzbot ET. I have started a wiki topic comparing the different versions but it still isn't vetted yet by Mal or Crapshoot.
Definitely read the link Bindlestiff mentions. Crapshoot wrote it to help me when I confused something in one of my maps. Since then I have abandonned the goal tracker after goal 0 for ET maps. --- Most likely the bots sight is too low, but also make certain that the bots are not simply at the camp because of a roam or altroam that over laps. A bot at a roam that does not fight may be zombied. That happens because they have chosen an active action that they can not get to because of an obstruction (wall, team door etc.) or because they are badly wounded and the path to the action involves a leap node. (they can also zombie at other places in the map because an event happens in the game causing their chosen active action to become unpathable at that point). |
Re: Waypointing
How's Village coming along?
|
All times are GMT +2. The time now is 02:21. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.