SuperSkunk Posted January 9, 2011 Share Posted January 9, 2011 I downloaded this zombie script :https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 Now I have read the info page and I can't work out how to set spawnpoints for the zombies instead of having them randomly spawn. Could anyone help me out? Link to comment
SDK Posted January 10, 2011 Share Posted January 10, 2011 the meta.xml has a setting for that: <setting name="StreamMethod" value="[1]" /> <!-- 1 to constantly stream zombies, 0 to only allow zombies to spawn via createZombie function, 2 to only allow spawning at set spawnpoints --> You need option 2, but you ofc need to add zombie spawns in your maps then. Link to comment
SuperSkunk Posted January 10, 2011 Author Share Posted January 10, 2011 You need option 2, but you ofc need to add zombie spawns in your maps then. How do I add spawns? Link to comment
SDK Posted January 10, 2011 Share Posted January 10, 2011 viewtopic.php?f=91&t=24660&start=46 Read and you'll know Link to comment
Castillo Posted January 10, 2011 Share Posted January 10, 2011 <Zombie_spawn id="Zombie_spawn (1)" interior="0" posX="" posY="" posZ="" rotX="0" rotY="0" rotZ="0" /> Link to comment
SuperSkunk Posted January 10, 2011 Author Share Posted January 10, 2011 https://forum.multitheftauto.com/viewtopic.php?f=91&t=24660&start=46Read and you'll know It says "open map editor" but I'm not using map ed I'm doing it manually which file do I put the new spawnpoints in? Here: <def name="Zombies"> <element name="Zombie_spawn" friendlyname="Zombie Spawnpoint" icon="edf/zombiespawn.png"> <data name="position" type="coord3d" default="0,0,0" /> <data name="rotation" type="coord3d" default="0,0,0" /> <ped model="0" rotation="!rotation!"/> <object model="1254" posZ="1" rotation="!rotation!"/> </element> </def> ? Link to comment
SuperSkunk Posted January 11, 2011 Author Share Posted January 11, 2011 Can't anyone help me with the zombie spawns? Link to comment
eAi Posted January 12, 2011 Share Posted January 12, 2011 Why not use the map editor rather than making your (and our) life harder? Link to comment
SuperSkunk Posted January 12, 2011 Author Share Posted January 12, 2011 I'm new at all this and I didnt know you could use map editor until yesterday , so I started it up on my windows server and it screwed around with a couple of important scripts so I can't use it. I'm not trying to mke your life difficult but by doing it manually I get to learn how to script along the way. Link to comment
eAi Posted January 12, 2011 Share Posted January 12, 2011 You shouldn't be able to break scripts by using the map editor. You shouldn't need to run your own server specifically either - just clicking the Map Editor option in the main menu should do it (though this does run a server in the background). You put the zombie spawn points in a map file in a resource. Depending how (well) the zombie resource is coded, that could be it. If you look at viewtopic.php?f=91&t=24660&start=46 you can download other maps that use it and see how they work, along with lots of documentation. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now