palota
-
Posts
111 -
Joined
-
Last visited
-
Days Won
67
Reputation Activity
-
palota got a reaction from Mateos in Roles - Having n bot taking a role and all the other bots taking an other one automatically
I updated goal_rolemanager.gm now so that you can use AllBots=true to assign all other bots to that role:
Roles = { ALLIES = { AllBots = true, DEFENDER1 = { numbots = 2, }, DEFENDER2 = { numbots = 2, AllBots = true, }, }, },
-
palota got a reaction from vargatom in omnibot not starting
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.
-
palota got a reaction from vargatom in EntityIsValid
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.
-
-
palota got a reaction from vargatom in Stop Bot
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.
-
-
-
-
-
-
palota got a reaction from vargatom in Infinite energy for engineers or ...
You can set g_engineerChargeTime
-
palota got a reaction from Mateos in Mobile mortar bot not going for in-range available AMMOCAB when out of ammo
You increased the range of the MORTAR goal. But you have to increase the range of the AMMOCAB goal which is only 1250.
AMMOCAB_main_ammocabinet = { CreateOnLoad = 0, GoalType = "AMMOCAB", Position = Vec3(1512.000, 939.000, 516.000), Range = 1250, TeamAvailability = 6, },
-
palota got a reaction from vargatom in ENTFLAG.CARRYINGGOAL
The chosen botToKill is never an engineer because botToKill has goal FLAG, but engineer has goal PLANT.
-
palota got a reaction from vargatom in ENTFLAG.CARRYINGGOAL
foreach(g in Util.GoalTable("FLAGRETURN.*")) { Util.MapDebugPrint("Position " + g.GetPosition()); }
-
palota got a reaction from vargatom in ENTFLAG.CARRYINGGOAL
It does not count dead players because dead players cannot carry anything. But you can get distance to a dropped object from a FLAGRETURN goal.
foreach(g in Util.GoalTable("FLAGRETURN.*")) { d = DistanceBetween(g, Vec3(-1824, 2115, 4)); Util.MapDebugPrint("Distance " + d); }
-
palota got a reaction from vargatom in ENTFLAG.CARRYINGGOAL
for ( i = 0; i < 64; i += 1 ) { if ( EntityIsValid(i) && GetEntFlags(i, ENTFLAG.CARRYINGGOAL) ){ d = DistanceBetween(i, Vector3(-1824, 2115, 4)); Util.MapDebugPrint("Distance " + d); } }
-
palota got a reaction from Mateos in Path through switch - Delay between map trigger and OB script trigger
Here's my solution: voilegarde_b3.gm
-
palota got a reaction from Mateos in RTCW Waypointing/Goals menu
I uploaded new omnibot mod binaries for Windows 32bit to my Google drive.
-
palota got a reaction from Mateos in RTCW Waypointing/Goals menu
I will increase MAX_MENUS from 64 to 128 in the next Omnibot mod version.
-
palota got a reaction from MickyP in RTCW Waypointing/Goals menu
I uploaded new omnibot mod binaries for Windows 32bit to my Google drive.
-
palota got a reaction from MickyP in RTCW Waypointing/Goals menu
I will increase MAX_MENUS from 64 to 128 in the next Omnibot mod version.
-
palota got a reaction from PuNkReAS in RTCW Waypointing/Goals menu
I have just moved commands stuckstart, stucknext, saveplayerpos, saveusepoint, warpanybot, warptogoaloffset, cleargoalflags from et to global_scripts so that they can be used both in ET and RTCW.
-
palota got a reaction from Mateos in mlb_daybreak
It's a bug in the legacy mod since version 2.76. It happens on all maps with multiple MG42s. The same problem is on goldrush map. I created an issue on Github.
-
palota got a reaction from Mateos in RTCW Waypointing/Goals menu
Hi
Those commands were not coded into RTCW mod. I added them to GitHub now. They will be included in the next Omni-bot version.
Will you make any waypoints for RTCW ?
-
palota got a reaction from Mateos in RTCW Waypointing/Goals menu
I have just moved commands stuckstart, stucknext, saveplayerpos, saveusepoint, warpanybot, warptogoaloffset, cleargoalflags from et to global_scripts so that they can be used both in ET and RTCW.