Page 1 of 1

Changing the price of shopmenu items

Posted: Wed Mar 08, 2006 10:58 pm
by Hamm1337
how do i go about changing the price of shopmenu items?

Posted: Thu Mar 09, 2006 12:02 am
by duality92
go into the warcraft3ft.sma file and browse 100-200 line and u will eventualy find it

Posted: Thu Mar 09, 2006 1:15 am
by DeadEyeSavage
Yeah i ma wondering the same thing and i avhe looked thru the .sma file you told him to and found nothing about items priceing i found out about the shopmenu and how to configure how the items work but no their price. You sure its in teh sma and nto in a diff file? I am also using the dod version of the code idk if that would make any diff for changeing the pprice of teh items.

Posted: Thu Mar 09, 2006 7:47 pm
by Hamm1337
could you send me your .sma file because i cant seem to find it, i opened up a notepad++ to see the line numbers and i dont see anything about it in there...

Posted: Thu Mar 09, 2006 7:55 pm
by slmclarengt
You can use ctrl + g then enter the line number you want to jump to - or ctrl + f to find words/phrases.

slmclarengt

Posted: Thu Mar 09, 2006 7:58 pm
by Hamm1337
thanks but that didnt help me, i scowered likes 100-200 and the rest of the sma and couldnt find it...

Posted: Thu Mar 09, 2006 9:41 pm
by Geesu
SEARCH... this has been answered a million times

Posted: Fri Mar 10, 2006 12:18 am
by duality92
i found it its not named like ahnk 1000$ its like snopmenu [1000,1231,123,,123,,123,etc,] and same for shopmenu2 its only 2 lines out of 20000

Posted: Fri Mar 10, 2006 10:12 am
by Hamm1337
alright thanks, i didnt know it was like that :)

Posted: Fri Mar 10, 2006 5:35 pm
by Hamm1337
i searched and searched and still cant find it, can someone either send me theirs or show me where it is on mine?

Posted: Mon Mar 13, 2006 5:48 am
by erik2k3
simple : go to the scripting folder, then wa3ft folder, open the file "other.inl" , go to the bottom, there is a string for all the shopmenu items, edit it, recompile and done.

Posted: Wed Mar 15, 2006 10:27 pm
by Hamm1337
duality92 wrote:i found it its not named like ahnk 1000$ its like snopmenu [1000,1231,123,,123,,123,etc,] and same for shopmenu2 its only 2 lines out of 20000
is what this guy saying true because ive heard 5 diff things where it is and i cant seem to find it still...can someone please post theirs and the place where the price is put it in giant font....like huge so i can notice it please!

Posted: Wed Mar 15, 2006 10:52 pm
by Geesu
constants.inl:

[small]new const itemcost[9] = {1500,2500,1000,800,2000,800,2000,1000,4000}
#if MOD == 0
new const itemcost2[9] = {7500,1500,1500,1500,1500,1750,1000,9000,16000}
#endif
#if MOD == 1
new const itemcost2[9] = {800,1500,550,1500,1500,1750,1000,9000,16000}
#endif
[/small]

Posted: Mon Mar 20, 2006 10:29 pm
by Hamm1337
thanks Geesu :D