Jump to content

palota

Moderators
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    53

Posts 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.
  1. 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.

  2. 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.

×
×
  • Create New...