Game Development Reference
In-Depth Information
9.
Your new subarchetype should appear in the content browser. Left-click on it, then
hit F4 again to bring up its properties. You'll see that the Weapon Pickup Class is
already set on the shock rifle!
How it works...
Subarchetypes inherit the properties and values of their parent archetype, just as classes
receive all of the properties and values from their parent classes. This allows us to place
a number of actors onto a map that share common characteristics.
We use archetypes instead of just code, as it allows our actors to be easily manipulated
within the editor.
 
Search Nedrilad ::




Custom Search