precision_bomber
13 years ago
Is there a code where it scales units to size?

If not then... Scaling the models themselves is the more viable options?
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
Sponsor
CommieDog
13 years ago
There is the Scale= value that multiplies each dimension by the square of the specified value.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
precision_bomber
13 years ago
I figured... Someone at Moddb told me about scaling units...
And I thought, its a good idea...

Any in-game examples?
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
precision_bomber
13 years ago
UserPostedImage 

Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
Lithium
13 years ago
You can make a map.ini file for resize units in each map

This is the code for this example
Object AmericaInfantryColonelBurton
Scale = 2.5
End

Object AmericaJetAurora
Scale = 2.5
End

Object ChinaTankOverlord
Scale = 0.7
End

UserPostedImage
SUPER-G
13 years ago
well...what a difference in size. that looks pretty cool!😎 👍
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

CommieDog
13 years ago
Gigantic Colonel Burton versus a tiny Overlord Tank. ROFL.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Lithium
13 years ago

Gigantic Colonel Burton versus a tiny Overlord Tank. ROFL.

Originally Posted by: CommieDog 


Lol 😁

I think it's a fun idea to create new bosses in aod maps, for example 😄
SUPER-G
13 years ago
is there a way were i can make the resize permanent?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

CommieDog
13 years ago
This way is permanent.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
SUPER-G
13 years ago
like permanent for the one map or for everything in the game?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

i^love^mixery
13 years ago
omg if only this was possible without an .ini file...

its so awesome for aod maps. just imagine one GIGANTIC B3 bomber coming up as last wave.

that would be so epic lol
CommieDog
13 years ago

like permanent for the one map or for everything in the game?

Originally Posted by: SUPER-G 


If you can code it for mod maps, you can code it for a mod so that it takes effect in all maps.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
SUPER-G
13 years ago
can i make an .ini file and copy the code posted by lithium and just edit it to make all infantry smaller (incuding civillians)?
if so where would i put it?
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

Annihilationzh
13 years ago
Seriously?

Just add this line:
Scale = 1.0
To the code of any unit. I usually put it just above "DESIGN parameters" so that I always know where it is.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
SUPER-G
13 years ago
thats kinda what i meant by the ini code. so what do i call the civillians, do i name them like in the WB (genericfemale1?)
UserPostedImage
PK_Soar #9531
He that is slow to believe anything and everything is of great understanding, for belief in
one false principle is the beginning of all unwisdom. - Anton Lavey

CommieDog
13 years ago
You don't need to change the name of any units. Just extract the Generals INI files (if you haven't already) and add that one line of code to each unit that you want to resize.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
i^love^mixery
13 years ago
lol i have just found a hidden Unit scaling option in the worldbuilder...

i was able to enable it but it does not work -.-

so annoying....

but a big coincidence that i find it right after i have been told that it is possible to scale units. if only it would woooooooooooork... oh man. i want it so bad.

this is the first time i am thinking of using an .ini file for a new aod.

UserPostedImage 
click to enlarge
Lithium
13 years ago

lol i have just found a hidden Unit scaling option in the worldbuilder...

i was able to enable it but it does not work -.-

so annoying....

but a big coincidence that i find it right after i have been told that it is possible to scale units. if only it would woooooooooooork... oh man. i want it so bad.

this is the first time i am thinking of using an .ini file for a new aod.

UserPostedImage 
click to enlarge

Originally Posted by: i^love^mixery 



The BFME world builder (same engine has generals) has this feature, do you think would be possible to add it in generals world builder?

Here an example
i^love^mixery
13 years ago
it would be possible if i had the source code of both worldbuilders but i can only modify the dialog boxes, so: no.

it also requires to change the game code in order to make this work... same with the team object property tab.

i was able to re-enable it but it does not do anything. the only thing that actually works after re-enabling it, is the "Starting health (%)" value if you double click on an object in the build list tool. but thats pretty useless..