palota
Moderators-
Posts
111 -
Joined
-
Last visited
-
Days Won
67
Content Type
Forums
Profiles
Events
Gallery
Downloads
Articles
Everything posted by palota
-
About GRENADE and WatchForProjectile
palota replied to Mateos's topic in Omnibot - Development, Discussion & Support
Good morning, Which map is it ? Does the target entity have health information which could be used to calculate exact amount of grenades needed to destroy it ? We can't ignore EVENT.ENT_ENTER_RADIUS if distance is greater than AvoidRadius. If a bots is moving towards a grenade or a grenade is moving towards a bot, then the event is triggered once at distance 400. If you want bots to go to ammo cabinets, you can change priority: global OnBotJoin = function( bot ) { wpn = bot.GetWeapon(WEAPON.ALLY_GRENADE); if(wpn) { wpn.PrimaryFire.LowAmmoPriority = 0.82; } }; -
omnibot not starting
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
That wiki page was written 20 years ago. Maybe DrEvil did it. -
omnibot not starting
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
Why don't you use the PrintScreen key or Snipping tool to make screenshots ? There must not be "=" in server.cfg. You have to delete = after set omnibot_path. -
Request about the concept of Range
palota replied to Mateos's topic in Omnibot - Development, Discussion & Support
It would be too slow to search waypoints network every second for every bot. You can set a role for the goal and then assign the role to bots in triggers. -
0x1005a is number 90 converted to hexadecimal. You can use command /entitylist which prints all entities and their script names and target names. GetEntityByName searches target names. Where can we download pk3 file of this map ?
-
Where can we download pk3 file of this map ? You should never use entity numbers because they depend on mods. You should use GetEntityByName instead of GetGameEntityFromId. If the entity does not have any name, then you can use TraceLine. Functions GetEntityByName and GetGameEntityFromId return null if the entity is invalid. Correct condition is: if(ent1) { print("Entity is valid"); } You must not use GetEntTeam in OnExit because it returns null if a player disconnected. Players can also change team when they are inside the region. See wiki how to count players in a region.
-
You cannot query the current stamina.
-
This is not related to bots. The same problem happens if you watch human players. There are a lot of bugs in the omnibot mod because it is based on the original game from year 2001. The spectator stamina is displayed correctly in newer mods (legacy, nitmod, noquarter, silent). It does not work in jaymod and etpub.
-
gm scripts are case-sensitive. There must be Goto, not GoTo. Why didn't you copy the function from this page and paste it into your script (Ctrl+C, Ctrl+V) ?
-
The end of EvalFunc }, should be on line 79 after return, not on line 86.
-
Navigation = { stop = { EvalFunc = function() { return !this.StopTime || GetTime()-this.StopTime > 2; }, navigate = function() { this.Goto(this.Bot.GetPosition()); sleep(3); this.StopTime = GetTime(); }, }, },
-
Use Paththrough Navigation Navigation = { stop = { navigate = function() { this.Goto(this.Bot.GetPosition()); sleep(3); }, }, }, /bot waypoint_setproperty paththrough Navigation_PT:stop
-
After the wp_check command you can use commands /bot wt DUPE1; /bot wt DUPE2 etc.
-
Covertops should be smarter?
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
You can use INFILTRATOR role for goals that are available only for disguised covertops. You can use detonatespot property for a place to trigger the explosion. -
It is intended. It's written on the wiki: Any goal that has a role defined will be ignored by bots that do not have the same role defined. If you have goals with a role available for both teams, then you have to assign that role to both teams. Or you can duplicate the goals and have one goal for Axis and the second goal for Allies.
-
Infinite energy for engineers or ...
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
You can set g_engineerChargeTime -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
You must run ET as administrator if you have installed it in C:\Program Files (x86). It needs admin rights to extract DLL files from omnibot_et.pk3. -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
That bot cvar is stored in some of your config files or in profiles subfolder. You have to find it and delete it. -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
The unset command requires ET version 2.71 or later. Current ET version is 2.82. You can also try to execute command \bot (without parameters). If it prints a value of the bot variable, then you can search it in your config files and delete it. -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
Try command \unset bot -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
Do you have the last version of both Omni-bot library (omnibot_et.dll) and the mod (cgame_mp_x86.dll) ? \gamedate "gamedate" is: "Jun 14 2024" \bot version Omni-Bot : Jun 26 2024 17:00:59 Version : 0.91 Interface # : 17 -
waypoints are not visible
palota replied to vargatom's topic in Omnibot - Development, Discussion & Support
Look into the console. Are there any error messages ?