Tribes2-SCP / Torque3D

Tribes 2 engine implementation based on the MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
0 stars 0 forks source link

%player.setArmor #7

Closed Ragora closed 8 years ago

Ragora commented 8 years ago

The scripting engine is missing %player.setArmor(%armor) which is more or less a helper function that in effect calls %player.setDatablock(%datablock) where the %datablock name is assembled with the following format:

%armor + %client.sex + %client.race + "Armor"

Therefore a male Human in Tribes 2 with %player.setArmor("Light") being called on them would equate to the following setDatablock call: %player.setDatablock("LightMaleHumanArmor")

Mods will typically use this when setting up initial loadout configurations or simply changing your armor type altogether. This may also be in use by the core game, as well.

Ragora commented 8 years ago

Implemented in the compatibility repository.