Raids

On some servers u got already a Raid systym

1. This is a simple raid.xml:

Quote:
<raids>
<raid name=”minotaur_drunia” message=”Minotaurs sighted near Drunia! Invasion imminent!” brodcaster=”Frenzy”>
<area monster=”minotaur” count=”40” posxfrom=”160” posyfrom=”2146” poszfrom=”7” posxto=”232” posyto=”2197” poszto=”7” />
<area monster=”minotaur mage” count=”10” posxfrom=”160” posyfrom=”2146” poszfrom=”7” posxto=”232” posyto=”2197” poszto=”7” />
<monster name=”minotaur guard” x=”199” y=”2155” z=”7” />
<monster name=”minotaur guard” x=”208” y=”2161” z=”7” />
</raid>

It should be placed in data/world and named raids.xml. The “brodcaster” which you can see on the first row should be either a player, GM, GoD or a NPC as I use. If this creature (npc/player) is not online when the raid is executed it won’t work.

2. You need to add /raid to your dtat/commands.xml unless added already.

3. To execute the raid you say /raid <raid name> (if you use the raids.xml above, then say: /raid minotaur_drunia) I.E. the “name” is the raid name you use to execute it.

4. The monsters can only be spawned in existing, nonblocking, and non-pz tiles! (I.E. NOT in houses or DPs! Not either in water, walls, trees and stuff).

5. You can have any number of raids in the same raids.xml file! Could be 1, 10 or even 100!

6. There are 2 ways to specify the coordinates of the monsters that should be spawned:

6a. Exact coordinates. Like this one: <monster name=”minotaur guard” x=”208” y=”2161” z=”7” />. This summons only 1 minotaur guard, and at that exact location.

6b. Spawn Areas. Like this one: <area monster=”minotaur mage” count=”10” posxfrom=”160” posyfrom=”2146” poszfrom=”7” posxto=”232” posyto=”2197” poszto=”7” />. This summons 10 (or actually 9 due to a small bug, I think) within the given area. The exact coordinates of the monsters are completly random!

Some tips:

1. If you want to add some very hard monsters, like bosses, then it might be a good idea to give that one/ones exact coordinates to make it easyer to control.

2. The given “broadcaster” will be the one “saying” the raid message. It gives a cool effect if this is for example a “king” npc or simular.

3. To find coordinates for monsters you can either use your mapeditor, or simply go there with a GM char, and say /info <your name>. You will get a line that looks like this: position: xxx/yyy/zzz. These numbers are the actual coordinates!

Related Articles
Action scripts tutorial
Open Tibia Server - creation
Open Tibia Server for absolute beginners
Ots map quests - otserv
Otserver - ot server general
Basic Tibia ots tutorials
Simple tutorials for Tibia 7.6
Making items on GM
Easy way to make a restarter


Previous article: Spell making
Next article: Easy way to make a restarter