HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Setting pop higher than 90

06-02-2003, 01:32 AM#1
zotax
What ive got running for my map, is that when you build a unit called "set population to +10", using triggers it removes the unit then sets the training players food produced (eg moonwells produce 10 food) to +10. That all works fine up to when you get to 90 food, as in a usual game.
Is there anyway I can set the population maximum to more than 90?
06-02-2003, 02:24 AM#2
FyreDaug
Nope.
06-02-2003, 02:31 AM#3
zotax
Well thats a bugger.
Sure there there isnt some sorta slk file that you can edit to change it something?
06-02-2003, 05:38 AM#4
kharma
As far as I know, no one has been able to successfully manipulate the max supply cap. My thoughts are that it's controlled by game.dll. It's possible that you could use a hex editor to find out the location of the supply cap and modify it, but personally I would not know where to start. Not only that, but whoever played your map would also have to swap their game.dll around with your modified one every time they wanted to play the map.

You can always use triggers to set the food used lower each time it reach a specified point. That or you could make every unit have 0 supply requirements, and simply use a trigger to add to the supply used for each unit trained. These are just a few suggestions, I'm not quite sure what you are trying to achieve so I can't give you much more then a generalised answer.

~kharma
06-02-2003, 05:57 AM#5
zotax
Well for my td, one of the various new things im trying to add to the genre, is the utilisation of all resources, including food. Essentially I have a trainable farm, the problem being if you are constrained to only 90 population worth of towers it could become annoying (maybe not, it could lead to more carefull management of towers, or maybe there could be a trainable unit that resets your food used back to zero).
Ill probably just use the latter, some sorta unit that when you hit 90/90 (probably not till mid-late game) you train which then sets your used supply back to zero. thanks anyway
06-02-2003, 06:17 AM#6
Starcraftfreak
Quote:
Originally posted by kharma
As far as I know, no one has been able to successfully manipulate the max supply cap. My thoughts are that it's controlled by game.dll. It's possible that you could use a hex editor to find out the location of the supply cap and modify it, but personally I would not know where to start. Not only that, but whoever played your map would also have to swap their game.dll around with your modified one every time they wanted to play the map.

You can always use triggers to set the food used lower each time it reach a specified point. That or you could make every unit have 0 supply requirements, and simply use a trigger to add to the supply used for each unit trained. These are just a few suggestions, I'm not quite sure what you are trying to achieve so I can't give you much more then a generalised answer.

~kharma

BTW, is there some sort of offset list for game.dll available? I know that there is a Hero Level Offset, for example.
06-02-2003, 10:38 AM#7
kharma
Quote:
Originally posted by Starcraftfreak
BTW, is there some sort of offset list for game.dll available? I know that there is a Hero Level Offset, for example.


As far as I know, there isn't a well-compiled list of offsets for the WarIII Game.dll. I myself haven't done much in the way of Hex editing since SC. But I know that Cookie has done some work with the Game.dll, if you could get in contact with him (he seems to be hiding fairly well these days) then I'm sure you'd at least be able to get an idea of where to look. Stoned may also have an idea, since there may be a memory location he's aware of that effects the supply cap.

~kharma
06-02-2003, 08:54 PM#8
UberlyUndead
ok i dont no if this is what you are wanting but if its a melee map or sometin, just go to unit editor, edit the unit, and go to to where it says supply count, (its somewhere underneath gold and lumber cost) and change it to 0, if all units are 0 supply than its unlimited supply.
06-02-2003, 09:32 PM#9
Earth-Fury
lol he needs the food like gold. it would be a resource.readthe topic
06-02-2003, 09:37 PM#10
UberlyUndead
lol good point earth, oooops, thats y i said if thats wat ur saying, and darn i thought i actually suggested something right:ggani:
06-02-2003, 09:42 PM#11
Earth-Fury
i would use a variable instead of food, when a unti of trype is enterd into the map, add to the variable ext. and display it on a leaderboard.
06-02-2003, 10:29 PM#12
zotax
Might just have a tower or a unit or something, that when build sets your current population back to 1 or something. Variables take trigger time i cant be bothered spending.