Changing the price of shopmenu items

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Locked
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Changing the price of shopmenu items

Post by Hamm1337 »

how do i go about changing the price of shopmenu items?
duality92
Peon
Posts: 12
Joined: Mon Mar 06, 2006 12:29 am

Post by duality92 »

go into the warcraft3ft.sma file and browse 100-200 line and u will eventualy find it
DeadEyeSavage
Peon
Posts: 38
Joined: Fri Jul 08, 2005 7:20 pm

Post 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.
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post 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...
slmclarengt
Militia
Posts: 68
Joined: Thu Mar 09, 2006 7:30 pm

Post 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
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post by Hamm1337 »

thanks but that didnt help me, i scowered likes 100-200 and the rest of the sma and couldnt find it...
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

SEARCH... this has been answered a million times
No Support via PM
duality92
Peon
Posts: 12
Joined: Mon Mar 06, 2006 12:29 am

Post 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
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post by Hamm1337 »

alright thanks, i didnt know it was like that :)
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post 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?
Attachments
warcraft3FT.sma
(19.74 KiB) Downloaded 2613 times
erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Post 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.
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post 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!
User avatar
Geesu
<b>King of the world!</b>
Posts: 3160
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post 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]
No Support via PM
Hamm1337
Peon
Posts: 7
Joined: Wed Mar 08, 2006 10:48 pm

Post by Hamm1337 »

thanks Geesu :D
Locked