Editing the chances of loot dropped by zombies?

Results 1 to 13 of 13
  1. #1
    Elite Member TylerTurton is offline
    Member +Rank
    Nov 2012 Join Date
    166Posts

    sad Editing the chances of loot dropped by zombies?

    Well, whenever I kill a zombie he'll drop stuff like: M249's, armours, etc. Which I do not want, I've been trying to play around in the database but can't find it.. It looks as if it's Items_LootData but all the chances aren't too high.

    Any help? Thanks.


  2. #2
    Member DarkOur is offline
    MemberRank
    Nov 2006 Join Date
    94Posts

    Re: Editing the chances of loot dropped by zombies?

    In data base, dbo(warz) and Item_LootData

  3. #3
    Elite Member TylerTurton is offline
    Member +Rank
    Nov 2012 Join Date
    166Posts

    Re: Editing the chances of loot dropped by zombies?

    Do you by chance understand how the chances work?

  4. #4
    Newbie vweegit is offline
    MemberRank
    Jul 2013 Join Date
    8Posts

    Re: Editing the chances of loot dropped by zombies?

    There will be a table identifier in dbo.Items_Generic. The ItemID in that table corresponds to the entries in dbo.Items_LootData.

    In dbo.Items_LootData, there are the following:
    recordID: just an identifier

    LootID: ItemID from dbo.Items_Generic.ItemID
    Chance: Integer value representing X chances out of the sum of all "Chance" for a given LootID
    ItemID: The item spawned should this "chance" come up. If set to -1, it spawns nothing.
    GDMin: Minimum dollar amount (used when you want money to drop instead of an item)
    GDMax: Maximum dollar amount (only used with GDMin, must be greater than or equal to GDMin)

    ItemID FNAME Category Name Description Price1 Price7 Price30 PriceP IsNew LevelRequired GPrice1 GPrice7 GPrice30 GPriceP Weight
    301119 Loot_Drop_Premium_02 7 WEAP - Civilian This crate contains a variation of premium and rare gear and outfits 0 0 0 0 0 0 0 0 0 0 0

    These examples show what I'm talking about. The above shows the lootbox we might drop.

    RecordID LootID Chance ItemID GDMin GDMax
    177 301119 1 101032 0 0
    178 301119 1 101098 0 0
    179 301119 2 101111 0 0
    180 301119 5 101040 0 0
    181 301119 10 101158 0 0
    182 301119 10 101115 0 0
    183 301119 100 -1 0 0

    The above shows the table of items that can drop from the lootbox.

    "Chance" works as follows:

    Add all of the "Chances" together: in this case, a sum total of 129. Item 101032 has a 1 in 129 chance to spawn. Item 101098 has the same. 101111 has 2 in 129 chances, 101040 5 in 129, etc, all the way down to -1 (no item) which has 100 in 129 chances to spawn.

    To change what the zombies drop, you must edit the tables as you see fit, or create a new table. You then have to set the lootbox in the ZombieSpawn inside Studio (or its LevelSettings.xml file, anyways)

    Hope this helps somewhat.

  5. #5
    Elite Member TylerTurton is offline
    Member +Rank
    Nov 2012 Join Date
    166Posts

    Re: Editing the chances of loot dropped by zombies?

    You're one helpful guy, I thank you for actually taking your time to be so helpful.

    +1

  6. #6
    Newbie vweegit is offline
    MemberRank
    Jul 2013 Join Date
    8Posts

    Re: Editing the chances of loot dropped by zombies?

    Not a problem. You can edit the tables themselves somewhat more easily by using the admin tool (WZAdmin.exe, located in \WarZ\bin\tools\AdminTools\bin). Go to the Items tab, change the Type: dropdown to Loot Box.

  7. #7
    Elite Member TylerTurton is offline
    Member +Rank
    Nov 2012 Join Date
    166Posts

    Re: Editing the chances of loot dropped by zombies?

    There's no chance under there, wow I'm such a noob with this stuff. :')

  8. #8
    Sorcerer Supreme skyone is offline
    Member +Rank
    Nov 2013 Join Date
    254Posts

    Re: Editing the chances of loot dropped by zombies?

    What is the "LootID" ?

  9. #9
    Sorcerer Supreme skyone is offline
    Member +Rank
    Nov 2013 Join Date
    254Posts

    Re: Editing the chances of loot dropped by zombies?

    Up ????

  10. #10
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: Editing the chances of loot dropped by zombies?

    del all zombie drop (new over drop)

    Code:
    use [warz]
    go
    
    delete 
    from Items_LootData
    where LootID = 301136
    go
    Last edited by javaz97; 22-12-13 at 01:35 PM.

  11. #11
    Sorcerer Supreme skyone is offline
    Member +Rank
    Nov 2013 Join Date
    254Posts

    Re: Editing the chances of loot dropped by zombies?

    Quote Originally Posted by javaz97 View Post
    del all zombie drop (new over drop)

    Code:
    use [warz]
    go
    
    delete 
    from items_lootdata
    where lootid = 301136
    go
    what ?

  12. #12
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: Editing the chances of loot dropped by zombies?

    LootID = 301136 >> not official drop

  13. #13
    Sorcerer Supreme skyone is offline
    Member +Rank
    Nov 2013 Join Date
    254Posts

    Re: Editing the chances of loot dropped by zombies?

    no item is associate has this lootid, on my database



Advertisement