Jump to content

palota

Moderators
  • Posts

    103
  • Joined

  • Last visited

  • Days Won

    63

Reputation Activity

  1. Like
    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.
  2. Like
    palota got a reaction from vargatom in Stop Bot   
    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) ?
     
  3. Like
    palota got a reaction from vargatom in Stop Bot   
    The end of EvalFunc }, should be on line 79 after return, not on line 86.
  4. Like
    palota got a reaction from vargatom in Stop Bot   
    Navigation = { stop = { EvalFunc = function() { return !this.StopTime || GetTime()-this.StopTime > 2; }, navigate = function() { this.Goto(this.Bot.GetPosition()); sleep(3); this.StopTime = GetTime(); }, }, },  
  5. Like
    palota got a reaction from vargatom in Stop Bot   
    Use Paththrough Navigation
    Navigation = { stop = { navigate = function() { this.Goto(this.Bot.GetPosition()); sleep(3); }, }, },  
    /bot waypoint_setproperty paththrough Navigation_PT:stop
  6. Like
    palota got a reaction from vargatom in wp_check   
    After the wp_check command you can use commands /bot wt DUPE1; /bot wt DUPE2 etc.
  7. Like
    palota got a reaction from vargatom in Infinite energy for engineers or ...   
    You can set g_engineerChargeTime
  8. Sad
    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, },  
  9. Like
    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.
  10. Like
    palota got a reaction from vargatom in ENTFLAG.CARRYINGGOAL   
    foreach(g in Util.GoalTable("FLAGRETURN.*")) { Util.MapDebugPrint("Position " + g.GetPosition()); }  
  11. Like
    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); }  
  12. Like
    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); } }  
  13. Thanks
    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
  14. Like
    palota got a reaction from Mateos in RTCW Waypointing/Goals menu   
    I uploaded new omnibot mod binaries for Windows 32bit to my Google drive.
  15. Like
    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.
  16. Thanks
    palota got a reaction from MickyP in RTCW Waypointing/Goals menu   
    I uploaded new omnibot mod binaries for Windows 32bit to my Google drive.
  17. Thanks
    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.
  18. Like
    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.
  19. Thanks
    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.
  20. Thanks
    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 ?
  21. Thanks
    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.
  22. Thanks
    palota got a reaction from hellreturn 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.
  23. Thanks
    palota got a reaction from MickyP 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.
  24. Thanks
    palota got a reaction from Mateos in Temporarily disable a specific bot shooting   
    If you need to suspend mortar shooting for a specific goal, you can try to change Map.DontShootMortar to this.MapGoal.DontShootMortar.
  25. Thanks
    palota got a reaction from Mateos in Temporarily disable a specific bot shooting   
    I committed modified goal_mobilemortar.gm to SVN, so it's available to all.
×
×
  • Create New...