Beloved Gunz
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Where we all love and kill
 
HomeSearchLatest imagesRegisterLog inCatGunz V2 Download
Almost Done with the Server Demonic (the awesome dude!) is helping us he is hosting BelovedGunZ Just for us! Thank you Demonic!!!!!<3

 

 Zombie NPC here !

Go down 
5 posters
AuthorMessage
Core
Newb
Newb
Core


Posts : 13
BG-Points : 26
Respect : 0
Join date : 2010-10-28

Zombie NPC here ! Empty
PostSubject: Zombie NPC here !   Zombie NPC here ! EmptyThu Oct 28, 2010 4:51 am

Okay, in your system.mrs folder, open up NPC.XML
You can scroll all the way to the bottom but it should be before the </xml> tag. Put the code in between </NPC> and <NPC id="xx"
Here's the code for the NPCs:

Code:

<NPC id="126"
    name="Zombie "
    desc="Zombie"
    meshname="zombienoir"
    scale="1.0 1.0 1.0"
    grade="regular"
    max_hp="90"
    max_ap="90"
    int="4"
    agility="4"
    view_angle="25"
    dc="6"
    offensetype="1"
    dyingtime="5">
    <COLLISION radius="30" height="120" />
    <ATTACK type="melee" range="130" weaponitem_id="300018" />
    <SPEED default="400" />
    <DROP table="G191" />
</NPC>

<NPC id="127"
    name="Zombie Eval"
    desc="Zombie Eval"
    meshname="zombieval"
    scale="1.0 1.0 1.0"
    grade="elite"
    max_hp="170"
    max_ap="130"
    int="4"
    agility="4"
    view_angle="25"
    dc="6"
    offensetype="1"
    dyingtime="5">
    <COLLISION radius="30" height="120" />
    <ATTACK type="melee" range="130" weaponitem_id="300018" />
    <SPEED default="400" />
    <DROP table="G191" />
</NPC>

<NPC id="128"
    name="Zombie Boss"
    desc="Zombie Boss"
    meshname="zombienoir"
    scale="3.5 3.5 3.5"
    grade="boss"
    max_hp="8000"
    max_ap="9700"
    int="4"
    agility="4"
    view_angle="25"
    dc="6"
    offensetype="1"
    dyingtime="8">
    <COLLISION radius="30" height="200" tremble="5" />
    <ATTACK type="melee" range="130" weaponitem_id="300018" />
    <FLAG never_blasted="true" never_pushed="true" never_attack_cancel="true" />
    <SPEED default="340" />
    <SKILL id="381" />
    <SKILL id="382" />
    <DROP table="G191" />
</NPC>

Save it and close it!
So now you have the NPC codes stored inside ur system.
Now, the scenario.xml. Open it and below the last mansion quest, add in this code :

Code:

<SPECIAL_SCENARIO id="87"
   title="Zombie King"
   QL="1"
   DC="1"
   mapset="Mansion"
   XP="Choose XP"
   BP="Choose BP">
   <SACRI_ITEM itemid="Choose" />

   <!--  Hall1 맵 부터 시작 -->
   <MAP dice="1" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
   <MAP dice="2" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
   <MAP dice="3" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
   <MAP dice="4" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
   <MAP dice="5" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
   <MAP dice="6" key_sector="205" key_npc="128" boss="true">
      <NPCSET_ARRAY>Z19/Z19/Z19</NPCSET_ARRAY>
   </MAP>
</SPECIAL_SCENARIO>

Now go to ur model.mrs folder, open NPC.xml. Add this code in.
Code:

   <AddXml name="zombienoir"    filename="model/npc/zombies/zombienoir.xml" autoload = "false">  </AddXml>
   <AddXml name="zombieval"    filename="model/npc/zombies/zombieval.xml" autoload = "false">  </AddXml>

Now go to your MatchServer folder
Open up npcset.xml
Copy this code and paste it into the npcset.xml

Code:

<NPCSET id="19998" name="Z19" basenpc="126">                  <!-- Random 1 -->
   <ADDNPC npc_id="127" min_rate="15" max_rate="15" />
   <ADDNPC npc_id="126" min_rate="15" max_rate="15" />
