Jump to content

Question

Posted (edited)

Hello I have an idea to create the Spawn of my project I would like to know your opinion. 

 

first i created all my spawn in XML

 

Example:

<spawn npcId="20974" x="187500" y="-17094" z="-1288" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
<spawn npcId="20974" x="187280" y="-12027" z="-1928" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
<spawn npcId="20974" x="188844" y="-15449" z="-1336" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />

 

I didn't think it's a good one do you think it's better to create the spawn in priprio Npc would it be more organized?

 

new spawn method

 

    </minions>  
+    <spawns>
+			<spawn x="183836" y="-25649" z="-2520" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
+			<spawn x="184101" y="-19410" z="-2632" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
+			<spawn x="185066" y="-20736" z="-2392" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
+			<spawn x="187500" y="-17094" z="-1288" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
+			<spawn x="187280" y="-12027" z="-1928" heading="0" respawn_delay="110" respawn_rand"50" periodOfDay="0" />
+		</spawns>

 

kept the spawnlist.sql clean for new adms spawn. Do you think it was a good idea ?

 

I use aCis 382 to develop my project.

Edited by Williams

3 answers to this question

Recommended Posts

  • 0
Posted

I've had an adapted xml polygon spawn system in my acis source. Polygons should be redone in some zones though to avoid out-of-bounds spawning.

Ofc this approach is better than sql garbage with over9k hardcoded values.

  • 0
Posted (edited)
12 hours ago, Xtellia said:

I've had an adapted xml polygon spawn system in my acis source. Polygons should be redone in some zones though to avoid out-of-bounds spawning.

Ofc this approach is better than sql garbage with over9k hardcoded values.

 

Next rev, currently under debug and accessible by Donator/Inner Circle.

 

spacer.png

 

spacer.png

Edited by Tryskell

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..