palota
Moderators-
Posts
96 -
Joined
-
Last visited
-
Days Won
57
Content Type
Forums
Profiles
Events
Gallery
Downloads
Articles
Everything posted by palota
-
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.
-
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.
-
Do you have any waypoints for the winterbase map ?
-
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.
-
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.
-
Question about team_WOLF_objective
palota replied to Mateos's topic in Omnibot - Development, Discussion & Support
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")) -
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.
-
Omnibot connecting issue
palota replied to hellreturn's topic in Omnibot - Development, Discussion & Support
It may be a bug in ET:Legacy. -
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.
-
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.
-
RIDE goal not taken after assigning a role
palota replied to Mateos's topic in Omnibot - Development, Discussion & Support
You have to set numbots in the Map.Roles table. -
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.
-
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.
-
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_91_ET.zip, which contains binaries, scripts and waypoints. File omni-bot_0_91_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_91_RTCW.zip from GitHub. It contains scripts, waypoints and binaries. It is compatible with the latest version of iortcw.