redeclipse-conf

configuration and runit scripts for RedEclipse 1.6 (template)
git clone git://deadbeef.fr/redeclipse-conf.git
Log | Files | Refs | README

commit 95cb2ce961b75ffa402087020aadd36a13b0d176
Author: none <none>
Date:   Sun, 21 Jun 2020 08:48:26 +0000

initial commit

Diffstat:
Aamap.cfg | 84+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amaps.cfg | 29+++++++++++++++++++++++++++++
2 files changed, 113 insertions(+), 0 deletions(-)

diff --git a/amap.cfg b/amap.cfg @@ -0,0 +1,84 @@ +//Advanced Map Manager by Beha +//Under CC0 1.0 License <https://creativecommons.org/publicdomain/zero/1.0/> + +//Reset the map lists and preserve other variables +amap._versioncfgpreserve = [ + servermaster + sv_botmalenames sv_botfemalenames + sv_botmalevanities sv_botfemalevanities +] +looplist i $amap._versioncfgpreserve [ + local name + name = (format "amap._versioncfgpreserve_%1" $i) + alias $name $$i +] +exec config/version.cfg +looplist i $amap._versioncfgpreserve [ + local name + name = (format "amap._versioncfgpreserve_%1" $i) + $i $$name +] + +//Variables checked +//amap.<x> +//Other special variables are: disallow, general +amap._vars = "main capture defend king bomber hold race duel multi gladiator small medium large" + +//Modes covered under amap.general +amap._generalmodes = "main capture defend bomber" + +amap.small = (concat $amap.duel $amap.small) +amap.main = (concat $amap.duel $amap.main) +looplist i $amap._generalmodes [ + local name + name = (format "amap.%1" $i) + $name = (concat $$name $amap.general) +] + +//Create allowmaps from all other variables. +amap.allow = "" +looplist i $amap._vars [ + amap.allow = (concat $amap.allow $(format "amap.%1" $i)) +] + +//Loop through amap.<x>, assigning to the appropriate sv_ variable while ignoring duplicates. +amap._doset = [ + local name + local svname + name = (format "amap.%1" $arg1) + svname = (format "sv_%1maps" $arg1) + looplist i (getalias $name) [ + local val + val = $i + looplist j $$svname [ + if (=s $i $j) [ + val = "" + ] + ] + if (!=s $val "") [ + $svname (concat $$svname $val) + ] + ] +] + +//Assign amap variables to server, remove any disallowed maps. +looplist i (concat "allow" $amap._vars) [ + local svname + local tmp + amap._doset $i + svname = (format "sv_%1maps" $i) + tmp = "" + looplist j $$svname [ + local good + good = 1 + looplist k $amap.disallow [ + if (=s $j $k) [ + good = 0 + ] + ] + if (= $good 1) [ + tmp = (concat $tmp $j) + ] + ] + $svname $tmp +] diff --git a/maps.cfg b/maps.cfg @@ -0,0 +1,29 @@ +amap.disallow = [] + +amap.main = [acceleration affluence airborne alien_temple alpha alphacampaign arena-square arena-triangle arenay ares armiger bath battleschool bikinibottomnewerest biolytic blockfort campgrounds canals canyon capacitance CitadelLevel1 Coado colony contrenature convolution crater cutec deadsimple decay DestructionSite discontinuity divergence DIZ docks dropzone dune dutilitychristmas emission enyo equilibriumv2 erosion ferociav2 flux forge foundation fourplex futuresport grad hangar hostile IndoorArena institute interference LCD longestyard2k masscollider metalhead mirrors mist moon nivell octavus omaha oneiroi orgon oscillation parking pit plantation pressure processing pumpstation rats-re rats-re2 resonance river rooftop rs_jungle rs_lab rs_skyrock rs_space sand severs singularity_unamed spacetech sphierpinski starlibido stone symmetry syndicate tarnished TeleCen terrarium tower train trainyard transience trenches UN01 underwater unholy vacuum vault velocity venus vorticity Warground warp wind] + +amap.race = [2DHELL 2DHell2 2t_demo 3waysdown adventure aesonoid airtortures amplification Arbatrel argo beta bh_demo Black&White BlackWater-RR7 blink_m calslide1 capinox carve castle ceron5 climb collige ColorCool-RESMC1 Columns commstation confusion Construct-Jump Critic critic_2 cruelDozen cruiser cubeworld cubez cyanext die dark10-1 data DeathWater-LT3-sp deport DestroyedNature df_city-normal df_cubes-normal df_desert-normal df_expellam_normal df_fame-normal df_havoc_normal df_lodestar_normal df_maturate-normal df_outlet-normal df_quiker df_redrock-normal df_revilium_normal df_scetch df_velocita-normal Diesel discontinuity disharmony dr_mini dw_canal-normal dw_demo-normal dw_washout dytrix e1m1 escapefinal escapehardfinal EscapeUltima evening excavationc exiom exotic ExtremeRun-RR3 fastpass fastrace FlameRun-10mins ft-color-normal ghost_city GhostCity glassstation glasswall GlassWorld-RESMC1 Golden100 grid Grot haltrix Hander HaPi-normal HardCore hawk headcrash Heaven Heaven-ERE Heaven-IE Hidek holidays hot_r1 IceRoad-RR4 inverted ire iron ItsSlideTime-LR4-sp iwbte IWBTEHardestMapEverV1 1 ja_hotel jm_amnesia-normal jm_cosmo-normal jm_jungle-normal JumpingPlace-RR8 JumpMaze1-normal jumptastic ladderrace lagrace LavaFall lavafall-ere lavatortures lavaworld LongRoad lostb M1 M2 M3 mariolandpart2-sp markus massae maze13 maze_home Mechanism-RR5 Medium Menace mendal meridiem micro middlewater MiniRocks-sp misce Mono monochrome mystic-normal nabla nexumus nocroid NoobRace-RR6 NoobRace_2 obamaisacrook oblivion Obstacle1 obstacle2 OpenTrial opentrialext OrangeRun OrangeRun-8mins ParkourTraining Path PinkTrial platform platfrom Port port-018 practice-jump purifcation Pyrolis Quite qw_dm6 R7 race006-sp rainbows RD-LT34-sp reaction Recovery Red&White Red_White Relan RElax reservoir ReSMC1test RESMCtest2 restart revisit revisit-euphoria RollerCoaster-LT41-sp roundglassred Rox Saportage sawdust Sign simple sinai sinigal Skyfall skyintricacy skytur slide01-sp Slit sorn space Stabel steelrat sterile StoneRun-10mins Straining2 stven Sunset SunsetRace-RR2 Synergy-Normal temperature temple tenebris TestEE00 testee01 testee02den testroom1 testroom2 testroom3 tetris-race-sp TetrisRace-RR1 theDayAfter tonatiuh Torpidity torpidity-ere Torpidity-IE trespass trials-sp TronTime-LT37-sp TutorialConstruct twisted uberslide-sp upstairs vast vertigo-jump vrtraining01-ifp war_depot waterrun WhiteRocket WhiteRun-5mins X-rooms x1 x10 x11 x12 x13 x14 x15_smallrun-3mins x16 x17 x18 x19 x2 x20 x21 x22 x23 x3 x4 x5 x6 x7 x8 x9 Xilork] + +amap.capture = [acceleration airborne alien_temple alpha ares armiger bath battleschool biolytic blockfort canals canyon capacitance Coado colony contrenature convolution cosmic_pillars crater deadsimple DestructionSite divergence DIZ docks dropzone emission enyo equilibriumv2 erosion ferociav2 forge foundation fourplex futuresport grad hangar hostile IndoorArena institute interference LCD masscollider mirrors mist moon nivell octavus omaha orgon oscillation parking pit plantation pressure pumpstation resonance river rooftop sand severs singularity_unamed sphierpinski stone syndicate tarnished TeleCen terrarium trainyard trenches UN01 underwater unholy vacuum vault velocity venus vorticity Warground warp] + +amap.defend = [acceleration affluence airborne alpha ares armiger bath battleschool biolytic blockfort campgrounds canals canyon capacitance colony convolution crater cutec deadsimple DestructionSite discontinuity divergence DIZ docks dropzone dune dutilitychristmas emission enyo equilibriumv2 erosion ferociav2 foundation fourplex futuresport grad hangar hostile IndoorArena institute interference LCD masscollider mirrors mist moon nivell octavus omaha oscillation pit plantation pressure processing resonance rooftop sand severs singularity_unamed stone syndicate tarnished TeleCen terrarium tower trainyard trenches UN01 vault venus vorticity Warground warp] + +amap.king = [acceleration alpha ares bath battleschool biolytic blockfort campgrounds canals canyon capacitance colony crater DestructionSite divergence DIZ docks dune dutilitychristmas enyo equilibriumv2 forge foundation fourplex grad IndoorArena interference masscollider octavus pit pressure processing pumpstation rooftop stone syndicate tarnished TeleCen trainyard trenches vault venus Warground] + +amap.bomber = [acceleration affluence airborne alpha arenay ares blockfort canals canyon capacitance convolution crater DestructionSite divergence docks dutilitychristmas emission enyo equilibriumv2 erosion ferociav2 forge fourplex futuresport grad hostile IndoorArena interference masscollider mirrors mist nivell octavus oscillation pit plantation pressure pumpstation resonance river rooftop sand severs singularity_unamed stone syndicate tarnished TeleCen terrarium tower train trainyard trenches UN01 underwater vacuum vault velocity venus vorticity Warground warp] + +amap.hold = [affluence airborne alpha ares bath biolytic blockfort campgrounds canals canyon colony convolution crater cutec deadsimple decay docks dutilitychristmas emission enyo equilibriumv2 erosion fourplex futuresport hostile interference mist octavus pumpstation resonance severs singularity_unamed stone syndicate tarnished train vacuum vault velocity venus Warground warp] + +amap.multi = [airborne alien_temple arenay armiger battleschool bikinibottomnewerest blockfort canals capacitance Coado convolution deadsimple discontinuity emission ferociav2 foundation fourplex grad IndoorArena mirrors moon oscillation parking pressure severs singularity_unamed sphierpinski TeleCen trenches underwater velocity vorticity warp] + +amap.duel = [alpha arena-square arena-triangle arenay bath battleschool blockfort campgrounds canyon Coado Combat_dimension contrenature crater deadsimple DestructionSite DIZ docks dutilitychristmas flux foundation fourplex hideous interference LCD longestyard2k metalhead mist Murder nivell pit rats-re rats-re2 resonance rs_jungle rs_lab rs_skyrock rs_space sand starlibido stone symmetry tarnished transience unholy vacuum vault] + +amap.gladiator = [arena-square arena-triangle Combat_dimension contrenature descent-eclipse DIZ dutilitychristmas knot lagoon Murder rs_jungle rs_lab rs_skyrock rs_space] + +amap.small = [acceleration affluence alpha arena-square arena-triangle bath campgrounds canyon Coado Combat_dimension contrenature crater deadsimple descent-eclipse DestructionSite DIZ docks dutilitychristmas ferociav2 flux foundation fourplex interference knot lagoon LCD longestyard2k mist Murder nivell pit plantation processing rs_jungle rs_lab rs_skyrock rs_space sand starlibido stone symmetry syndicate TeleCen trainyard unholy vacuum vault] + +amap.medium = [acceleration affluence alien_temple alpha arenay ares battleschool biolytic blockfort campgrounds canyon capacitance cosmic_pillars crater cutec deadsimple DestructionSite discontinuity docks dutilitychristmas emission enyo equilibriumv2 erosion ferociav2 forge foundation fourplex futuresport grad hangar hideous hostile institute interference LCD masscollider metalhead mirrors mist octavus omaha oneiroi orgon processing pumpstation rats-re rats-re2 resonance river rooftop spacetech sphierpinski stone symmetry syndicate tarnished TeleCen terrarium tower train trainyard transience trenches UN01 velocity venus vorticity Warground warp] + +amap.large = [airborne alien_temple alphacampaign armiger battleschool bikinibottomnewerest biolytic canals capacitance CitadelLevel1 colony convolution cutec decay discontinuity divergence dune emission enyo equilibriumv2 erosion futuresport grad IndoorArena mirrors moon octavus orgon oscillation parking pressure rats-re rats-re2 rooftop severs singularity_unamed spacetech sphierpinski terrarium tower UN01 underwater vorticity] + +exec amap.cfg