NPC Mob Spwn / Invasion

Play Now

superboof

Dedicated Member
Dedicated Member
Jul 25, 2005
82
1
34
Hi, just been searching for this, found abit about it but not everything I needed. Any help will be very greatful! :)

Well I wan't an NPC thats hidden so only I can use it, but I want to be able to click mobs on the NPC to send into a town like BW to attack it. I can spwn the mobs with the NPC but no idea how to make them walk to differnt coords. Heres what i've got:


[@main]
Let's spwn some mobs on BichonProvince!\\
<AxeOma/@axeoma>,

<I'm not that evil!/@exit>

[@axeoma]
#ACT
PARAM1 0
PARAM2 335
PARAM3 267
MONGEN AxeOma 1


where would I add the code to make the mob walk to differnt coords? and what is the code please?

many thanks:bounce:
 

Elvin

Golden Oldie
Golden Oldie
May 14, 2003
1,155
1
175
middlesex
If u ask nicely i may tell you someone who has just that same thing in Bichon wall for mob invasions. and shes hidden too :P.

joking mate if i can remember where ive put it i will post the script but you will have to redo all the tweaks for the maps and the monsters you want invading.
 
Upvote 0

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
try this but this is not made be me

but it been release

ives you power to make a invasion on bw once a day between
9-10 i think.
must be wearing a bichoncrown but im sure u can change it what you want
--------------------------------
[@main]
#IF
CHECKITEM bichoncrown
#SAY
Hello there <$USERNAME> is see you are the owner of\
the Bichon Crown. This crown enables you to create an\
invasion into the town of Bichon, but only at a certain\
times in the day. This time is 9:00 - 10:00\
<Begin the invasion./@invasion1>\
<Reallow me to spawn./@invasion2>\
<I'll come back later./@exit>\
#ELSESAY
Sorry but you do not own the Bichon Crown go away!!\
<Exit./@exit>

[@invasion1]
#IF
HOUR 21 22
CHECK [222] 0
#ACT
MISSION 0 403 337
PARAM1 263
PARAM2 193
PARAM3 10
PARAM4 1
MOBPLACE OmaWarrior
MOBPLACE EvilApe
MOBPLACE RightGuard
MOBPLACE LeftGuard
MOBPLACE Woomataurus
#ACT
MISSION 0 263 193
PARAM1 403
PARAM2 337
PARAM3 1
PARAM4 1
MOBPLACE Bichonlord
MOBPLACE DarkDevil
MOBPLACE Khazard
#ACT
MISSION 0 263 333
PARAM1 351
PARAM2 243
PARAM3 10
PARAM4 1
MOBPLACE lurespider
MOBPLACE EvilSnake
MOBPLACE omafighter
MOBPLACE spiderbat
MOBPLACE zumaguardian
SET [222] 1
#SAY
Done invasion

<Exit./@exit>\
#ELSESAY
Sorry but you have come at the wrong time of the day\
or you have already done an invasion today.\

<Exit./@exit>\

[@invasion2]
#IF
CHECK [222] 1
HOUR 16 17
#ACT
SET [222] 0
#SAY
Your invasion has begun.\
#ELSESAY
Sorry but you have come at the wrong time.\

<Exit./@exit>

made by madone
 
Upvote 0

Elvin

Golden Oldie
Golden Oldie
May 14, 2003
1,155
1
175
middlesex
ive been looking through my files and it seems i have to delve deeper for the npc as this pc is new and a lot of my stuff is on hdd that are not in this one just yet , so bear with me it may take a while to find the Scriptssss.

they allow you as a gm to call on an invasion on any map u so desire at any time of the day and any mob to which you like to add to them.
 
Upvote 0

Elvin

Golden Oldie
Golden Oldie
May 14, 2003
1,155
1
175
middlesex
this is a partial of the script including what you need to continue with it . you can put any mob u like on any map.
its a bit oif a mess because it was chinese, and the server who has it has never completed it for full use yet. thats why i cant post the full script atm.
all you need to do is continue along these lines and add what ever towns or surrounding town locations you wish.
invasions dont necessartily need to attack towns as in the case of Past where they attack the time stone and the surrounding town.

when i find the next part of it which is town cleanup part i will post that aswell. what town clean up does it removes any if all monsters left over from your set invasions if its needed, only one downside to that i think atm it removes archers and possibly guards for a bit aswell.

Jasper can tell you how to make it hidden so only gms can see it as i have not got a clue. :P

; ===================================
; Market Def NPC File : GMsSlave-0
; hidden in BichonWall
; -----------------------------------
; Name:
; Job: slave
; Map No: 0
; Pos X
; Pos Y
; File name: *removed*
; Comment: gmstuff

;================================================= =
;
;

;Settings
(@buy @sell @repair @s_repair)
%100
+5
+6

[@main]
#IF
check [18] 1
#ACT
goto @main2
#ELSEACT
CLOSE

[@main2]
Glad to see you, how can I help you?\ \
I need\
<TTs/@tt> <RTs/@rt>\\
<G003/@g00>\\
<Missions/@mission>\
<other/@other>\
<EXIT/@exit>

[@tt]
#ACT
give towntelebundle 2
#say
you skin flint\
<EXIT/@exit>

[@rt]
#ACT
give randombundle 2
#say
that will be 70 million gold you owe me\
<EXIT/@exit>


[@g00]
#ACT
Mapmove g003 32 30
Close



[@MISSION]
Here you may set missions, Which city do you wish to have attacked\ \
<Bichon/@bichon> <GiRyoong/@GI>
<Prajna/@prajna> <Mongchon/@mongchon>
<TimeStone/@PastBichon> \ \


