Page 1 of 1

Zones spawn

Posted: Thu Apr 29, 2010 8:34 pm
by babyjason
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:

I d like to disable the random spawn in town, without updating the core at this moment, i tought about zone.xml, changing the spawn coordinates to the same value each, would it make players to spawn at only 1 place in town , practically disabling the random spawn in town?

ty very much.

for exemple...

Code: Select all

	<zone id="11029" type="Town" shape="NPoly" minZ="-2250" maxZ="-1400">		<stat name="name" val="Town of Oren" />		<stat name="townId" val="10" />		<stat name="redirectTownId" val="11" />		<stat name="taxById" val="4" />		<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />	<spawn X="80304" Y="56241" Z="-1500" />		<spawn X="76576" Y="50151" Z="-3200" isChaotic="true" />		<spawn X="77310" Y="50317" Z="-3160" isChaotic="true" />		<spawn X="77250" Y="51285" Z="-3160" isChaotic="true" />		<spawn X="78811" Y="51106" Z="-3160" isChaotic="true" />		<spawn X="75755" Y="51372" Z="-3250" isChaotic="true" />		<spawn X="75613" Y="52504" Z="-3200" isChaotic="true" />		<spawn X="74459" Y="52441" Z="-3260" isChaotic="true" />		<spawn X="74467" Y="53354" Z="-3200" isChaotic="true" />		<spawn X="73600" Y="53918" Z="-3170" isChaotic="true" />		<spawn X="71102" Y="57875" Z="-3330" isChaotic="true" />		<spawn X="70052" Y="59300" Z="-3580" isChaotic="true" />		<spawn X="70420" Y="57480" Z="-3480" isChaotic="true" />		<spawn X="75474" Y="60125" Z="-2730" isChaotic="true" />		<spawn X="74880" Y="60818" Z="-2820" isChaotic="true" />		<spawn X="88011" Y="56589" Z="-3560" isChaotic="true" />		<spawn X="91239" Y="53120" Z="-3430" isChaotic="true" />		<spawn X="81785" Y="46306" Z="-3160" isChaotic="true" />		<spawn X="80708" Y="44609" Z="-3120" isChaotic="true" />		<spawn X="70139" Y="55885" Z="-3550" isChaotic="true" />		<spawn X="80236" Y="45675" Z="-3150" isChaotic="true" />	</zone>

Re: Zones spawn

Posted: Thu Apr 29, 2010 8:40 pm
by JIV
afaik there is config property for that.

Re: Zones spawn

Posted: Thu Apr 29, 2010 8:41 pm
by janiii
check your config. there is an option to disable random respawn in towns. the first coordinate of the town will be used. but yeah, you can try your idea too.

Re: Zones spawn

Posted: Thu Apr 29, 2010 11:38 pm
by Jesus.M
Character.properties

Code: Select all

# If enabled, players respawn in town on different locations defined in zone.xml for given town.# If disabled the first spawn location from zone.xml is used.# Default: TrueRandomRespawnInTownEnabled = True

Re: Zones spawn

Posted: Fri Apr 30, 2010 3:09 am
by babyjason
janiii wrote:check your config. there is an option to disable random respawn in towns. the first coordinate of the town will be used. but yeah, you can try your idea too.

my revision doesent have it (i reported the random respawn not having config:P), and i dont want to update yet the core, that s why i want to try this ( untill u finish witht he experimental ai attack spawn, i m affraid of deadlocks).

ty very much everybody for your kind responses