Hallo Elitepvpers,
Da Sedrika schon ein Super TuT gemacht hat ([Only registered and activated users can see links. Click Here To Register...]),wie man ein Event macht, dachte ich mir ich 'erweitere' es jetzt noch mal, wie man Event Monster erstellt!
Fangen wir an :
Ihr geht in eurem Resource Ordner auf EventMonster.lua
Dort seht ihr folgendes
Rot = Monster ID aka. Name aus der Prob_mover
grün = Level des Monsters
lila = Dauer bis es verschwindet 0 = Für immer
Orange = Droprate False= keine besondere Ehrhebung
Blau = Ob Box droppt false = nein true = ja
schwarz = bpet = Ob es CS Pets oder eggs & normale Pets droppt false= nein true = ja
Ja um jetzt ein CW spawnen zu lassen, sucht in eurer prop_mover.txt(nicht.txt.txt) nach Clockwork & nehmt die ID. Nun wollen wir das dieser Lvl 120 wird also merken wir uns auch 120. Ja er soll Boxen & Cs droppen & er soll eine Eigene Droprate haben :P
Also ist unser Code nun :
Zur erläuterung :
MI_CLOCKWORK1 0 Die Id des CWs
120 = Das Level des CWs
10 = Der CW ist 10 Minuten da
100 = Die Droprate erhöht sich um 100x
2x true = es droppen Boxen & Pets
Creditz:
Jusikid 100%
Da Sedrika schon ein Super TuT gemacht hat ([Only registered and activated users can see links. Click Here To Register...]),wie man ein Event macht, dachte ich mir ich 'erweitere' es jetzt noch mal, wie man Event Monster erstellt!
Fangen wir an :
Ihr geht in eurem Resource Ordner auf EventMonster.lua
Dort seht ihr folgendes
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] )
grün = Level des Monsters
lila = Dauer bis es verschwindet 0 = Für immer
Orange = Droprate False= keine besondere Ehrhebung
Blau = Ob Box droppt false = nein true = ja
schwarz = bpet = Ob es CS Pets oder eggs & normale Pets droppt false= nein true = ja
Ja um jetzt ein CW spawnen zu lassen, sucht in eurer prop_mover.txt(nicht.txt.txt) nach Clockwork & nehmt die ID. Nun wollen wir das dieser Lvl 120 wird also merken wir uns auch 120. Ja er soll Boxen & Cs droppen & er soll eine Eigene Droprate haben :P
Also ist unser Code nun :
Code:
--AddMonster( "MI_CLOCKWORK1", 120, 10, 100, true, true )
MI_CLOCKWORK1 0 Die Id des CWs
120 = Das Level des CWs
10 = Der CW ist 10 Minuten da
100 = Die Droprate erhöht sich um 100x
2x true = es droppen Boxen & Pets
Creditz:
Jusikid 100%