Hello Elitepvpers,
Sedrika has already made a good Tutorial "How to make Events"
so I think I could upgrade this Tutorial again,with how to create a Monster Event (like an Invasion)
So let's start:
Go to your Resource Folder and search for EventMonster.lua
There you should see this:
Code:
-- Init -------------------------------------
-- tEventMonster ÃʱâÈ*, ÇÔ¼ö ·Îµù
dofile( ".\\LuaFunc\\EventMonsterFunc.lua" ) -- ¼öÁ¤ÇÏÁö ¸»°Í!!!
---------------------------------------------
--
-- "Monster_ID" -> ¸ó½ºÅÍ ID
-- nLevel -> ij¸¯ÅÍ·¹º§ - ¸ó½ºÅÍ·¹º§ >= nLevel À϶§ °ø°ÝºÒ°¡
-- nLootTime -> ¾ÆÀÌÅÛ ¼±Á¡ ½Ã°£(sec)
-- fItemDropRate -> ¾ÆÀÌÅÛ µå¶ø ¹üÀ§(¼Ò¼ö °¡´É)
-- bPet -> ¸ÔÆê ½Àµæ°¡´É ¿©ºÎ
-- bGiftBox -> ±âÇÁÆ® ¹Ú½º °¡´É ¿©ºÎ
--
-- ** À̺¥Æ®¿ëÀ¸·Î Á¦ÀÛµÈ ½Å±Ô ¸ó½ºÅ͸¸ Ãß°¡ÇÒ °Í!!!
--------------------------------------------------
--AddMonster( "[COLOR="Red"]MI_AIBATT1[/COLOR]", [COLOR="#00ff00"]15[/COLOR], [COLOR="#9932cc"]0[/COLOR], [COLOR="#ff8c00"]false[/COLOR], [COLOR="Blue"]false[/COLOR] )
--AddMonster( "[COLOR="#ff0000"]MI_AIBATT2[/COLOR]", [COLOR="#00ff00"]15[/COLOR], [COLOR="#9932cc"]0[/COLOR], [COLOR="#ff8c00"]false[/COLOR], [COLOR="#0000ff"]false[/COLOR] )
--AddMonster( "[COLOR="#ff0000"]MI_EVENT01[/COLOR]", [COLOR="#00ff00"]20[/COLOR], [COLOR="#9932cc"]3[/COLOR], [COLOR="#ff8c00"]10[/COLOR], false, [COLOR="#0000ff"]false[/COLOR] )
--AddMonster( "[COLOR="#ff0000"]MI_EVENT02[/COLOR]", [COLOR="#00ff00"]20[/COLOR], [COLOR="#9932cc"]3[/COLOR], [COLOR="#ff8c00"]10[/COLOR], false, [COLOR="#0000ff"]false[/COLOR] )
--AddMonster( "[COLOR="#ff0000"]MI_EVENT03[/COLOR]", [COLOR="#00ff00"]20[/COLOR], [COLOR="#9932cc"]3[/COLOR], [COLOR="#ff8c00"]10[/COLOR], false, [COLOR="#0000ff"]false[/COLOR] )
--AddMonster( "[COLOR="#ff0000"]MI_EVENT04[/COLOR]", [COLOR="#00ff00"]20[/COLOR], [COLOR="#9932cc"]3[/COLOR], [COLOR="#ff8c00"]10[/COLOR], false, [COLOR="#0000ff"]false[/COLOR] )
Red = Monster ID| name from the Prob_mover.txt
green = Level from the Monsters
purple = time since the monster disappear
Orange = Droprate| False= normal droprate
Blue = Giftbox drop false = no| true = yes
black = bpet = CS Pets and eggs & normal Pets droppting? false= no true = yes
So if we want to spawn a Clockworks , search in your propmover.txt (not txt.txt) for Clockwork and took the ID. Now we are going to change his Level to 120, he should drop giftboxes and cs and he should have an own droprate. :P
So our Code is:
Code:
--AddMonster( "MI_CLOCKWORK1", 120, 10, 100, true, true )
For explanation :
MI_CLOCKWORK1 0 The Id from CW
120 = Level from CW
10 = The CW is there for 10 Minutes
100 = The dropprate is 100x
2x true = boxes and cs Pets are dropping
Creditz:
Jusikid 100%
I hope my english is not too bad ^^