←  Crazy Mod

Fallout Studios Forums

»

Screenshots: China Uberlord Vs. USA Comman...

Dauth's Photo Dauth 27 Jan 2009

View PostThe_Hunter, on 27 Jan 2009, 11:43, said:

View PostJordan, on 25 Jan 2009, 3:33, said:

View Postpirate, on 24 Jan 2009, 7:20, said:

Very awesome indeed :P

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


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 :P
This really shocked me, because even I knew that.

Looking very good Jordan, how much is one of those?
Quote

Su8perkillr's Photo 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.
Quote

JJ's Photo JJ 28 Jan 2009

View PostCodeCat, on 28 Jan 2009, 5:28, said:

Nice thing to try out: What if a unit's crusher level is higher than its own crushable level? If two such units encounter each other, who will crush who?

Check out the unpatched KW. Titans did this - they crushed each other. |8
Quote

Jordan's Photo 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
Quote

pirate's Photo pirate 28 Jan 2009

ok that sounds logical, but also a lot of work |8
Quote

Su8perkillr's Photo 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


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
Quote

Jordan's Photo 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
Quote

CJ's Photo 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...
Quote