mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-29 23:22:55 +00:00
252 lines
6.6 KiB
C
252 lines
6.6 KiB
C
|
/*
|
||
|
===========================================================================
|
||
|
Copyright (C) 2006 Dmn_clown (aka: Bob Isaac (rjisaac@gmail.com))
|
||
|
|
||
|
This file is part of Open Arena and is based upon Mr. Elusive's fuzzy logic
|
||
|
system found in Quake 3 Arena.
|
||
|
|
||
|
Open Arena is free software; you can redistribute it
|
||
|
and/or modify it under the terms of the GNU General Public License as
|
||
|
published by the Free Software Foundation; either version 2 of the License,
|
||
|
or (at your option) any later version.
|
||
|
|
||
|
Open Arena is distributed in the hope that it will be
|
||
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with Foobar; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||
|
===========================================================================
|
||
|
*/
|
||
|
|
||
|
chat "Liz"
|
||
|
{
|
||
|
//the teamplay.h file is included for all kinds of teamplay chats
|
||
|
#include "teamplay.h"
|
||
|
//======================================================
|
||
|
//======================================================
|
||
|
type "game_enter" //initiated when the bot enters the game
|
||
|
{
|
||
|
HELLO1;
|
||
|
// 0 = bot name
|
||
|
// 1 = random opponent
|
||
|
// 4 = level's title
|
||
|
} //end type
|
||
|
type "game_exit" //initiated when the bot exits the game
|
||
|
{
|
||
|
GOODBYE1;
|
||
|
GOODBYE0;
|
||
|
// 0 = bot name
|
||
|
// 1 = random opponent
|
||
|
// 4 = level's title
|
||
|
} //end type
|
||
|
type "level_start" //initiated when a new level starts
|
||
|
{
|
||
|
HELLO2;
|
||
|
|
||
|
// 0 = bot name
|
||
|
} //end type
|
||
|
type "level_end" //initiated when a level ends and the bot is not first and not last in the rankings
|
||
|
{
|
||
|
3, " sucks!";
|
||
|
2, ", I let you win.";
|
||
|
|
||
|
// 0 = bot name
|
||
|
// 1 = random opponent
|
||
|
// 2 = opponent in first place
|
||
|
// 3 = opponent in last place
|
||
|
// 4 = level's title
|
||
|
} //end type
|
||
|
type "level_end_victory" //initiated when a level ends and the bot is first in the rankings
|
||
|
{
|
||
|
LEVEL_END_VICTORY0;
|
||
|
LEVEL_END_VICTORY1;
|
||
|
|
||
|
// 0 = bot name
|
||
|
// 1 = random opponent
|
||
|
// 3 = opponent in last place
|
||
|
// 4 = level's title
|
||
|
} //end type
|
||
|
type "level_end_lose" //initiated when a level ends and the bot is last in the rankings
|
||
|
{
|
||
|
2, " must be an Arena Lord.";
|
||
|
1, " kept getting in my way.";
|
||
|
4, " has never been good to me.";
|
||
|
// 0 = bot name
|
||
|
// 1 = random opponent
|
||
|
// 2 = opponent in first place
|
||
|
// 4 = level's title
|
||
|
} //end type
|
||
|
//======================================================
|
||
|
//======================================================
|
||
|
type "hit_talking" //bot is hit while chat balloon is visible; lecture attacker on poor sportsmanship
|
||
|
{
|
||
|
DEATH_TALKING;
|
||
|
// 0 = shooter
|
||
|
// 1 = weapon used by shooter
|
||
|
} //end type
|
||
|
type "hit_nodeath" //bot is hit by an opponent's weapon attack but didn't die; either praise or insult
|
||
|
{
|
||
|
"Try harder next time.";
|
||
|
"Wuss";
|
||
|
"Heh, you suck.";
|
||
|
// 0 = shooter
|
||
|
// 1 = weapon used by shooter
|
||
|
} //end type
|
||
|
type "hit_nokill" //bot hits an opponent but does not kill it
|
||
|
{
|
||
|
HIT_NOKILL0;
|
||
|
HIT_NOKILL1;
|
||
|
// 0 = opponent
|
||
|
} //end type
|
||
|
type "enemy_suicide" //enemy of the bot commits suicide
|
||
|
{
|
||
|
"LOL!";
|
||
|
// 0 = enemy
|
||
|
} //end type
|
||
|
//======================================================
|
||
|
//======================================================
|
||
|
type "death_telefrag" //initiated when the bot is killed by a telefrag
|
||
|
{
|
||
|
DEATH_TELEFRAGGED0;
|
||
|
DEATH_TELEFRAGGED1;
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
type "death_cratered" //initiated when the bot is killed by taking "normal" falling damage
|
||
|
{
|
||
|
DEATH_FALLING0;
|
||
|
|
||
|
// 0 = random opponent
|
||
|
} //end type
|
||
|
type "death_lava" //initiated when the bot dies in lava
|
||
|
{
|
||
|
"It burns!";
|
||
|
"land conservation";
|
||
|
DEATH_SUICIDE0;
|
||
|
DEATH_SUICIDE1;
|
||
|
// 0 = random opponent
|
||
|
} //end type
|
||
|
type "death_slime" //initiated when the bot dies in slime
|
||
|
{
|
||
|
DEATH_SLIME0;
|
||
|
DEATH_SLIME1;
|
||
|
// 0 = random opponent
|
||
|
} //end type
|
||
|
type "death_drown" //initiated when the bot drowns
|
||
|
{
|
||
|
"I can't swim!";
|
||
|
|
||
|
|
||
|
// 0 = random opponent
|
||
|
} //end type
|
||
|
type "death_suicide" //initiated when bot blows self up with a weapon or craters
|
||
|
{
|
||
|
"Aww crap!";
|
||
|
"Shutup!";
|
||
|
"I meant to do that.";
|
||
|
DEATH_SUICIDE2;
|
||
|
DEATH_SUICIDE1;
|
||
|
|
||
|
|
||
|
// 0 = random opponent
|
||
|
} //end type
|
||
|
type "death_gauntlet" //initiated when the bot is killed by a gauntlet attack
|
||
|
{
|
||
|
"D'oh!";
|
||
|
DEATH_GAUNTLET0;
|
||
|
DEATH_GAUNTLET1;
|
||
|
// 0 = enemy name
|
||
|
// 1 = weapon used by enemy (NOTE: always set to Gauntlet)
|
||
|
} //end type
|
||
|
type "death_rail" //initiated when the bot is killed by a rail gun shot
|
||
|
{
|
||
|
DEATH_INSULT0;
|
||
|
DEATH_INSULT5;
|
||
|
// 0 = enemy name
|
||
|
// 1 = weapon used by enemy (NOTE: always set to Railgun)
|
||
|
} //end type
|
||
|
type "death_bfg" //initiated when the bot died by a BFG
|
||
|
{
|
||
|
DEATH_BFG0;
|
||
|
DEATH_BFG2;
|
||
|
// 0 = enemy name
|
||
|
// 1 = weapon used by enemy (NOTE: always set to BFG10K)
|
||
|
} //end type
|
||
|
type "death_insult" //insult initiated when the bot died
|
||
|
{
|
||
|
DEATH_INSULT2;
|
||
|
DEATH_INSULT0;
|
||
|
// 0 = enemy name
|
||
|
// 1 = weapon used by enemy
|
||
|
} //end type
|
||
|
type "death_praise" //praise initiated when the bot died
|
||
|
{
|
||
|
|
||
|
D_PRAISE0;
|
||
|
D_PRAISE1;
|
||
|
// 0 = enemy name
|
||
|
// 1 = weapon used by enemy
|
||
|
} //end type
|
||
|
//======================================================
|
||
|
//======================================================
|
||
|
type "kill_rail" //initiated when the bot kills someone with rail gun
|
||
|
{
|
||
|
KILL_RAIL1;
|
||
|
KILL_RAIL0;
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
type "kill_gauntlet" //initiated when the bot kills someone with gauntlet
|
||
|
{
|
||
|
"LOL!";
|
||
|
"Too easy";
|
||
|
|
||
|
|
||
|
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
type "kill_telefrag" //initiated when the bot telefragged someone
|
||
|
{
|
||
|
"LOL!";
|
||
|
TELEFRAGGED2;
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
type "kill_insult" //insult initiated when the bot killed someone
|
||
|
{
|
||
|
KILL_INSULT4;
|
||
|
KILL_INSULT2;
|
||
|
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
type "kill_praise" //praise initiated when the bot killed someone
|
||
|
{
|
||
|
PRAISE0;
|
||
|
PRAISE1;
|
||
|
// 0 = enemy name
|
||
|
} //end type
|
||
|
//======================================================
|
||
|
//======================================================
|
||
|
type "random_insult" //insult initiated randomly (just when the bot feels like it)
|
||
|
{
|
||
|
"Your breath stinks";
|
||
|
"Get off your dead butt and something for a change.";
|
||
|
"Life got you down? Give it up.";
|
||
|
// 0 = name of randomly chosen player
|
||
|
// 1 = name of the last player killed by this bot
|
||
|
// 4 = level's title
|
||
|
// 5 = random weapon from weapon list
|
||
|
} //end type
|
||
|
type "random_misc" //miscellanous chats initiated randomly
|
||
|
{
|
||
|
|
||
|
GUYTALK1;
|
||
|
GRRLTALK0;
|
||
|
// 0 = name of randomly chosen player
|
||
|
// 1 = name of the last player killed by this bot
|
||
|
// 4 = level's title
|
||
|
// 5 = random weapon from weapon list
|
||
|
} //end type
|
||
|
} //end chat
|
||
|
|