Skip to content

Instantly share code, notes, and snippets.

@Aessi
Aessi / RaceGravity.Script.txt
Created April 23, 2019 15:34
Gravity map type
#Extends "MapTypes/TrackMania/Race.Script.txt"
***ValidationStart***
***
foreach (Player in AllPlayers) {
Player.GravityCoef = 0.1;
}
***
// Other labels are :
@Aessi
Aessi / Cup.Script.txt
Last active March 7, 2018 11:26
Logs cup scores, players and match ending conditions.
/**
* Cup mode
*/
#Extends "Modes/TrackMania/Base/RoundsBase2.Script.txt"
#Const CompatibleMapTypes "Race"
#Const Version "2018-03-07"
#Const ScriptName "Modes/TrackMania/Cup/Cup.Script.txt"
// ---------------------------------- //
@Aessi
Aessi / SMStormBattlePro1.txt
Created May 19, 2017 13:09
Battle matchsettings
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<script_name>Battle\BattlePro.Script.txt</script_name>
<title>SMStormBattle@nadeolabs</title>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration>
<disablerespawn>0</disablerespawn>
@Aessi
Aessi / xmlrpc_script_callbacks_methods.md
Last active April 5, 2017 16:39
XmlRpc script callbacks and methods

This is a temporary work in progress document. The real documentation will be updated soon.

XmlRpc script callbacks and methods listing moved here.

@Aessi
Aessi / TM2.Script.txt
Last active May 31, 2016 08:57
Fix give up issue
// ---------------------------------- //
/** Unspawn a racing player and send him in the outro sequence
*
* @param _Player The player to unspawn
* @param _DisplayScoresTable Display the scores table during the outro
*/
Void EndRace(CTmPlayer _Player, Boolean _DisplayScoresTable) {
if (_Player == Null) return;
declare LibTM2_SpawnStatus for _Player = C_SpawnStatus_Waiting;
@Aessi
Aessi / EliteArena.Script.txt
Created May 5, 2015 08:50
MapType for lobby maps.
/**
* MapType for Melee
*
* At least one spawn
*/
#RequireContext CSmMapType
#Const Version "2014-10-07"
#Const MapTypeVersion 1
#Const ScriptName "EliteArena.Script.txt"
@Aessi
Aessi / gist:6535331
Last active December 22, 2015 21:48
List of Elite script settings
#Setting S_UseScriptCallbacks False as "<hidden>" ///< Turn on/off the script callbacks, usefull for server manager
#Setting S_NeutralEmblemUrl "" as "<hidden>" ///< Replace the default neutral emblem by another one
#Setting S_Mode 0 as _("Mode 0: classic, 1: free") ///< Less restrictive mode for casual play
#Setting S_TimeLimit 60 as _("Attack time limit") ///< Time for an attack on a map
#Setting S_TimePole 15 as _("Capture time limit") ///< Time allowed to reach the pole by the end of the attack
#Setting S_TimeCapture 1.5 as _("Capture duration by pole") ///< Time to capture a pole for the attack clan (* NbPoles)
#Setting S_WarmUpDuration 90 as _("Warmup duration (0: disabled)") ///< Duration of the warmup
#Setting S_MapWin 2 as _("Number of maps to win a match") ///< How many maps a clan has to win to win the match
#Setting S_TurnGap 2 as _("Minimum points gap to win a map") ///< Points lead necessary to win a map
#Setting S_PracticeRoundLimit 8 as _("Default map tie-break start") ///< Maximum numb