From 3e82474303bef08c87a516992dbec6f5341cdf40 Mon Sep 17 00:00:00 2001 From: loop <126372784+tribes2@users.noreply.github.com> Date: Tue, 14 Oct 2025 22:40:27 +0100 Subject: [PATCH] clarify the purpose of DEVMODE --- scripts/SkillSectorGame.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/SkillSectorGame.cs b/scripts/SkillSectorGame.cs index 6ed3ba2..f998e8f 100644 --- a/scripts/SkillSectorGame.cs +++ b/scripts/SkillSectorGame.cs @@ -5,7 +5,7 @@ // url: https://github.com/tribes2/SkillSector // 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; // 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 -function ssrl() { +function ssl() { exec("scripts/SkillSectorGame.cs"); findAndReplacePlaceholders(); } +function ssrl() { + exec("scripts/SkillSectorGame.cs"); +} function dc() { disconnect(); @@ -27,6 +30,7 @@ function dc() { if ($DEVMODE) { moveMap.bind(keyboard, "f5", disconnect); + ObserverHUDWeaponList.delete(); } // Load the various modes, datablocks and functions.