Raised This Month: $32 Target: $400
 8% 

How to add ARMOR to !zmarket


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 04-04-2012 , 03:02   How to add ARMOR to !zmarket
Reply With Quote #1

Hello, ive been getting a lot of people asking me if i can add armor to the !zmarket, is this possible? and if so can someone help me out?
andrew13 is offline
DarkSynergy
Member
Join Date: Jan 2011
Old 04-04-2012 , 22:41   Re: How to add ARMOR to !zmarket
Reply With Quote #2

I added these to weapons.txt and it seems to work. When viewing current saved loadout though, it shows up as "NVGs: Yes" probably because it was never intended to handle armor.

Code:
"Kevlar Vest"
{
    // General

    "weaponentity"        "item_kevlar"
    "weapontype"        "All, Equipment"
    "weaponslot"        "5"

    // Restrict (core)

    "restrictdefault"    "no"
    "toggleable"        "yes"

    // ZMarket (module)

    "zmarketprice"        "650"
}
    
"Kevlar Vest + Helmet"
{
    // General

    "weaponentity"        "item_assaultsuit"
    "weapontype"        "All, Equipment"
    "weaponslot"        "5"

    // Restrict (core)

    "restrictdefault"    "no"
    "toggleable"        "yes"

    // ZMarket (module)

    "zmarketprice"        "1000"
}
DarkSynergy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode