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 » Wed Mar 08, 2006 10:58 pm

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 » Thu Mar 09, 2006 12:02 am

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 » Thu Mar 09, 2006 1:15 am

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 » Thu Mar 09, 2006 7:47 pm

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 » Thu Mar 09, 2006 7:55 pm

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 » Thu Mar 09, 2006 7:58 pm

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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Thu Mar 09, 2006 9:41 pm

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 » Fri Mar 10, 2006 12:18 am

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 » Fri Mar 10, 2006 10:12 am

alright thanks, i didnt know it was like that :)

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

Post by Hamm1337 » Fri Mar 10, 2006 5:35 pm

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 2542 times

erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Post by erik2k3 » Mon Mar 13, 2006 5:48 am

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 » Wed Mar 15, 2006 10:27 pm

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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Mar 15, 2006 10:52 pm

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 » Mon Mar 20, 2006 10:29 pm

thanks Geesu :D

Locked