Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .string bot_type;
- .void th_weight;
- .float(entity node, float len, entity item) th_cache;
- .void() th_update;
- .float istrigger;
- .float healtype;
- .float playerkills;
- .float playerdeaths;
- .float botkills;
- .float botdeaths;
- .float suicides;
- .vector lastseenpos;
- .float enemyrun;
- .float goody_time;
- .float strafetime;
- .float strafeonly;
- .void() strafethink;
- .float strafeyaw;
- .float strafedist;
- .entity movetarget2;
- .entity movetarget3;
- .entity movetarget4;
- .entity movetarget5;
- .entity movetarget6;
- .entity lastbot;
- .float lasttime;
- .float pather;
- .float pathtype;
- .float skil;
- .float rocketlen;
- .entity rocketcache;
- .float lightninglen;
- .entity lightningcache;
- .float armorlen;
- .entity armorcache;
- .float pendinglen;
- .entity pendingcache;
- .float naillen;
- .entity nailcache;
- .float grenadelen;
- .entity grenadecache;
- .float poweruplen;
- .entity powerupcache;
- .float enemylen;
- .entity enemycache;
- .float endpoint;
- .string teamname;
- float NORMALSCORE = 1;
- float MYSCORE = 2;
- float MUST_HAVE = 100;
- float WANT = 35;
- float KINDA_WANT = 20;
- float DONT_WANT = 0;
- float CANTURN = 1;
- float NOTURN = 2;
- float SEARCH_RADIUS = 600;
- float LOOPTIME = 20;
- float MAXPATHERS = 16;
- float DROPPED = 2;
- float CARRIED = 1;
- float NEVERTARGET = 3;
- float REGULARTARGET = 0;
- float TELEPORT = 4;
- float BOTS = 240;
- float TEAMBOTS = 3840;
- float RESTRICT = 4096;
- float SUPERRESTRICT = 8192;
- float TEAMFLAG = 16384;
- float INITLEVEL = 32768;
- float DEDICATED = 4194304;
- float LOCAL_TIME = 7;
- float STRAFE_DIR = 16;
- float FAR_SEEK = 32;
- float WATERUPDOWN = 64;
- float NODROP = 128;
- float RUNAWAY = 256;
- float GETGOODY = 512;
- float ONTRAIN = 1024;
- float MULTIENEMY = 2048;
- float VERBOSEBOT;
- float BOTSPEED;
- float NUMBOTS;
- float GRAVITY;
- float MAXJUMP;
- float INVGRENADELEVELDIST;
- float GRENADEMAXHEIGHT;
- float LEVELJUMPTIME;
- float NUMPATHS;
- float NUMGIBS;
- float NUMPATHERS;
- float SKINSMODE;
- float RECURSEDEPTH;
- vector REBOUNDSPOT;
- float REBOUND;
- float TELEFRAGFLAG;
- entity NOISEQUEUE;
- float HELPING;
- float NAMEBOTS;
- void (entity noisemaker, entity noiseobject) signalnoise;
- float (entity e) hearnoise;
- entity () noisetarget;
- .float attack_state;
- float (entity targ) Spotvisible;
- float (entity targ) Platvisible;
- float (vector spot) dropline;
- void () secret_touch;
- float (entity e) doorweight =
- {
- local float weight;
- weight = KINDA_WANT;
- if (e.owner.targetname)
- {
- weight = DONT_WANT;
- }
- else
- {
- if ((e.touch == secret_touch))
- {
- weight = KINDA_WANT;
- }
- else
- {
- if ((e.state == STATE_TOP))
- {
- weight = DONT_WANT;
- }
- else
- {
- if ((e.state == STATE_UP))
- {
- weight = KINDA_WANT;
- }
- }
- }
- }
- if (!Spotvisible (e))
- {
- weight = DONT_WANT;
- }
- return (weight);
- };
- float (entity e) buttonweight =
- {
- local float weight;
- weight = DONT_WANT;
- if ((e.state == STATE_BOTTOM))
- {
- if (Spotvisible (e))
- {
- weight = (KINDA_WANT + TRUE);
- }
- }
- return (weight);
- };
- float (entity e) platweight =
- {
- local float weight;
- weight = KINDA_WANT;
- if (!Platvisible (e))
- {
- if (!Spotvisible (e))
- {
- weight = DONT_WANT;
- }
- }
- return (weight);
- };
- float (entity e) trigpushweight =
- {
- local float weight;
- local vector spot;
- local vector org;
- weight = DONT_WANT;
- org = ((e.absmin + e.absmax) * 0.5);
- org_z = (e.absmin_z + TRUE);
- spot = org;
- spot_z = self.origin_z;
- traceline (self.origin, spot, TRUE, self);
- if ((trace_fraction == TRUE))
- {
- traceline (spot, org, TRUE, self);
- if ((trace_fraction == TRUE))
- {
- spot_z = dropline (org);
- if ((self.absmin_z > spot_z))
- {
- spot_z = self.absmin_z;
- }
- if ((org_z < (((self.maxs_z - self.mins_z) + spot_z) + MAXJUMP)))
- {
- weight = KINDA_WANT;
- }
- }
- }
- return (weight);
- };
- float (entity e) triggerweight =
- {
- local float weight;
- local float rnd;
- weight = (KINDA_WANT - FL_SWIM);
- rnd = random ();
- if ((rnd < 0.25))
- {
- weight = WANT;
- }
- if (!Spotvisible (e))
- {
- weight = DONT_WANT;
- }
- return (weight);
- };
- float (entity e) backpackweight =
- {
- local float lnd;
- local float weight;
- weight = WANT;
- lnd = pointcontents ((e.absmin + '0 0 1'));
- if ((e.items & (IT_ROCKET_LAUNCHER + IT_LIGHTNING)))
- {
- weight = (MUST_HAVE - TRUE);
- }
- if (((lnd == CONTENT_LAVA) || (lnd == CONTENT_SLIME)))
- {
- weight = DONT_WANT;
- }
- return (weight);
- };
- float (entity e) healthweight =
- {
- local float weight;
- weight = WANT;
- if ((self.health < 60))
- {
- weight = (MUST_HAVE - TRUE);
- }
- else
- {
- if ((e.healtype == FL_SWIM))
- {
- weight = MUST_HAVE;
- }
- else
- {
- if ((self.health > 99))
- {
- weight = DONT_WANT;
- }
- }
- }
- return (weight);
- };
- float (entity e) nailweight =
- {
- local float weight;
- weight = (WANT - TRUE);
- if ((self.ammo_nails > 199))
- {
- weight = DONT_WANT;
- }
- else
- {
- if ((self.ammo_nails > 120))
- {
- weight = (KINDA_WANT - FL_SWIM);
- }
- }
- return (weight);
- };
- float (entity e) shellweight =
- {
- local float weight;
- weight = (WANT - TRUE);
- if ((self.ammo_shells > 99))
- {
- weight = DONT_WANT;
- }
- else
- {
- if ((self.ammo_shells > 50))
- {
- weight = (KINDA_WANT - FL_SWIM);
- }
- }
- return (weight);
- };
- float (entity e) cellweight =
- {
- local float weight;
- weight = WANT;
- if ((self.ammo_cells > 99))
- {
- weight = DONT_WANT;
- }
- return (weight);
- };
- float (entity e) rocketweight =
- {
- local float weight;
- weight = WANT;
- if ((self.ammo_rockets > 99))
- {
- weight = DONT_WANT;
- }
- return (weight);
- };
- float (entity e) rlauncherweight =
- {
- local float weight;
- weight = (WANT + FL_SWIM);
- if (!(self.items & IT_ROCKET_LAUNCHER))
- {
- weight = MUST_HAVE;
- }
- return (weight);
- };
- float (entity e) lightningweight =
- {
- local float weight;
- weight = (WANT + FL_SWIM);
- if (!(self.items & IT_LIGHTNING))
- {
- weight = MUST_HAVE;
- }
- return (weight);
- };
- float (entity e) glauncherweight =
- {
- local float weight;
- weight = (WANT + TRUE);
- if (!(self.items & IT_GRENADE_LAUNCHER))
- {
- weight = (MUST_HAVE - TRUE);
- }
- return (weight);
- };
- float (entity e) nailgunweight =
- {
- return (WANT);
- };
- float (entity e) supernailweight =
- {
- local float weight;
- weight = (WANT + TRUE);
- if (!(self.items & IT_SUPER_NAILGUN))
- {
- weight = (MUST_HAVE - TRUE);
- }
- return (weight);
- };
- float (entity e) ssgweight =
- {
- return (WANT);
- };
- float (entity e) armorweight =
- {
- local float weight;
- weight = (e.armorvalue - self.armorvalue);
- return (weight);
- };
- float (entity e) artifactweight =
- {
- local float weight;
- weight = (MUST_HAVE + FL_SWIM);
- if ((e.classname == "item_artifact_envirosuit"))
- {
- weight = WANT;
- }
- return (weight);
- };
- float (entity node, float len, entity item) cacherocket =
- {
- if ((node.rocketlen > FALSE))
- {
- if ((len >= node.rocketlen))
- {
- return (FALSE);
- }
- }
- node.rocketlen = len;
- node.rocketcache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cachelightning =
- {
- if ((node.lightninglen > FALSE))
- {
- if ((len >= node.lightninglen))
- {
- return (FALSE);
- }
- }
- node.lightninglen = len;
- node.lightningcache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cachearmor =
- {
- if ((node.armorlen > FALSE))
- {
- if ((len >= node.armorlen))
- {
- return (FALSE);
- }
- }
- node.armorlen = len;
- node.armorcache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cachenail =
- {
- if ((node.naillen > FALSE))
- {
- if ((len >= node.naillen))
- {
- return (FALSE);
- }
- }
- node.naillen = len;
- node.nailcache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cachegrenade =
- {
- if ((node.grenadelen > FALSE))
- {
- if ((len >= node.grenadelen))
- {
- return (FALSE);
- }
- }
- node.grenadelen = len;
- node.grenadecache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cachepowerup =
- {
- if ((node.poweruplen > FALSE))
- {
- if ((len >= node.poweruplen))
- {
- return (FALSE);
- }
- }
- node.poweruplen = len;
- node.powerupcache = item;
- return (TRUE);
- };
- float (entity node, float len, entity item) cacheenemy =
- {
- if ((node.enemylen > FALSE))
- {
- if ((len >= node.enemylen))
- {
- return (FALSE);
- }
- }
- node.enemylen = len;
- node.enemycache = item;
- return (TRUE);
- };
- void () updaterocket =
- {
- self.rocketcache = self.pendingcache;
- self.rocketlen = self.pendinglen;
- };
- void () updatelightning =
- {
- self.lightningcache = self.pendingcache;
- self.lightninglen = self.pendinglen;
- };
- void () updatearmor =
- {
- self.armorcache = self.pendingcache;
- self.armorlen = self.pendinglen;
- };
- void () updatepowerup =
- {
- self.powerupcache = self.pendingcache;
- self.poweruplen = self.pendinglen;
- };
- void () updatenail =
- {
- self.nailcache = self.pendingcache;
- self.naillen = self.pendinglen;
- };
- void () updategrenade =
- {
- self.grenadecache = self.pendingcache;
- self.grenadelen = self.pendinglen;
- };
- .float items2;
- float IT2_SIGIL1 = 32;
- float IT2_SIGIL2 = 64;
- float IT2_SIGIL3 = 128;
- float IT2_SIGIL4 = 256;
- .float crouch, attemptcrouch;
- float sys_ticrate;
- .float altweap; // Alternate weapon
- .float gtimer; // Grenade timer
- .float stamina; // Sprint mod
- .float walkvalue;
- .float runvalue;
- .float sprint_finished;
- .float walktime;
- .float runtime;
- float (string mname) SpawnWeatherForMap;
- void (vector tdest, float tspeed, void() func) SUB_CalcMove;
- void (entity ent, vector tdest, float tspeed, void() func) SUB_CalcMoveEnt;
- void (vector destangle, float tspeed, void() func) SUB_CalcAngleMove;
- void () SUB_CalcMoveDone;
- void () SUB_CalcAngleMoveDone;
- void () SUB_Null;
- void () SUB_UseTargets;
- void () SUB_Remove;
- void (entity targ, entity inflictor, entity attacker, float damage) T_Damage;
- float (entity e, float healamount, float ignore) T_Heal;
- float (entity targ, entity inflictor) CanDamage;
- .float lastteam;
- .float flag_since;
- .float last_returned_flag;
- .float last_fragged_carrier;
- .float last_hurt_carrier;
- .float observer;
- .float do_observer;
- float ITEM_RUNE1_FLAG = 1;
- float ITEM_RUNE2_FLAG = 2;
- float ITEM_RUNE3_FLAG = 4;
- float ITEM_RUNE4_FLAG = 8;
- float ITEM_RUNE_MASK = 15;
- float ITEM_ENEMY_FLAG = 16;
- float TEAM_STUFF_COLOR = 32;
- .float oldskin;
- .float path_1;
- .float path_2;
- .float crosshair;
- .float crosshairtype;
- .float motd_time;
- .float motd_count;
- .float suicide_count;
- .float killed;
- float bot_dump;
- .float imhooked;
- .float reserve;
- .float pattern;
- .float repeat;
- .string repeated;
- .float timing;
- .float nextjump;
- .float ideal_pitch;
- .float current_pitch;
- .float swing;
- .float attacked;
- .vector turn;
- .float previous_weapon;
- float gamestart;
- float red_stockpile;
- float blue_stockpile;
- .float voted;
- void (string gibname, float dm) Throw_Powerup;
- void () globe_think;
- void () torch_touch;
- void () fire_touch;
- void () NextLevel;
- void () UnHookPlayer;
- void (string st) BotSayTeam;
- void (float num_bubbles) DeathBubbles;
- void (float zdist) BotFireHookUpRandomly;
- void () set_suicide_frame;
- float FRIEND_BASE = 0;
- float ENEMY_BASE = 1;
- float PLAYER_NO_TARGET = 1;
- float PLAYER_USING_CAMERA = 2;
- float PLAYER_ALWAYS_ESCORT = 4;
- float CAMPING_TIME = 120;
- float ESCORT_TIME = 120;
- float BOT_FIGHTING = 1;
- float BOT_MOVING = 2;
- float BOT_STANDING = 3;
- float BOT_ATTACK = 1;
- float BOT_DEFEND = 2;
- float BOT_ROAM = 3;
- float NUM_HOOKS;
- float WATERCOLOR;
- float waypoint_idle;
- float hook_use_enabled;
- float bots_have_normal_names;
- float smooth_move;
- float map_has_waypoints;
- float debug_markers_visible;
- float bot_chatter_off;
- float bot_chatter_rated_g;
- float next_bot_num;
- float temp1;
- float bot_debug;
- float next_bot_red;
- float next_bot_blue;
- float current_red_waypoint;
- float current_blue_waypoint;
- float current_waypoint;
- float spawning_waypoints;
- float spawning_general_waypoints;
- entity wp_first_red;
- entity wp_last_red;
- entity wp_first_blue;
- entity wp_last_blue;
- entity wp_first_general;
- entity wp_last_general;
- .entity wp_chain;
- .float last_status_bar_update;
- float last_flag_pickup;
- float last_flag_capture;
- float last_capture_team;
- float last_pickup_team;
- float last_order_time_team1;
- float last_order_time_team2;
- float level_over_time;
- .float shirt_color;
- .float observer_flags;
- .float disable_triggers;
- .float toggle_ents_time;
- .float bot_wants_item;
- .float escort_time;
- .float hook_snag_time;
- .float last_say;
- .float noticed_item_time;
- .float next_waypoint_time;
- .float trigger_search_time;
- .float help_teammate_time;
- .float getoutofwater_time;
- .float find_enemy_time;
- .float find_item_time;
- .float watermove_time;
- .float last_kill_time;
- .entity last_kill_ent;
- .float last_die_time;
- .entity last_die_ent;
- .float last_follow_spawn;
- .float num_follows;
- .entity follow_head;
- .entity follow_tail;
- .entity follow_prev;
- .entity follow_next;
- .vector current_velocity;
- .float current_evade_yaw;
- .vector camping_spot;
- .float camping_time;
- .float last_see_camp_ent;
- .float bot_blocked;
- .float bsort;
- .float bot_ignore_until_time;
- .float bot_ignore_team;
- .float large_dist_pulse;
- .float bogus_start;
- .float dynamically_created;
- .float spawn_time;
- .float stuck_count;
- .float enemy_team;
- .float last_weapon_shot;
- .float hooked_on_someone;
- .entity bot_enemy;
- .float bot_plan;
- .float games;
- .float playtime;
- .entity debug_marker;
- .entity camping_entity;
- .entity escort_entity;
- .string save_model;
- .float enemy_notice_time;
- .vector bot_aim;
- .string altname;
- .string botname;
- .float rune_drop_time;
- .float last_rune;
- .float bot_action;
- .float old_waterlevel;
- .float old_watertype;
- .vector spawnorigin;
- .float fire_hook_immediately;
- .float simulated_client;
- .float clientcolors; // colors of the bot_client (format: pants + shirt * 16)
- .entity inaccessible_entity;
- .float get_item_stuck_count;
- float num_inaccessible_entities;
- .float inaccessible_count;
- .float spawntime;
- .float bot_skill;
- .float large_dist_pulse_items;
- .float bsk_next_pulse_time;
- .float bsk_next_pulse_time_items;
- .float bsk_extra_large_pulse_dist;
- .float bsk_extra_awareness_dist;
- .float bsk_extra_jump_chance;
- .float bsk_move_while_firing;
- .float bot_skill_inverse;
- .float bsk_evade_chance;
- .float bsk_bot_fov;
- .float bsk_reaction_time;
- .float bsk_skill_lin1;
- .float bsk_skill_lin2;
- .float bsk_skill_lin3;
- float large_pulse_dist_base;
- float awareness_dist_base;
- float item_large_pulse_dist_base;
- float item_awareness_dist_base;
- float large_pulse_dist;
- float awareness_dist;
- float item_large_pulse_dist;
- float item_awareness_dist;
- .vector gib_velocity;
- .float lastweapon_shot;
- .entity last_carrier;
- .float flag_toss_time;
- .float explore_item_num;
- .string explore_item_name;
- .float waypoint_num;
- .float shoot_triggers;
- float use_extra_move_frame;
- .void() extramove_oldthink;
- .float extramove_yaw;
- .float extramove_dist;
- .float extramove_lastframewasextra;
- float use_norse_movetogoal = 0;
- float last_camera_update = 0;
- float auto_camera_view;
- float auto_fov_control;
- entity cur_camera_watch_ent;
- entity last_camera_ent;
- float orig_flag1_health;
- float orig_flag2_health;
- entity goal_winner;
- entity quadtrain;
- entity lastspawn; // Tekno, updated holds last known position a player or bot spawned in....that was not world.
- entity TEAM1HEAD;
- entity TEAM2HEAD;
- entity COPPHEAD;
- entity STARTHEAD;
- entity DMHEAD;
- entity TELEHEAD;
- float INTERMISSIONS;
- .float CamState;
- .entity scan; // Tekno for scanning through camera locaitons
- .float button_debounce;
- float registered;
- .float nextfootstep;
- .float num_kills;
- .float num_deaths;
- .float num_suicides;
- .float num_captures;
- .float num_pickups;
- .float num_recovery;
- .float num_assists;
- .float num_bonus;
- .float suspicious_about_time;
- .vector suspicious_about;
- .float best_wep;
- .float ITbest_wep;
- float TEAM_NORSE_MOVEMENT = 32768;
- float TEAM_NOSELFHURT = 4096;
- .string talkname;
- string nextmap;
- .float cshift; // Tekno sets fade out and fade in status
- .float cshift_num; // Value stuffed during fade in and fadeout effect
- .float sex;
- void () BotSayGoodGame;
- void () RemoveAllBots;
- void () checkyaw;
- void () Bot_Attack;
- float () FireHookAtBestOutOfWaterWaypoint;
- void () wall_look;
- float (entity targ) BotCanSeePlayer;
- float () MaybeFightFlagCarrier;
- entity ( entity targ) BotCanSeePlayerFollow;
- void () CheckGiveUpCamping;
- void () StopFighting;
- float () MaybeGoToTempWaypoint;
- float () MaybeTryNotToDrown;
- float () MaybeGetItems;
- float () SetSpecialGoals;
- float () MaybeGetOutOfWater;
- float (float force_search) MaybeShootTriggers;
- float () MaybeFireHook;
- void () NothingToDo;
- void () patternchange;
- .float use_defensive_way;
- float botmastermind;
- float MAX_BOTS_TO_PRINT = 20;
- float TEAM_PRINT_DELAY = 45;
- float teamScorePrintTime;
- float timer_flag;
- float TEMP1_MULTI = 1;
- float TEMP1_YCAM = 2;
- float TEMP1_FRAGASCAPTURE = 4;
- float TEMP1_USEDEFWAYS = 16;
- float TEMP1_AUTOLEVEL = 32;
- float TEMP1_LOADMOD = 64;
- float TEMP1_BOTAUTOPLAN = 128;
- float TEMP1_SUPPORT_PLAYER2 = 256;
- float TEMP1_SUPPORT_PLAYER3 = 512;
- float TEMP1_SUPPORT_PLAYER4 = 1024;
- float TEMP1_AUTO_EVEN_TEAMS = 2048;
- float TEMP1_PLAYER2SOUNDS = 4096;
- float TEMP1_PLAYER3SOUNDS = 8192;
- float TEMP1_PLAYER4SOUNDS = 16384;
- float TEMP1_HALFLIGHT = 32768;
- float TEMP1_NOMESS = 65536;
- float intermission_running;
- float intermission_exittime;
- float captures_blue;
- float captures_red;
- float modelindex_eyes;
- float modelindex_player;
- float modelindex_playerf;
- float modelindex_player2;
- float modelindex_player3;
- float modelindex_player4;
- float modelindex_bot;
- float DM_REGULAR = 1;
- float DM_WEAPONS_STAY = 2;
- float DM_NO_HEALTH = 4;
- float DM_NO_ARMOR = 8;
- float DM_NO_ITEMS = 16;
- float DM_DROP_QUAD = 32;
- float DM_DROP_RING = 64;
- float DM_NO_FALLING = 128;
- float DM_INFINITE_AMMO = 256;
- float DM_FIXED_FOV = 512;
- float DM_SPAWN_RANDOM = 1024;
- float DM_START_SMALL = 2048;
- float DM_START_BIG = 4096;
- float DM_SECRET_DOOR = 8192;
- float DM_NORUNES = 16384;
- float DM_FASTPLATS = 32768;
- float DM_NO_POWERUPS = 65536;
- void () MOTD_ChooseTeam;
- float qqbot;
- float qtr_1;
- float qtr_3;
- .float fChasing;
- // Creepcam stuff
- float modelindex_head;
- float numberofclients;
- .float client_;
- entity first_client;
- float FL_CREEPCAM = 8388608;
- .entity next;
- vector start;
- entity viewport;
- .entity clink;
- float PF_FIRSTPERSON = 1;
- .float creepflags;
- entity first_creepcam;
- .entity previous;
- .float player_;
- float PF_NONAMES = 16;
- float SVC_CENTERPRINT = 26;
- float enter = 10;
- float space = 32;
- float quote = 34;
- float minus = 45;
- float _0 = 48;
- float _1 = 49;
- float _2 = 50;
- float _3 = 51;
- float _4 = 52;
- float _5 = 53;
- float _6 = 54;
- float _7 = 55;
- float _8 = 56;
- float _9 = 57;
- float colon = 58;
- float _A = 65;
- float _B = 66;
- float _C = 67;
- float _D = 68;
- float _E = 69;
- float _F = 70;
- float _G = 71;
- float _H = 72;
- float _I = 73;
- float _J = 74;
- float _K = 75;
- float _L = 76;
- float _M = 77;
- float _N = 78;
- float _O = 79;
- float _P = 80;
- float _Q = 81;
- float _R = 82;
- float _S = 83;
- float _T = 84;
- float _U = 85;
- float _V = 86;
- float _W = 87;
- float _X = 88;
- float _Y = 89;
- float _Z = 90;
- float _a = 97;
- float _b = 98;
- float _c = 99;
- float _d = 100;
- float _e = 101;
- float _f = 102;
- float _g = 103;
- float _h = 104;
- float _i = 105;
- float _j = 106;
- float _k = 107;
- float _l = 108;
- float _m = 109;
- float _n = 110;
- float _o = 111;
- float _p = 112;
- float _q = 113;
- float _r = 114;
- float _s = 115;
- float _t = 116;
- float _u = 117;
- float _v = 118;
- float _w = 119;
- float _x = 120;
- float _y = 121;
- float _z = 122;
- float tilde = 126;
- float backspace = 127;
- .float block0;
- .float block1;
- .float block2;
- .float block3;
- .float block4;
- float character;
- float block_;
- .float button0;
- .float button1;
- .float button2;
- float BUTTON0 = 1;
- float BUTTON2 = 2;
- float NOT_BUTTON0 = 16777214;
- float NOT_BUTTON2 = 16777213;
- entity creep_self;
- float SVC_SETVIEWPORT = 5;
- entity non_viewport;
- float takedamage_exists;
- entity test_enemy;
- entity first_takedamage;
- void (string name, float botteam, float bskill) QBotCreate;
- .float search_time
- void () set_player_main_index =
- {
- if (((self.sex == DM_WEAPONS_STAY) && (temp1 & TEMP1_SUPPORT_PLAYER2)))
- {
- self.modelindex = modelindex_playerf;
- }
- else
- {
- if (((self.sex == 3) && (temp1 & TEMP1_SUPPORT_PLAYER3)))
- {
- self.modelindex = modelindex_player3;
- }
- else
- {
- if (((self.sex == DM_NO_HEALTH) && (temp1 & TEMP1_SUPPORT_PLAYER4)))
- {
- self.modelindex = modelindex_player4;
- }
- else
- {
- if (self.classname == "bot" && self.sex != 2)
- self.modelindex = modelindex_bot;
- else
- self.modelindex = modelindex_player;
- }
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement