Adding Weapons to market place...
How to add weapons at market place ??
I change the value of Price (GC) but don't appears ... so what i need to do ?
Can anyone make a tutorial ?
- folkz sad...
Copy your marketplace table and change the ID's to Weapons IDs.......
but i did not understand
Re: Adding Weapons to market place...
I'm assuming you changed the GC Price on your database (I'm also assuming you did it correctly).
Now, find this code in the Eclipse Studio solution:
Code:
var[0].SetNumber(0);
var[1].SetString("weapon");
var[2].SetBoolean(false);
var[3].SetBoolean(true);
gfxMovie_->Invoke("_root.api.addTabType", var, 4);
This code should be in UIItemInventory.cpp (if you're using the RaGEZONE Community Edition source code) or in FrontEndWarZ.cpp (if you're using the original source code).
Change var[2] to true. It should be like this:
Code:
var[0].SetNumber(0);
var[1].SetString("weapon");
var[2].SetBoolean(true);
var[3].SetBoolean(true);
gfxMovie_->Invoke("_root.api.addTabType", var, 4);
Build the solution and open the game. There should be a new tab in your marketplace for fire weapons. If you changed the GC Price correctly the weapon should be in this new tab.
EDIT: If you already have 6 tabs in your marketplace, adding the fire weapon tab will make the last tab disappear (by default, the last tab is the attachment tab). billythekid solved the problem and shared the fix here:
http://forum.ragezone.com/f792/add-7...t-menu-937262/
Re: Adding Weapons to market place...
Re: Adding Weapons to market place...
In the DNC release, some have the weapons functional? i do this and give price to the guns and some items more in the table, and the items appears like the chainsaw or the fire axe just the fire weapons don't appears, or i miss something?