Results 1 to 4 of 4
  1. #1
    HiROTMG's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    70
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed

    [FSOD] A few Questions...

    Hey guys, i am working on a pserver project and i am looking for these features, i looked around but couldnt find anything.

    1) The kill count feature for a specific weapon?
    I was looking around but couldnt find anything.
    2) How do i implement custom skins and skin consumables?

    How do i make a custom item drop from enemies?


    Thanks guys... i apologize if i am just literally blind and cant see this shit...

  2. #2
    AzzyG's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    I Think The Worst Thing You Can Do About a Situation Is Nothing
    Posts
    1,732
    Reputation
    261
    Thanks
    476
    How to make a custom item drop from an enemy.

    At dat1 (or whereever you added the custom item) type in BagType what bag the item should be dropped in.
    Go to the enemy's Loot and and the custom item just as the other drops are added.

  3. The Following User Says Thank You to AzzyG For This Useful Post:

    HiROTMG (09-24-2016)

  4. #3
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    How to add a new skin:

    First of all you would need 2 xmls, one like "Mini Geb Skin" and another one called "Mini Geb".

    The Mini Geb Skin XML goes into dat1.xml, and the Equipments in Client.
    The Mini Geb XML Goes into dat1.xml, and the Skins in Client.

    Mini Geb Skin XML
    Code:
      <Object type="0x2581" id="Mini Geb Skin">
        <Class>Equipment</Class>
        <Item/>
        <AnimatedTexture>
          <File>playerskins</File>
          <Index>98</Index>
        </AnimatedTexture>
        <SlotType>10</SlotType>
        <Description>
          {equip.Customize_your_Priest_with_the_Mini_Geb_Skin.}
        </Description>
        <Activate skinType="29842">UnlockSkin</Activate>
        <Consumable/>
        <Soulbound/>
        <BagType>4</BagType>
        <feedPower>5000</feedPower>
        <DisplayId>{equip.Mini_Geb_Skin}</DisplayId>
      </Object>

    Mini Geb XML:
    Code:
      <Object type="0x7492" id="Mini Geb">
        <Skin/>
        <Class>Skin</Class>
        <AnimatedTexture>
          <File>playerskins</File>
          <Index>98</Index>
        </AnimatedTexture>
        <PlayerClassType>0x0310</PlayerClassType>
        <NoSkinSelect/>
        <DisplayId>{skins.Mini_Geb}</DisplayId>
      </Object>

    Also make sure your skin uses the sprite of yours, and make sure to use a type="ID" that is not already used, the ones i took from here is taken from prod, so should just work by copy+pasting the xmls into your server, and change the names, textures.

    Also to figure out the "<Activate skinType="29842">UnlockSkin</Activate>" you need to take the "Mini Geb" type id, go to google, type hexadecimal to decimal, and you have it. (The one here, should work just fine)

    If you plan on using the 16x16 skins make sure to put <scalesize>8<scalesize> into the "Mini Geb Skin" xml, to make it fit into a 8x8 box.
    Last edited by MikeRaarupBirk; 09-24-2016 at 01:47 AM.

  5. #4
    Threadstarter
    Unverified User
    HiROTMG's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    70
    Reputation
    10
    Thanks
    3
    My Mood
    Relaxed
    Much thanks, im going to test it now.

Similar Threads

  1. Few questions.
    By YoukaiMori in forum WarRock - International Hacks
    Replies: 10
    Last Post: 08-09-2007, 03:57 AM
  2. WarRock hacking... few questions
    By zelda803 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 02-03-2006, 03:03 PM