It's a custom lua created/modified by the NS2 team I believe.
I also don't think there is a way to reload scripts in-game. I personally leave the builder running, do my programming alt-tabbed, tab back in and just reload the server.
I added an item to the techtree constants, but it does not seem to exist in the tech tree function TechTree:GetTechNode(techId) return self.nodeList[techId] end returns null for the index
does anyonek now where the techtree loads its values ?
however one more question while debugging with decoda, the mainmenu wont show up so i maunly load a map with /map ns2_veil however this way i only have 1 player and cant start a game, is there a way to load for example and explore mode game by console ?
Comments
I also don't think there is a way to reload scripts in-game. I personally leave the builder running, do my programming alt-tabbed, tab back in and just reload the server.
You can start the game with -hotload and the game will refresh the scripts.
function TechTree:GetTechNode(techId)
return self.nodeList[techId]
end
returns null for the index
does anyonek now where the techtree loads its values ?
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->{ [kTechDataId] = kTechId.PulseRifle, [kTechDataMaxHealth] = kPulseRifleHealth, [kTechDataMaxArmor] = kPulseRifleArmor, [kTechDataTooltipInfo] = "PULSERIFLE_TOOLTIP", [kTechDataPointValue] = kWeaponPointValue, [kTechDataMapName] = PulseRifle.kMapName, [kTechDataDisplayName] = "PULSERIFLE", [kTechDataModel] = PulseRifle.kModelName, [kTechDataDamageType] = kPulseRifleDamageType, [kTechDataCostKey] = kPulseRifleCost, },<!--c2--></div><!--ec2-->
however one more question while debugging with decoda, the mainmenu wont show up so i maunly load a map with /map ns2_veil
however this way i only have 1 player and cant start a game, is there a way to load for example and explore mode game by console ?