Jordan_August
New Member
- Joined
- Jul 24, 2012
- Messages
- 122
- Reaction score
- 4
1) Open your otserv file, then open your data file and locate a file that says raid
2) After you have located this file, open in and you should be at a screen that has a raid.xml file
3) Now in this folder is where you will place your actual raid xml file, in my tutorial it is named Raid Example
4) Now within this file is a pretty basic lua formatted script.. you can have many different effects or placement of creatures however ill keep it basic
With this set up basically in the <!-- Announcements --> is what it will say either when you execute the command ex:/raid Demon or when it is automated. The <!--Area Spawns--> is exactly what it states. You can select from where the area on the map editor you want your creatures to spawn. from a corner to corner (NW corner of editor to a SE corner) basically creating a square/rectangle area of spawning abilily. However...
You can also use the <!-- Single Spawns --> which you can just pick every single tile you want a certain monster to spawn. so its the exact xyz the raid will spawn the monster. (you could use both methods in the same script or use one or the other. all on your preference)
5) After you make your decision on the placement of your raid you put this line of code in the raids folder that you should already have in your OT files
Now the section in code that says name="Stone" is what executes the command ingame by command. so for example if you said /raid stone it would execute that raid.
6) To wrap up and have a 100% event working, just make sure your file="Name of File" is the same as the .xml raid file you made.
2) After you have located this file, open in and you should be at a screen that has a raid.xml file
3) Now in this folder is where you will place your actual raid xml file, in my tutorial it is named Raid Example
4) Now within this file is a pretty basic lua formatted script.. you can have many different effects or placement of creatures however ill keep it basic
With this set up basically in the <!-- Announcements --> is what it will say either when you execute the command ex:/raid Demon or when it is automated. The <!--Area Spawns--> is exactly what it states. You can select from where the area on the map editor you want your creatures to spawn. from a corner to corner (NW corner of editor to a SE corner) basically creating a square/rectangle area of spawning abilily. However...
You can also use the <!-- Single Spawns --> which you can just pick every single tile you want a certain monster to spawn. so its the exact xyz the raid will spawn the monster. (you could use both methods in the same script or use one or the other. all on your preference)
5) After you make your decision on the placement of your raid you put this line of code in the raids folder that you should already have in your OT files
Now the section in code that says name="Stone" is what executes the command ingame by command. so for example if you said /raid stone it would execute that raid.
6) To wrap up and have a 100% event working, just make sure your file="Name of File" is the same as the .xml raid file you made.