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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...