Resolved Change NickName

L2g

Heir
Customer
Hello, good evening everyone.

I'm creating a mod-like event similar to TvT.

But I can't change the character's nickname while they're in the event.

Does anyone know how I can do this?
 
If you want to hide the participants’ nicknames, you can use these parameters:

<set name="anonymousZone" val="true" />
<set name="anonymousCharName" val="Hidden" />
 
If you want to hide the participants’ nicknames, you can use these parameters:

<set name="anonymousZone" val="true" />
<set name="anonymousCharName" val="Hidden" />
Thanks for the help, but that didn't work. The event uses instances, and when the player is teleported to the event in the instance, the system ignores that zone setting.
 
You can create a zone inside a instance

<zones></zones> - block with an array of zones (optional). As an example: <zones><zone name="[my_zone_1]" active="true"/><zone name="[my_zone_1]" active="true"/></zones>
 
  • Like
Reactions: L2g
<!DOCTYPE list SYSTEM "instances.dtd">
<list>
<instance id="801" name="Bayou Fortress" maxChannels="20" collapseIfEmpty="10" timelimit="30" dispelBuffs="false" respawn="60">
<geodata map="25_19"/>
<reuse resetReuse="* * * * *" setUponEntry="true" sharedReuseGroup="0"/>
<doors>
<door id="25190002" opened="true"/>
<door id="25190003" opened="true"/>
<door id="25190004" opened="true"/>
<door id="25190005" opened="true"/>
<door id="25190010" opened="true"/>
<door id="25190011" opened="true"/>
</doors>
<spawns/>
<doors/>
<level min="80" max="85"/>
<return loc="42760 -48248 -800"/>
<teleport loc="42760 -48248 -800"/>
<collapse on-party-dismiss="false" timer="60"/>
<quest id="0"/>
<remove itemId="0" count="0" necessary="false"/>
<give itemId="0" count="0"/>
<zones>
<zone name="[pvp_801_tvt_default]" active="true"/>
<zone name="[pvp_801_tvt_testehidden]" active="true"/>
<zone name="[pvp_801_tvt_spawn_red]" active="true"/>
<zone name="[pvp_801_tvt_spawn_blue]" active="true"/>
<zone name="[pvp_801_dm_default]" active="true"/>
<zone name="[pvp_801_dm_spawn]" active="true"/>
<zone name="[pvp_801_ctf_default]" active="true"/>
<zone name="[pvp_801_ctf_spawn_red]" active="true"/>
<zone name="[pvp_801_ctf_spawn_blue]" active="true"/>
<zone name="[pvp_801_ctf_spawn_flag_red]" active="true"/>
<zone name="[pvp_801_ctf_spawn_flag_blue]" active="true"/>
</zones>
</instance>
</list>

<zone name="[pvp_801_tvt_testehidden]" type="fun" >
<set name="anonymousZone" val="true" />
<set name="anonymousCharName" val="Hidden" />
<polygon>
<coords loc="189205 36940 -5154 -154" />
<coords loc="190614 36943 -5154 -154" />
<coords loc="191733 37577 -5154 -154" />
<coords loc="192356 38695 -5154 -154" />
<coords loc="192372 40292 -5154 -154" />
<coords loc="191724 41396 -5154 -154" />
<coords loc="190645 42022 -5154 -154" />
<coords loc="189203 42041 -5154 -154" />
<coords loc="188110 41414 -5154 -154" />
<coords loc="187469 40314 -5154 -154" />
<coords loc="187458 38701 -5154 -154" />
<coords loc="188085 37600 -5154 -154" />
</polygon>
</zone>

<zone name="[pvp_801_tvt_default]" type="battle_zone" >
<set name="anonymousZone" val="true" />
<set name="anonymousCharName" val="Hidden" />
<polygon>
<coords loc="189205 36940 -5154 -154" />
<coords loc="190614 36943 -5154 -154" />
<coords loc="191733 37577 -5154 -154" />
<coords loc="192356 38695 -5154 -154" />
<coords loc="192372 40292 -5154 -154" />
<coords loc="191724 41396 -5154 -154" />
<coords loc="190645 42022 -5154 -154" />
<coords loc="189203 42041 -5154 -154" />
<coords loc="188110 41414 -5154 -154" />
<coords loc="187469 40314 -5154 -154" />
<coords loc="187458 38701 -5154 -154" />
<coords loc="188085 37600 -5154 -154" />
</polygon>
</zone>

I've already tried that, and the nickname still keeps appearing.

The characters even get flagged for entering the zone, but the nickname doesn't change.
 
Hallelujah!!! I did it...

I did it like this:

p.setTransformationName("Hidden");

Thank you to everyone who helped!
 
Back
Top