</NPCSET>

FINALLY, Drag zombies.mrs into ur Gunz Folder>Model>NPC>"In Here!"

Thats all! Simple? Questions?

FAQ [Frequently Asked Questions]
Q: I put the sacrifice item but the title doesnt show up! When I play it is Mansion lv 0 only goblins. What Should I do?
A: It means there is something wrong with the scenario code you added. Make sure you change the "Choose XP, Choose BP" into xp and bp.

Q: The Zombie doesn't show up! It is invisible!
A: Check whether you have placed your zombies.mrs into the correct folder [NPC folder]

Q: What if the zombie hits me with no damage?
A:a) Then change the weapon id in the npc.xml to a weapon that does damage.
b) The weapon id in npc.xml may be wrong or the weapon isn't added into your zitem.xml like the other weapons.


Some Proofs :
Spoiler:


https://2img.net/r/ihimizer/img824/1588/52579575.jpg
https://2img.net/r/ihimizer/img155/3323/94110125.jpg
https://2img.net/r/ihimizer/img264/7078/66641565.jpg

credits to my bro.
Razi46 ( A.K.A.) Latitude LOL
and also me Smile

Download Link :
http://www.4shared.com/file/bZ-fgGh8/_2__zombies.html
Back to top Go down
Saint
Amateur
Amateur
Saint


Posts : 65
BG-Points : 56
Respect : 0
Join date : 2010-10-21
Location : ++++++++++++++++++++++++

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyThu Oct 28, 2010 8:01 am

Haha Nice Very Happy
Back to top Go down
Saint
Amateur
Amateur
Saint


Posts : 65
BG-Points : 56
Respect : 0
Join date : 2010-10-21
Location : ++++++++++++++++++++++++

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyThu Oct 28, 2010 8:01 am

Your a good developer!!
Back to top Go down
Kururu
Game Master
Game Master
Kururu


Posts : 130
BG-Points : 139
Respect : 0
Join date : 2010-10-06
Age : 27
Location : Brampton, ON

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyThu Oct 28, 2010 1:10 pm

OMG theirs zombies Surprised
Back to top Go down
NinjaXMist
Admin
Admin
NinjaXMist


Posts : 67
BG-Points : 78
Respect : 0
Join date : 2010-10-03
Age : 27
Location : Ontario

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyThu Oct 28, 2010 2:58 pm

OMG NOOO D: THEY KILL ME IN NAZI ZOMBIES NOW GUNZ?!?!?! IS ANYWHERE SAFE??
Back to top Go down
http://www.belovedgunz.tk
Core
Newb
Newb
Core


Posts : 13
BG-Points : 26
Respect : 0
Join date : 2010-10-28

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyFri Oct 29, 2010 12:05 am

hahaha
thanks every one Smile
Back to top Go down
Demonic
Sidekick
Sidekick
Demonic


Posts : 122
BG-Points : 147
Respect : 0
Join date : 2010-09-28
Age : 35

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptySat Oct 30, 2010 10:47 pm

But don't we need the model file? (filename="model/npc/zombies/zombienoir.xml)
Back to top Go down
Core
Newb
Newb
Core


Posts : 13
BG-Points : 26
Respect : 0
Join date : 2010-10-28

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptySun Oct 31, 2010 4:55 am

Yah .
Back to top Go down
NinjaXMist
Admin
Admin
NinjaXMist


Posts : 67
BG-Points : 78
Respect : 0
Join date : 2010-10-03
Age : 27
Location : Ontario

Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! EmptyMon Nov 01, 2010 6:03 am

Core wrote:
Yah .

I DONT LIKE ZOMBIES D: THERE GONNA KILL US ALL (:
Back to top Go down
http://www.belovedgunz.tk
Sponsored content





Zombie NPC here ! Empty
PostSubject: Re: Zombie NPC here !   Zombie NPC here ! Empty

Back to top Go down
 
Zombie NPC here !
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Beloved Gunz :: General Discussion :: Developer's Corner-
Jump to: