Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • SOUPSOUP: just get a vpn
      August 13, 2018, 06:44:28 PM
    • jme: _^_ will answer all of your javascript questions
      August 12, 2018, 07:11:00 PM
    • doomsale: and where is boxman?
      August 10, 2018, 03:16:59 AM
    • doomsale: Where can i play the Moparscape MMORPG with the Metallica instrumentals?
      August 10, 2018, 03:16:47 AM
    • doomsale: no longer clicking on doors and dummies at east bank
      August 10, 2018, 03:16:07 AM
    • doomsale: were all grown up now huh?
      August 10, 2018, 03:15:58 AM
    • _^_: hey everyone look at my graphs [link]
      August 06, 2018, 01:52:16 PM
    • braedyn: Someone pl0x help me out with PI Lottery!!
      August 03, 2018, 02:12:25 AM
    • Travas: p3n1s
      July 26, 2018, 09:46:33 PM
    • Krackkid: You up :eggplant:
      July 23, 2018, 06:18:17 PM
    • DeathsChaos9: no
      July 23, 2018, 03:53:31 PM
    • Emulous: Come check out Emulous: [link]
      July 22, 2018, 03:37:19 PM
    • Emulous:[link]
      July 22, 2018, 03:37:00 PM
    • Travas: ur mom
      July 21, 2018, 06:04:50 PM
    • YNRDAB: Watcha big ballers up too?
      July 20, 2018, 11:01:06 AM
    • dark250: i need help for coding client
      July 19, 2018, 08:27:37 AM
    • Travas: yes
      July 14, 2018, 02:19:44 PM
    • drubrkletern: lmao racist and sexist much?
      July 14, 2018, 01:11:52 PM
    • Cole1497: yeah i got you lil boat give me a second
      July 13, 2018, 03:19:35 AM
    • B0ATY.: yo can anyone unban my ip, i got banned for saying i hope someone gets aids :p
      July 12, 2018, 09:16:00 PM

    Author Topic: Adding A Black Party-Hat  (Read 5085 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinemattadog18

    • Member
    • **
    • Posts: 67
    • Thanks: +0/-0
      • View Profile
    Adding A Black Party-Hat
    « on: April 30, 2013, 08:52:51 PM »
    Hey moparscape, im going to show you how to add a BLACK PARTY-HAT! :) k well lets get started

    First your gonna wanna open up your client



    second your gonna wanna find item.def_2 and open it

    third your gonna wanna insert
              }
        if(i == ----)
        {
             itemdef.modelID = 2635;
             itemdef.name = "Black Party-Hat";
             itemdef.description = "A nice hat from a cracker.";
             itemdef.modelZoom = 440;
             itemdef.modelRotation1 = 76;
             itemdef.modelRotation2 = 1850;
             itemdef.modelOffset1 = 1;
             itemdef.modelOffset2 = -3;
             itemdef.stackable = false;
             itemdef.membersObject = true;
             itemdef.anInt165 = 187;
             itemdef.anInt200 = 363;
             itemdef.itemActions = new String[5];
             itemdef.itemActions[1] = "Wear";
             itemdef.itemActions[4] = "Drop";
             itemdef.modifiedModelColors = new int[1];
             itemdef.originalModelColors = new int [1];
             itemdef.modifiedModelColors[0] = 926;
             itemdef.originalModelColors[0] = 1;
        }

    And where the {----} are you need to insert in the item id and how you get that you open up your source and go to item.cfg and scroll all the way down and look at what that item id is and just +1

    so you go back to the item.def_2 and add the number

    Then your gonna wanna go back to the item.cfg and insert
    item = ----   Black_partyhat   A_nice_hat_from_a_cracker.   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    And you insert the item id you added in the item.def_2 then you compile it all then run everything and go spawn it and it will look like this



    I did alot of work on getting this thank you and enjoy :)
    Runescape Gambling

    Offlinemalimt

    • Member
    • ****
    • Posts: 472
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #1 on: April 30, 2013, 09:12:40 PM »
    very good first tutorial release, i like it matt, good job man

    hope to see more from you :D
    Runescape Gambling

    Offlinetyb97

    • Member
    • ****
    • Posts: 6,195
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #2 on: May 01, 2013, 02:56:04 PM »
    this is a snippet
    what if i want to stick it in? you got a problem with that?
    Runescape Gambling

    Offlinelare69

    • Member
    • ****
    • *
    • Posts: 5,322
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #3 on: May 01, 2013, 03:40:46 PM »
    wrong section and this isnt a tutorial
    hi. check out luna:)

    Offlinepixed

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #4 on: June 06, 2015, 11:48:00 PM »
    do i need a model to add it?

    Offlinerunescape sucks

    • Member
    • ****
    • Posts: 2,797
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #5 on: June 07, 2015, 12:16:47 AM »
    (click to show/hide)

    Offlinepixed

    • First Time Poster
    • *
    • Posts: 4
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #6 on: June 07, 2015, 10:41:35 AM »
    I don't have the file ''item.def_2'' how am i suppose to do this?:o

    OfflineCleanCut

    • Member
    • **
    • Posts: 46
    • Thanks: +0/-0
      • View Profile
    Re: Adding A Black Party-Hat
    « Reply #7 on: June 07, 2015, 01:47:00 PM »
    I don't have the file ''item.def_2'' how am i suppose to do this?:o

    Convert the ints to yours in whatever itemDef you have, and if you don't know how to do that, then you should look up guides on adding new items in general.
    Need epic forums? Need a logo or a mascot? Need cheap webhosting? Use Audentio with this link Audentio and get a bonus discount!

    Use coupon code SpecialBonusDeals on HostGator for 25% off!

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal