Screenshots: China Uberlord Vs. USA Comman...
Dauth
27 Jan 2009
The_Hunter, on 27 Jan 2009, 11:43, said:
Jordan, on 25 Jan 2009, 3:33, said:
pirate, on 24 Jan 2009, 7:20, said:
Very awesome indeed
care to explain how crushing building work, crushable = 4 and decreasing the crush armor on buildings
?

care to explain how crushing building work, crushable = 4 and decreasing the crush armor on buildings

Originally, buildings were completely uncrushable. They didn't have a crushable level, so not even a unit with CrusherLevel = 1337 would work. Also, the GeometryIsSmall = No coding made it impossible to crush as well, but I'm not sure of the consequences of removing that from buildings.
So, by adding a crushable level of 4, and changing GeometryIsSmall to yes, you can crush buildings with any unit with a crusher level of 5 or higher.
Here's my system of unit levels:
-------------------------------
What can it crush?
CrusherLevel: 1 = Infantry, 2 = Trees, 3 = General Vehicles, 4 = Overlords/Super Units/Base Defenses, 5 = Buildings
How does this unit rank on the crushable scale?
CrushableLevel: 0 = for Infantry, 1 = for Trees, 2 = for General Vehicles, 3 = for Overlords/Super Units/Base Defenses, 4 = for Buildings, 5 = for Uber Units
Coding-wise, if the Crusher level of an enemy unit is greater than your Crushable level, you can be crushed by it.
-------------------------------
On a related topic, should I make base defenses crushable by overlord-sized units? (Battletank, Emperor, Gattlinglord, etc.)
-Jordan
that's quite neat i didn't know you could go beyond that crusher level thanks for sharing

Looking very good Jordan, how much is one of those?
Su8perkillr
27 Jan 2009
and... what is his lvl rate? i think it would be like 4-40X as slow as an overlord cause of oversized size and power. just wondering.
JJ
28 Jan 2009
Jordan
28 Jan 2009
Ok, just found out what changing GeometryIsSmall to yes does. It makes any unit capable of just driving (or walking) through the building. If it isn't turned to yes, then the geometry keeps the Uberlord from being able to drive over the building. Instead, it just drives alongside it, maybe with half the treads on top, and the others on the ground.
So, not sure if this will really work or not.
-Jordan
So, not sure if this will really work or not.
-Jordan
Su8perkillr
29 Jan 2009
Quote
What can it crush?
CrusherLevel: 1 = Infantry, 2 = Trees, 3 = General Vehicles, 4 = Overlords/Super Units/Base Defenses, 5 = Buildings
How does this unit rank on the crushable scale?
CrushableLevel: 0 = for Infantry, 1 = for Trees, 2 = for General Vehicles, 3 = for Overlords/Super Units/Base Defenses, 4 = for Buildings, 5 = for Uber Units
Coding-wise, if the Crusher level of an enemy unit is greater than your Crushable level, you can be crushed by it.
-Jordan
CrusherLevel: 1 = Infantry, 2 = Trees, 3 = General Vehicles, 4 = Overlords/Super Units/Base Defenses, 5 = Buildings
How does this unit rank on the crushable scale?
CrushableLevel: 0 = for Infantry, 1 = for Trees, 2 = for General Vehicles, 3 = for Overlords/Super Units/Base Defenses, 4 = for Buildings, 5 = for Uber Units
Coding-wise, if the Crusher level of an enemy unit is greater than your Crushable level, you can be crushed by it.
-Jordan
ok... building has lvl 4. does that mean that if u build on infants, normal tanks, super units or trees, the unit placed on is crushed? i'm no good at coding but am interested.
regards, Su8perkillr
Jordan
30 Jan 2009
You can't build something on top of any units, other buildings, or uneven terrain. Also, buildings don't have a crusher level, so they couldn't crush anything anyways.
-Jordan
-Jordan
CJ
30 Jan 2009
I've maybe got a solution, a friend of mine has already made a mod where the buildings could be crushed by making the game consider them as simple units and making them immobile...
But I'm not sure about how he did it and he didn't release his mod which means that you'll have to figure it out by yourself =p
I hope this helps anyway...
But I'm not sure about how he did it and he didn't release his mod which means that you'll have to figure it out by yourself =p
I hope this helps anyway...