Jump to content

palota

Moderators
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    52

Reputation Activity

  1. Like
    palota got a reaction from Mateos in Bot glitching with a specific PLANT goal on Ruins of Acquiesce   
    That ruins32.gm script is for old Omni-bot version 0.71. The Map.Switches table does not work since Omni-bot 0.8. and has to be converted to SWITCH goals. The MOVER_tank goal should be removed. But the most critical bug is that all priorities are extremely high. Priorities of normal high level goals should never be greater than 0.9.
  2. Like
    palota got a reaction from Mateos in Handling debugtrigger-less button temporarily disabled once used   
    You can create a region trigger for any player who is near the button. But it is not possible to detect if the player pressed the button or not.
  3. Like
    palota got a reaction from Mateos in Question about team_WOLF_objective   
    These entities don't have an AABB, but they have a position.
    GetEntPosition(102) It's not recommended to use entity IDs, because they can depend on mods. It's better to use entity names.
    GetEntPosition(GetEntityByName("Axis_wobj"))  
  4. Like
    palota got a reaction from hellreturn in Giving a goal shared by the 2 teams a role just for 1 team   
    You can create new custom BUILD and PLANT goals for Axis and then restrict neutral goals to Allies. But it is too much complicated. I think it would be better to set a goal range instead of role. Range is useful so that bots don't go to the goal if they are too far away from it.
    Bots get roles only on map load or when they change team (if balancing is enabled) or when some bot disconnects. You can't change roles dynamically.
  5. Like
    palota got a reaction from Mateos in Giving a goal shared by the 2 teams a role just for 1 team   
    You can create new custom BUILD and PLANT goals for Axis and then restrict neutral goals to Allies. But it is too much complicated. I think it would be better to set a goal range instead of role. Range is useful so that bots don't go to the goal if they are too far away from it.
    Bots get roles only on map load or when they change team (if balancing is enabled) or when some bot disconnects. You can't change roles dynamically.
  6. Like
    palota got a reaction from hellreturn in Omnibot connecting issue   
    It may be a bug in ET:Legacy.
  7. Like
    palota got a reaction from Mateos in Weird issue with a PLANT goal of wolfsrudel_final   
    The problem is caused by a line Util.RemoveGoal( "PLANT_Main_Radiomast" ) which is in OnMapLoad.
  8. Like
    palota got a reaction from Mateos in GetGameState returning Playing while the game is paused   
    The GameState enumeration is common for all games. Each game has its own states. Enemy Territory and RTCW do not support Paused, Scoreboard and Suddendeath.
     
  9. Like
    palota got a reaction from Mateos in Cycling through players checking if they're alive   
    Function OnExit can be called after a player switched team or disconnected. There are too many maps with this "team switch bug". I fixed it in the fueldump map today.
    GameMonkey scripts have simple cooperative multitasking. Threads can be switched only at sleep or yield. That's why no locks or mutexes are needed.
     
  10. Like
    palota got a reaction from Mateos in Cycling through players checking if they're alive   
    Cycle through all players may be slow, so I would recommend to create a trigger region. Then define some table in your script to store all players who are in the region. Add a player to the table in OnEnter and remove him from the table in OnExit. Then build a loop to go through players in that table and count only those who have Util.GetEntHealth(ent)>0.
     
  11. Like
    palota got a reaction from Ray_Wolf in !resetmyxp   
    N!tmod uses configuration file levels.db. You have to add resetmyxp to flags for level 0.
    ********** level = 0 name = flags = help listplayers admintest time records gibme about stats spec resetmyxp You can use command !help to view all available commands. If the command !help does not exist, you must also set cvar n_SQLiteDBPath. See the tutorial.
  12. Like
    palota got a reaction from Ray_Wolf in !resetmyxp   
    XP save is a mod feature. Which mod do you use ? Every mod has its own config and cvars. For example, NoQuarter requires to enable flag M for level 0 in file shrubbot.cfg.
  13. Like
    palota got a reaction from hellreturn in How to download Omni-bot   
    Enemy Territory
    If you use ET:Legacy, it is very easy because it automatically downloads and installs Omni-bot.
    You can also download ZIP package from the GitHub. You can extract it to any folder and then set omnibot_path cvar.
    Most users need to download only one file omni-bot_0_90_ET.zip, which contains binaries, scripts and waypoints.
    File omni-bot_0_90_ET_waypoint_mod.zip is the omnibot mod which can be used to create waypoints and goals. If you just want to play the game, it's better to install another mod (legacy, silEnT, n!tmod, Jaymod, NoQuarter, etpub, ...).
    The latest development version is available in the SVN repository. You can use TortoiseSVN to checkout http://svn.assembla.com/svn/omnibot/Enemy-Territory/0.8/ If it asks for login credentials, you can enter anything (for example username: x, password: x).
     
    Return to Castle Wolfenstein
    Download file omni-bot_0_90_RTCW.zip from GitHub. It contains scripts, waypoints and binaries. It is compatible with the latest version of iortcw.
     
  14. Like
    palota got a reaction from Mateos in How to download Omni-bot   
    Enemy Territory
    If you use ET:Legacy, it is very easy because it automatically downloads and installs Omni-bot.
    You can also download ZIP package from the GitHub. You can extract it to any folder and then set omnibot_path cvar.
    Most users need to download only one file omni-bot_0_90_ET.zip, which contains binaries, scripts and waypoints.
    File omni-bot_0_90_ET_waypoint_mod.zip is the omnibot mod which can be used to create waypoints and goals. If you just want to play the game, it's better to install another mod (legacy, silEnT, n!tmod, Jaymod, NoQuarter, etpub, ...).
    The latest development version is available in the SVN repository. You can use TortoiseSVN to checkout http://svn.assembla.com/svn/omnibot/Enemy-Territory/0.8/ If it asks for login credentials, you can enter anything (for example username: x, password: x).
     
    Return to Castle Wolfenstein
    Download file omni-bot_0_90_RTCW.zip from GitHub. It contains scripts, waypoints and binaries. It is compatible with the latest version of iortcw.
     
  15. Like
    palota got a reaction from Ray_Wolf in How to download Omni-bot   
    Enemy Territory
    If you use ET:Legacy, it is very easy because it automatically downloads and installs Omni-bot.
    You can also download ZIP package from the GitHub. You can extract it to any folder and then set omnibot_path cvar.
    Most users need to download only one file omni-bot_0_90_ET.zip, which contains binaries, scripts and waypoints.
    File omni-bot_0_90_ET_waypoint_mod.zip is the omnibot mod which can be used to create waypoints and goals. If you just want to play the game, it's better to install another mod (legacy, silEnT, n!tmod, Jaymod, NoQuarter, etpub, ...).
    The latest development version is available in the SVN repository. You can use TortoiseSVN to checkout http://svn.assembla.com/svn/omnibot/Enemy-Territory/0.8/ If it asks for login credentials, you can enter anything (for example username: x, password: x).
     
    Return to Castle Wolfenstein
    Download file omni-bot_0_90_RTCW.zip from GitHub. It contains scripts, waypoints and binaries. It is compatible with the latest version of iortcw.
     
×
×
  • Create New...