Welcome to the Command & Conquer Wiki! Log in and join the community.

Template talk:UnitBox

From Command & Conquer Wiki
Jump to: navigation, search

Probably just me being stupid but can I ask for an explanation of what exactly some of the fields mean. I can work out the simple ones (time, cost etc) but some of the others I'm not sure about. Dd7900 16:11, 6 June 2009 (UTC)

Which fields need elaboration? I admit not all may be applicable to C&C, but having looked through the data files for C&C, Red Alert, and Tiberian Sun back in the day I think many of fields are fillable.
The row descriptions (you can pick them out in the code) may give some clue. - Meco (talk) 16:54, 6 June 2009 (UTC)
It's probably the ones that are less applicable to C&C that I was stuck on.
What do you think about adding the damage resistances as well (example: in Red Alert 3 Peacekeepers take only 20% of the damage from cannon type weapons, I'm not proposing this as the format just explaining what I mean). I'm happy to work through the units adding this information in Dd7900 21:20, 6 June 2009 (UTC)
I'm not sure how they handle it in RA3, but in ye olde days a unit used a certain type of armour and its attack dealt a certain type of damage. (I recall seeing terms like "concrete" and "wood" in the old C&C and RA data files for armour.)
So to denote this we'd put the name of the armour type in "armortype" and something similar in "groundattack" (like "10 (fire)" or something). If in RA3 defence and attack "bonuses" are set on a per unit basis instead, I think we can still add the necessary information to "armortype", etc.. - Meco (talk) 21:38, 6 June 2009 (UTC)
The way it's worked since Generals is similar, but in reverse; each armortype had a default percentage of full damage (usually 100%) and then the next information overrode that and specified "take X percent damage from warhead type Y." Back in teh good old days (as in, before the game that shouldn't have been it was "Warhead does A percent of damage to "Unarmored" (infantry,) B percent to Light, C percent to Wood, D percent to Heavy, E percent to Concrete." RA2 made it "None, Flak, Plate (infantry armors), Light, Medium, Heavy (vehicle), Wood, Steel, Concrete (buildings), Special1 (Terror Drone), Special2 (Large Missiles, such as those fired by a Dreadnought)" The.DreadnoughT 02:43, 23 July 2009 (UTC)

I have a suggestion: why don't we just make the fields for UnitBox use the exact same name as the fields in rules.ini? It would effectively allow the individual stats to be copy-pasted, then just stick the "|" before each line. It makes it easier to avoid confusion; since all the games from Red Alert through Yuri's Revenge used the same fields, it works well; Tiberian Dawn shared many of them (but also had such obscure things as "byte255.") The.DreadnoughT 02:43, 23 July 2009 (UTC)