Code: Show/Hide [Flag]
; client-side stuff FlaggerOnRadar=1 FlaggerKillMultiplier=2 FlaggerGunUpgrade=0 FlaggerBombUpgrade=0 FlaggerFireCostPercent=100 FlaggerDamagePercent=100 FlaggerBombFireDelay=0 FlaggerSpeedAdjustment=0 FlaggerThrustAdjustment=0 CarryFlags=1 FlagDropDelay=25000 FlagDropResetReward=0 EnterGameFlaggingDelay=0 FlagBlankDelay=200 NoDataFlagDropDelay=500 ; new server settings GameType = $FLAGGAME_BASIC FlagCount = 20 FlagReward=15000 SplitPoints=0 ResetDelay=1440000 FriendlyTransfer=0 SpawnX = 512 SpawnY = 512 SpawnRadius = 100 DropRadius = 2 NeutRadius = 10 DropOwned = 1 NeutOwned = 0 |
Code: Show/Hide #define GOALMODE_MAP(F) \
F(GOAL_ALL) \ F(GOAL_LEFTRIGHT) \ F(GOAL_TOPBOTTOM) \ F(GOAL_CORNERS_3_1) \ F(GOAL_CORNERS_1_3) \ F(GOAL_SIDES_3_1) \ F(GOAL_SIDES_1_3) DEFINE_ENUM(GOALMODE_MAP) DEFINE_FROM_STRING(goalmode_val, GOALMODE_MAP) #define MAXFREQ CFG_SOCCER_MAXFREQ #define MAXGOALS CFG_SOCCER_MAXGOALS typedef struct GoalAreas { int upperleft_x; // coord of first tile in upper-left int upperleft_y; // corner int width; // guess int height; // .. for now just a rectangular approximation =P int goalfreq; // owner freq of goal } GoalAreas; struct ArenaScores { int mode; // stores type of soccer game, 0-6 by default int stealpts; // 0 = absolute scoring, else = start value for each team int cpts, reward, winby; int score[MAXFREQ]; // score each freq has GoalAreas goals[MAXGOALS]; // array of goal-defined areas for >2 goal arenas }; /* prototypes */ local void MyGoal(Arena *, Player *, int, int, int); local void MyAA(Arena *, int); #if 0 local int IdGoalScored(int, int, int); #endif local int RewardPoints(Arena *, int); local void CheckGameOver(Arena *, int); local void ScoreMsg(Arena *, Player *); local void Csetscore(const char *, const char *,Player *, const Target *); local void Cscore(const char *, const char *, Player *, const Target *); local void Cresetgame(const char *, const char *, Player *, const Target *); local helptext_t setscore_help, score_help, resetgame_help; |
Code: Show/Hide base
+arenas |+(public) ||+arena.conf |+klinko ||+arena.conf ||+klinko.lvl |
Code: Show/Hide [ Misc ]
SeeEnergy = $SEE_TEAM SpecSeeEnergy = $SEE_ALL [ Modules ] ; this key holds the names of the modules that will take effect in this ; arena. typical things to put here are modules for scoring, special ; game types, flag guards, etc. AttachModules = \ fm_normal \ points_kill \ points_flag \ points_goal \ buy flagcore \ koth \ flags \ fg_wz \ ; separate out settings for flags and balls into separate files #include flags.conf #include balls.conf |