Turret Entities
From MechWarrior: Living Legends Wiki
Revision as of 22:03, 27 January 2018 by Fire-hound (talk | contribs) (→Define the turret: expanded)
Turrets are automated objects, able to react on nearby presence, by alarm and opening fire.
Contents
Prerequisites
For an turret to there are following requirements:
- 3d model of the Base - the part that pivots (a.k.a. yaw or azimuth)
- 3d model of the gun-mount - the part that holds the weapon and swivels (a.k.a. pitch or elevation)
- Barrels - the actual weapons 3d art placed on a turret - there can be only one barrel helper ,named "gun", on the model
- Archetype entity - an XML script defining common properties of all the occurrences across the level (a.k.a. map) and the unique Class ID.
- Class entity - what will hold the unique properties of the entity in the libraries, like damage and rate of fire...
- Entities - the actual instance of an turret placed on the map.
It has to be investigated yet, if an multi weapon turret can (and how) have Barrels placed to individual weapons. The endorsed Calliope turret doesn't, it has fixed models in the gun-mount 3d model.
Base
- the Y axis looks down the bore (placing)
- resetting the transforms (world = local)
- grouping helpers (dummies or empties)
- naming the helpers
- ad hock checking if the export is good
Gun-mount
- The Y axis is "forward"
- Resetting the transforms
- The mount pivot is to be at world zero axis
- Helpers
- Grouping for export
- Quick and dirty check
Barrel
- When can a barrel be applied to a turret
- Where are the barrel models
- What to do for turrets with more barrels
Define the library
- Why initially define in Sandbox2
- Where files
- The fields of interest
Define the turret
- How to easy start making a new turret
- What are the engine generic weapons (from the non modded game)
- What are the MW:LL weapons
- What weapons work with turrets (yes some won't work (yet))
- Turret XML's fields of interest
- Sane turret performance parameters and guidelines (~200dps +/-30, turn rate, field of action)
Include an custom turret
- 1st import the library to a new map
- where files (official and editor generated)
- fields of interest