Author Topic: console command for turning down name distance  (Read 1779 times)

nickel is trying to turn down name distance but cant with a default minigame. does anyone know the console command?

Code: [Select]
for(%i=0; %i<clientgroup.getcount(); %i++){clientgroup.getobject(%i).player.setShapenamedistance(25);}You can change the value in setShapeNameDistance to set it to different amounts. This effect only lasts on each player until they respawn.

For a more permanent change, do this.
Code: [Select]
package permadistance{function gameconnection::spawnPlayer(%c){parent::spawnPlayer(%c); %c.player.setShapenameDistance(25);}};

...or just get slayer

Code: [Select]
for(%i=0; %i<clientgroup.getcount(); %i++){clientgroup.getobject(%i).player.setShapenamedistance(25);}You can change the value in setShapeNameDistance to set it to different amounts. This effect only lasts on each player until they respawn.

For a more permanent change, do this.
Code: [Select]
package permadistance{function gameconnection::spawnPlayer(%c){parent::spawnPlayer(%c); %c.player.setShapenameDistance(25);}};
neither of these worked, nickel tells me it didn't do anything when he replaced the 25 with a 0

neither of these worked, nickel tells me it didn't do anything when he replaced the 25 with a 0
The setShapeNameDistance has a minimum value, I don't know what the value is however.
Meaning you can't completely hide the name by setting it to 0

The setShapeNameDistance has a minimum value, I don't know what the value is however.
Meaning you can't completely hide the name by setting it to 0
Yes you can

Yes you can
Unless it was changed recently, you can't, I tried it a while ago

Alright yeah I just tested it, the minimum distance was removed.
Any idea when this happened? I don't recall seeing any patch note about it

Either way, I tested the code that Pecon posted. The first works fine, the second (with the addition of an appropriate activatepackage call) doesn't work

Alright yeah I just tested it, the minimum distance was removed.
Any idea when this happened? I don't recall seeing any patch note about it

Back in August.
http://forum.blockland.us/index.php?topic=205280.0