Jump to content

palota

Moderators
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    53

Everything posted by palota

  1. Kicking bots is the worst approach. It's just a workaround. Of course it would be better to fix this bug it in the mods. But many mods like NoQuarter and Jaymod are finished and abandoned.
  2. We need to test it on some popular public server with enough active players.
  3. I tried to fix it by kicking connecting bots. But I can't test it because I don't have a dedicated server. You can get the new version from Assembla SVN. It's in file et/scripts/goals/goal_selectweapons.gm.
  4. Omni-bot wiki has been moved to https://mygamingtalk.com/wiki/OMNIBOT_-_Enemy_Territory_Modification
  5. noclip works only if cheats are enabled. To enable cheats, you must start a map with devmap command instead of map command. English is easy to learn. Programming languages are hard to learn. Wildwest beach is similar to mp_beach. I would recommend to look into file mp_beach.gm to find some inspiration. Engineer try to plant a dynamite on the nearest waypoint. If the nearest waypoint is behind the wall, they cannot get to it and fail. You should move the waypoints near the beach wall. You must create a CAPPOINT goal at the mine cart where the gold has to be delivered. Why there is usepath property at the waypoints near the mine cart ? You should never use usepath, it is obsolete. If you remove it, then bots can go downstairs to the gold.
  6. Hi, I never used OB_DMS. I use keyboard shortcuts for everything. You can bind keys to Omni-bot commands in your server config. bind KP_INS "bot addbot" bind KP_DEL "bot kickall" bind g "bot sag" bind = "set timescale 9" bind - "set timescale 1" bind BACKSPACE "noclip" You can also define your custom commands in file omni-bot/rtcw/scripts/rtcw_autoexec_user.gm Commands["wc"] = function(_params) { ExecCommand("waypoint_addflag crouch"); }; Commands["g"] = function(_params) { ExecCommand("goal_create " + _params[0] + " " + _params[1]); }; Commands["gp"] = function(_params) { arg = _params[0]; if (tableCount(_params) > 1) { arg += " " + _params[1]; } ExecCommand("goal_setproperty " + arg); }; Commands["nav"] = function(_params) { if(_params[0]==null){ ExecCommand("waypoint_clearproperty paththrough"); } else{ ExecCommand("waypoint_setproperty paththrough Navigation_PT:" + _params[0]); } }; Bots need a gm script in order to know what to do. Have you read the wiki ? If you already made some waypoints, please post them here.
  7. You have to edit the build goal: /bot goal_setproperty vehicle MOVER_tank
  8. Oops, there are 2 doors. The upper door is accessible only by trick jump or cheating. The lower door switch position is Vec3(-2277, -521, 292).
  9. The waypoint radius is not important. You have to adjust aim position. AimPosition = Vec3(-2277, -521, 484) Then you can also decrease sleep(3) to sleep(2.5) in LowerGeneratorDoor_Moving.
  10. Do you have any waypoints for the winterbase map ?
  11. Which map is it ? Covert ops can use a door only if there is a waypoints connection with a navigation flag "disguised". They cannot go through a door if there is a navigation flag axis/allies.
  12. The boat initially spawns in a secret room at coordinates (-5730, 1664, -1218). Then it is moved to the river after one time frame. I fixed the mlb_egypt.gm script.
  13. 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.
  14. 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.
  15. 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"))
  16. 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.
  17. The problem is caused by a line Util.RemoveGoal( "PLANT_Main_Radiomast" ) which is in OnMapLoad.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
  23. 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...