DynamicWindowProjectFiles

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search

back to Video Tutorials

Download

File Structure

scripts\extensions\simple_mob_spawner\simple_mob_spawner_ext.lua
scripts\extensions\simple_mob_spawner\simple_mob_spawner_ext_localization.lua
scripts\extensions\simple_mob_spawner\simple_mob_spawner_ext_spawnable_objects.lua
templates\extensions\simple_mob_spawner\extended_spawner.xml
  • Remember if you change the directory structure, to go into the 3 lua files and the xml file and edit the requires and in the xml, the file location of the simple_mob_spawner_ext.lua location.

Installing

  • Download the project zip file.
  • Copy the scripts folder and templates folder over to your mods/ProjectName folder.
  • Load up your server and log in.
  • Type /create extended_spawner, if you do not see it hit the "[" key to show invisible objects.

Warning Messages

If you are testing this out, when you spawn a new extended_spawner template. You will notice every 10 seconds a error message popping up. This message is generated in the simple_mob_spawner.lua file. The reason is it has a heart beat of 10 seconds, and it does not have a template to spawn. You could toggle that off in your version if you want. That is why you get the message.