[@bichon]
Please select the Bichon monsters for your invasion\
<Bich1/@bich1>¡¡< Bich2/@bich2>\
< Bich3/@bich3>¡¡< Bich4/@bich4>\
< Bich5/@bich5>¡¡< Bich6/@bich6>\
< Bich7/@bich7>¡¡< Bich8/@bich8>\
< Bich9/@bich9>¡¡<BOSSMonsters/@bichboss>\ \
<Return/@MISSION>
[@GI]
Please select the GiRyoong monsters for your invasion\
<GI1/@ GI1>¡¡<GI2/ GI2>\
<GI3/@ GI3>¡¡<GI4/@ GI4>\
<GI5/@ GI5>¡¡<GI6/@ GI6>\
<GI7/@ GI7>¡¡<GI8/@ GI8>\
<GI9/@ GI9>¡¡<BOSSMonsters/@ GIBOSS>\ \
<Return/@MISSION>
[@prajna]
Please select the Prajna monsters for your invasion\
<PI1/@PI1>¡¡<PI2/@PI2>\
<PI3/@PI3>¡¡<PI4/@PI4>\
<PI5/@PI5>¡¡<PI6/@PI6>\
<PI7/@PI7>¡¡<PI8/@PI9>\
<PI9/@PI9>¡¡<BOSSMonsters/@PIBOSS>\ \
<Return/@MISSION>
[@mongchon]
Please select the Mongchon monsters for your invasion\
<MW1/@MW1>¡¡<MW2/@MW2>\
<MW3/@MW3>¡¡<MW4/@MW4>\
<MW5/@MW5>¡¡<MW6/@MW6>\
<MW7/@MW7>¡¡<MW8/@MW8>\
<MW9/@MW9>¡¡<BOSSMonsters/@MWBoss>\ \
<Return/@MISSION>

[@bich1]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 2
PARAM4 50
MOBPLACE OmaWarrior
MOBPLACE OmaFighter
MOBPLACE RedSnake
MOBPLACE TigerSnake
MOBPLACE BrownEvilSnake
MOBPLACE ForestYeti
MOBPLACE OmaFighter
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich2]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 5
PARAM4 50
MOBPLACE ZumaGuardian3
MOBPLACE ZumaArcher3
MOBPLACE ZumaStatue
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich3]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 3
PARAM4 50
MOBPLACE WoomaFighter8
MOBPLACE OmaFighter
MOBPLACE FlamingWooma8
MOBPLACE WoomaGuardian8
MOBPLACE WoomaSoldier
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich4]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 5
PARAM4 50
MOBPLACE WhiteBoar
MOBPLACE SnakeScorpion
MOBPLACE BlackBoar
MOBPLACE RedBoar
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich5]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 3
PARAM4 50
MOBPLACE BoneArcher
MOBPLACE BoneSpearman
MOBPLACE BoneCaptain
SENDMSG 0 "Bichon is under attack"
goto @bichon

[@bich6]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 5
PARAM4 50
MOBPLACE KingScorpion
MOBPLACE KingHog
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich7]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 5
PARAM4 50
MOBPLACE ħÁú¾Þ¶ê1
MOBPLACE ħÁúÕ½½«1
MOBPLACE ħÁúÁ¦Ê¿1
MOBPLACE ħÁúµ¶±ø1
MOBPLACE ħÁúÉäÊÖ1
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bich8]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 3
PARAM4 50
MOBPLACE »ðÁú½«¾ü1
MOBPLACE »ðÁúÕ½½«1
MOBPLACE »ðÁúÁ¦Ê¿1
MOBPLACE »ðÁúµ¶±ø1
MOBPLACE »ðÁúòáòæ1
MOBPLACE »ðÁúħ´¸1
MOBPLACE »ðÁúÖ©Öë1
SENDMSG 0 "Bichon is under attack"
goto @bichon

[@bich9]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 1
PARAM4 50
MOBPLACE SnakeScorpion
MOBPLACE ÎÖÂêͳÁì
MOBPLACE ÎÖÂêͳÁì
MOBPLACE ShellNipper
MOBPLACE ÷¼÷ÃͳÁì
MOBPLACE ÓÄڤͳÁì
SENDMSG 0 "Bichon is under attack"
goto @bichon


[@bichboss]
#IF
ISADMIN
#ACT
MISSION 0 334 266
PARAM1 247
PARAM2 261
PARAM3 1
PARAM4 50
MOBPLACE »ÆÈª½ÌÖ÷
MOBPLACE ÖØ×°Ê¹Õß
MOBPLACE ¾µÏñÃ÷Íõ
MOBPLACE µØÓüÈ®
MOBPLACE ÎÖÂê½ÌÖ÷
MOBPLACE ¶éÂäÃ÷Íõ
MOBPLACE Ê¥µØÄ§Íõ
SENDMSG 0 "Bichon is under attack"
goto @bichon
 
Last edited:
Upvote 0

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
Dont mean to bring up this thread... But could I make this automated, so at 1am every day a single mob would spawn in town as an invasion?
 
Upvote 0

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
You can use the Robot system to do that.

In Envir/Robot_def/RobotManage.txt add:
Code:
[@Invasion]
#IF
HOUR 12 13
#ACT
MISSION 0 300 300
PARAM1 243
PARAM2 257
PARAM3 4
PARAM4 0
MOBPLACE MonsterName
SENDMSG 0 'There.has.been.an.invasion.at.Bichon!'
#ELSEACT
BREAK

In Envir/Robot_def/AutoRunRobot.txt add:
Code:
#AutoRun NPC RUNONMIN 59 @Invasion

And make sure you have this line un-commented in Envir/Robot.txt:
Code:
ϵͳ¿ØÖÆ	AutoRunRobot

Thats a rough guide but should work. If not let me know and i'll revise it.

p
 
Last edited:
Upvote 0