clarify the purpose of DEVMODE

This commit is contained in:
loop 2025-10-14 22:40:27 +01:00
parent ec82170d04
commit 3e82474303

View file

@ -5,7 +5,7 @@
// url: https://github.com/tribes2/SkillSector // url: https://github.com/tribes2/SkillSector
// Allows you to modify AimTrain placeholder entities. // Allows you to modify AimTrain placeholder entities.
// Don't leave it on or AimTrain will be a bunch of statues that do nothing. // Leave it on when editing the map, leave it off when playing the game.
$DEVMODE = 1; $DEVMODE = 1;
// thanks DarkTiger (you can prob list them all via datablockGroup.getCount(); and iterate them all and do echo %obj.getName();) // thanks DarkTiger (you can prob list them all via datablockGroup.getCount(); and iterate them all and do echo %obj.getName();)
@ -16,10 +16,13 @@ function dumpDatablockNames() {
} }
// DEVMODE reload/test function // DEVMODE reload/test function
function ssrl() { function ssl() {
exec("scripts/SkillSectorGame.cs"); exec("scripts/SkillSectorGame.cs");
findAndReplacePlaceholders(); findAndReplacePlaceholders();
} }
function ssrl() {
exec("scripts/SkillSectorGame.cs");
}
function dc() { function dc() {
disconnect(); disconnect();
@ -27,6 +30,7 @@ function dc() {
if ($DEVMODE) { if ($DEVMODE) {
moveMap.bind(keyboard, "f5", disconnect); moveMap.bind(keyboard, "f5", disconnect);
ObserverHUDWeaponList.delete();
} }
// Load the various modes, datablocks and functions. // Load the various modes, datablocks and functions.