how do I update the deluxe editor?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: ai_enabled on February 24, 2019, 04:49:32 AMThanks for replying, but I have a duviva, I'm lazy about scripting among other things, I can not open the cpk file to find the scripts folder, can you recommend a program that does this?
Hello!
Well, it's a bit complicated!
The spawn script should be attached to a server zone (which could be "painted" over world tiles). This way the spawn script knows exactly where it should attempt to (re)spawn objects.
We have plenty of pre-defined zones (for each biome, radtowns, etc) but they have specific spawn scripts attached to them to ensure the proper spawn density, respawn intervals (usually every few minutes) and other parameters (such as tile padding between the objects of the same type).
You can read the scripts to understand how they're organized - all the relevant source code is located in <game folder>/Core/Core.cpk/Scripts/Zones
If you want to have 100% spawn of Pragmium source in a relatively small area (like 4x4 tiles) then you need to create a new spawn script file (C#) with spawn interval for example 1 tile (to ensure 100% spawn) and create a new zone script file (also C#) linking this spawn script file. Then you need to paint this new zone over the world. To test it you can use test button in the Editor Zones menu or run the game server (so it will actually initiate the game world and trigger the full world simulation including regular execution of all the zone scripts).
Regards!
Page created in 0.032 seconds with 13 queries.