Object Inheritance

Tutorial for Command & Conquer 3 C&C3

Avatar of Mastermind

Mastermind

Category: Code
Level: Beginner
Created: Monday January 28, 2008 - 23:32
Updated: Monday January 28, 2008 - 23:37
Views: 3229
Summary: Basic description of where to look for properties of objects.
Rating
  • Staff-
  • Members-
  • Average-

0 votes

When examining objects, it can be unclear where a certain property comes from. An example is all of the civilian buildings. They don't have their own module for garrisoning units, so it seems that they shouldn't. However, there's an important line. That's inheritFrom="BaseCivilianStructure". This is a property of the GameObject, and it defines what the object is derived from. You can find all of the base objects at the following path: MOD SDK Directory\CnC3Xml\BaseObjects.

Return to top