HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Which file sets food limits?

10-27-2003, 02:23 AM#1
Elfis
Most of the game constants come from units\miscdata.txt or units\miscgame.txt, but the supply limits and upkeep amounts are not there. What file are they set in?
10-27-2003, 02:43 AM#2
DemonicSoul
if you are using tft, then use the game constants editor in the WE

if you are using RoC, i thought it was miscdata.txt.... isnt there a miscdata.slk as well? i really dont know, it may even have been hardcoded in RoC
10-27-2003, 02:45 AM#3
weaaddar
wrong no file sets food limit.
10-27-2003, 03:03 AM#4
Elfis
There must be a file that sets it somewhere. Perhaps I could just set its value in blizzard.j or something (perhaps someone knows the name of the global variable that holds this number?). I'm not making a map, so I can't use game constants.
10-27-2003, 03:40 AM#5
SpectreReturns
You could make the changes in the Game Constants then export the file.
10-27-2003, 10:05 AM#6
Shark
u need food constants but u'r not making a map ?
well, u could edit miscdata.slk in war3.mpq and that would theoreticaly make u cheat, but i think that u couldn't play on B.net then...
or u could make changes in the gameplay constants and try exporting it somehow...if that can be done ?
can it ? :)
10-27-2003, 10:19 PM#7
Elfis
Thanks, problem solved.

I extracted the war3mapmisc.txt from a test map and learned that you can just insert lines such as this:

FoodCeiling=300
UpkeepUsage=40,50,60,70,80,90,100,120,150,10000
UpkeepGoldTax=0.00,0.10,0.20,0.30,0.40,0.50,0.60,0.70,0.80,0.90
UpkeepLumberTax=0.00,0.10,0.20,0.30,0.40,0.50,0.60,0.70,0.80,0.90

into units\miscdata.txt to change food limits for a mod rather than a map.
10-28-2003, 03:30 AM#8
SpectreReturns
You owe me man. :-)
11-25-2003, 12:35 AM#9
Zealot888
Elfis I did exactly what you said you did. I pulled out the war3mapmisc.txt from the map. I then copied the foodceling info from the war3mapmisc.txt into the miscdata.txt. I then plugged in the miscdata.txt to the units\miscdata.txt dir. When I open up a map I still see the default war3 values.

I did the exact steps you mentioned and because there was no success I can't believe that what you said works. Did you actually test this? If so what am I doing wrong?