Where we all love and kill
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog 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

Share | 
 

 Zombie NPC here !

View previous topic View next topic Go down 
AuthorMessage
Core
Newb
Newb
avatar

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

PostSubject: Zombie NPC here !   Thu 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:
 


http://img824.imageshack.us/img824/1588/52579575.jpg
http://img155.imageshack.us/img155/3323/94110125.jpg
http://img264.imageshack.us/img264/7078/66641565.jpg

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

Download Link :
4shared.com/file/bZ-fgGh8/_2__zombies.html
Back to top Go down
View user profile
Saint
Amateur
Amateur
avatar

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

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

Haha Nice Very Happy
Back to top Go down
View user profile
Saint
Amateur
Amateur
avatar

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

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

Your a good developer!!
Back to top Go down
View user profile
Kururu
Game Master
Game Master
avatar

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

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

OMG theirs zombies Surprised

_________________
Not everyone is awesome like a Double Rainbow

Back to top Go down
View user profile
NinjaXMist
Admin
Admin
avatar

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

PostSubject: Re: Zombie NPC here !   Thu 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
View user profile http://www.belovedgunz.tk
Core
Newb
Newb
avatar

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

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

hahaha
thanks every one Smile
Back to top Go down
View user profile
Demonic
Sidekick
Sidekick
avatar

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

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

But don't we need the model file? (filename="model/npc/zombies/zombienoir.xml)

_________________
If you can't do it with one gun, don't do it at all.

BelovedGunz Owner
Back to top Go down
View user profile
Core
Newb
Newb
avatar

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

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

Yah .
Back to top Go down
View user profile
NinjaXMist
Admin
Admin
avatar

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

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

Core wrote:
Yah .

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




PostSubject: Re: Zombie NPC here !   

Back to top Go down
 
Zombie NPC here !
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» zombie 3.5 campaign idea
» Zombie Hunting in Hollywood
» zombie dating site
» New Crysis 3 "zombie" video
» Weekly Zombie Challenge 2/15- Total Zombie Headshots

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