Page 1 of 1

Help

Posted: Tue Jul 25, 2006 10:04 pm
by Liquid_sprite
I asked and searched the forum and tried doing this myself many times but i just can't seem to do it. I'm tryin to change the item prices, I know theres alot of thread that came up about this but it didn't really help me :/ I'm asking if someone is nice enough to edit and compile the warcraft3FT.sma and the constant.inl for me and upload the .amxx file here it would be great. I just want to change the helm price to 80000 or something really high so you can't buy it. Thank in advance.

Change item prices

Posted: Wed Jul 26, 2006 9:48 am
by Krazy
I will tell you how to edit the plugin to do so and see if you can do it first. If not then I will be nice and compile it.

-----------------------------------------------------------

Go to addons/amxmodx/scripting/war3ft/constants.inl and find these:

This is the "shopmenu" command and the items are in order

Code: Select all

new const itemcost[9] =					{1500,2500,1000,800,2000,800,2000,1000,4000}
This is the "shopmenu2" command in CS/CZ and the items are in order

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,1500,1500,1500,1750,1000,9000,16000}
This is the "shopmenu2" command in DOD and the items are in order

Code: Select all

#if MOD == 1
	new const itemcost2[9] =				{800,1500,550,1500,1500,1750,1000,9000,16000}
-----------------------------------------------------------

For what you would want to do is change:

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,1500,1500,1500,1750,1000,9000,16000}
to

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,99999,1500,1500,1750,1000,9000,16000}

Posted: Wed Jul 26, 2006 11:27 am
by Liquid_sprite
the problem is that i can't compile i no how to edit the files and all but i just cant seem to compile it. thx

Posted: Wed Jul 26, 2006 12:31 pm
by Geesu

Posted: Wed Jul 26, 2006 12:50 pm
by Krazy
It is really easy to compile, but here you go anyway.