Jump to content

Recommended Posts

Posted (edited)

Any1 know, how to add new zone name which is displayed on screen when character enter  the zone?

Strings with names and some data are stored in zonename-e.dat, but how to connect the data to map?

I got new location placed in "Neutral Waterways" and I want add new name to this place.

Edited by Pastorious
  • 2 weeks later...
Posted

You can just add a ExShowScreenMessage when entering the zone. ( if the zone already exists. || If your zone belongs on L2TownZone for example don't do this onEnter cause in everysingle town entering you are going to see the msg)

But i would do it like this :
Make a whole new zone from : net.sf.l2j.gameserver.model.zone.type

Then make a zone with cords and set the cords into my zone ( that i just created ), then i would add the ExShowScreenMessage.
I guess you can do that too if there isnt a better way cause like this you will be able to add more zones and msgs without interfering with other zonetypes.

Sorry if i messed up i just started learning java.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..