Posted: Thu Nov 03, 2011 8:29 pm Post subject:
Generals Zero Hour Questions.
1. Are the Unit ranks hard-coded?
Normal, Veteran, Heroic, and whatever the last one is.
Can you add more Unit ranks?
Can you change the names? [probaby stupid question, should just delve in the .str file. -herpderp-
What are the max limits in Generals zero hour as far as..
Polies [Forgot about this one, couldn't find it. -_-;;; Someone should make a general "Information" Topic about common information, common limits, etc.]
Generals and ZH use a really low poly count, but I'm not entirely sure if there's an actual limit. I do know that higher poly counts can cause severe usability problems for players. Mostly in the form of being ungodly slow. _________________ Discord: princess_marisa
Steam QUICK_EDIT
I think you can get away with higher than that. I'm fairly certain that RotR uses higher counts than that. _________________ Discord: princess_marisa
Steam QUICK_EDIT
The rank you missed was Elite, they're valued in Generals(ZH) by form of needed xp per level and xp value per level, so like:
ExperienceValue = 50 100 100 150 ; Experience point value at each level
ExperienceRequired = 0 200 300 600 ; Experience points needed to gain each level
IsTrainable = Yes ; Can gain experience
I never tried adding more values, nor do i know where the rest of the code for it is.
Unit names can be changed: in each unit's code there's a line with a variable name, this variable name points at a unit name in the str or csf file.
In unit code:
DisplayName = OBJECT:ColonelBurton
In str file:
OBJECT:ColonelBurton
"Burton"
End
In csf file(Generals(ZH) native string file) it's not readable, one needs a special editor for that.
Poly limits, always fun to discuss...
Polys per model is wrong, i'd suggest measuring polys per size on the screen, that way you're immediately keeping an eye out for numbers on screen.
There is a sortof really high object poly limit of 10000+ or so, but i'm not sure about that.
Generals on my laptop (2.1 Ghz cpu 256mb video card?!) could haldle an army of over 80 800 polied battlemaster sized tanks simultaniously moving on screen with barely(if any) lag, so i think a vehicle limit of 1000-2000 polys is defenately doable, considering my laptop probably being worse than most pc's these days.
Upgrades
dunno if there's a max number of upgrades, could defenately exist, but not sure how many. I know i couldn't add more than one upgrade in the ZH "new tech mod", but i could have just failed somehow.
Upgrades on units are less limited, at least when every upgrade does something different, one could for instance add ten more drones for the usa vehicles without problem. Making more than 2 unit weapon upgrades gets more difficult however. QUICK_EDIT
More important then the mere poly count is how many single meshes you have (subobjects like turret and props) If you keep that to 1-2 you can very well create MBTs with 3000 polygons. _________________ QUICK_EDIT
After modding SoaSE which has a few limits like..
Max amount of total meshes. Max amount of total weapon banks, Max amount of sounds and so forth, just want to make sure I don't hit any limits. 128 sounds like a small number for max upgrades though... I may be over-thinking that... but to me it seems small. QUICK_EDIT
If i remember correctly ZH increased it to 256 or sth. But could be wrong, but anyway I would recommend to mod newer sage games as there aren't all these limitations. _________________ QUICK_EDIT
The same could be said for all those who mod RA1, RA2, and so on.
I find it fun to work with limitations.. forces you to think of ways around the problems.
Plus... I cba to mod any other game at the moment.. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum