Emp vehicle preset: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(→‎Keyvalues: wikify + cleanup)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


==Overview==
==Overview==
This entity is used in combination with [[emp_vehicle_spawner]] give mappers the ability to spawn vehicles on demand. A vehicle configuration is stored in this entity as a preset to later be spawned.
This entity is used in combination with [[emp_vehicle_spawner]] to give mappers the ability to spawn vehicles on demand. A vehicle configuration is stored in this entity as a preset for a vehicle to be spawned at a later point.
Things to remember:
* The maximum number of armor plates per side is 6
* Each chassis has its own version of each engine, and giving a jeep engine to a heavy tank may produce undesired performance loss.
* You may place up to 8 weapons per vehicle.
* This does not abide by weight or chassis restrictions, so absurd configurations are possible.
* '''You have to have the weapons/armor/engine the tanks use researched or the game will crash!'''
__NOTOC__
__NOTOC__
===Notes===
*The maximum number of armor plates per side is 6
*Each chassis has its own version of each engine, and giving a jeep engine to a heavy tank may produce undesired performance loss.
*You may place up to 8 weapons per vehicle.
*This does not abide by weight or chassis restrictions, so absurd configurations are possible.
*'''You have to have the weapons/armor/engine the tanks use researched or the game will crash!'''


==Keyvalues==
==Keyvalues==
Line 25: Line 25:


;Chassis <integer>  
;Chassis <integer>  
:ID for the chassis type.
:[[Chassis ID|ID for the chassis type]].


;Engine<integer>  
;Engine<integer>  
:ID for the engine type.
:[[Engine ID|ID for the engine type]].


;Armor <integer>  
;Armor <integer>  
:ID for the armor type.
:[[Armor ID|ID for the armor type]].


;Front Armor <integer>  
;Front Armor <integer>  
:The number of plates of armor on the front
:The number of plates of armor on the front.


;Rear Armor <integer>  
;Rear Armor <integer>  
:The number of plates of armor on the rear
:The number of plates of armor on the rear.


;Left Armor <integer>  
;Left Armor <integer>  
:The number of plates of armor on the left  
:The number of plates of armor on the left.


;Right Armor <integer>  
;Right Armor <integer>  
:The number of plates of armor on the right
:The number of plates of armor on the right.


;Weapon 1: Type <integer>
;Weapon 1 Type <integer>
:ID for the weapon type.
:[[Weapon ID|ID for the weapon type]].
;Weapon 1: Mode <choice>
 
;Weapon 1 Mode <choice>
:The key binding for this weapon. ("Primary" or "Secondary")
:The key binding for this weapon. ("Primary" or "Secondary")
;Weapon 1: Groups <integer>
 
;Weapon 1 Groups <integer>
:The weapon groups will this weapon will be associated with. Group 1-6 are valued 1,2,4,8,16,32 in that order. Add the values to make a weapon part of more than one group. For example, a value of 6 will mean the weapon is in groups 2 and 3.
:The weapon groups will this weapon will be associated with. Group 1-6 are valued 1,2,4,8,16,32 in that order. Add the values to make a weapon part of more than one group. For example, a value of 6 will mean the weapon is in groups 2 and 3.


;''Repeated all the way through Weapon 8.''
;''Repeated all the way through Weapon 8''


==IDs==
==IDs==

Latest revision as of 08:38, 16 July 2010

Empires Mapping Documentation
Mapping Overiew | Hammer Configuration | Entity Index | Basic Mapping | Setup Resources | Tutorials | Useful FGD Modifications | Bots and NPCs | Dimensions | Skyboxes



Overview

This entity is used in combination with emp_vehicle_spawner to give mappers the ability to spawn vehicles on demand. A vehicle configuration is stored in this entity as a preset for a vehicle to be spawned at a later point.

Notes

  • The maximum number of armor plates per side is 6
  • Each chassis has its own version of each engine, and giving a jeep engine to a heavy tank may produce undesired performance loss.
  • You may place up to 8 weapons per vehicle.
  • This does not abide by weight or chassis restrictions, so absurd configurations are possible.
  • You have to have the weapons/armor/engine the tanks use researched or the game will crash!

Keyvalues

Name
Given name so other entities can refer to this
Faction <choices>
Which faction will own the tank.
Spawn Point
Whether or not this vehicle will act as a mobile spawn point. Any APC that spawns after APD has been researched will act as a spawn point, regardless of this setting.
Cost <integer>
The cost of the vehicle. The vehicle will not be built if the team cannot afford it. A cost of 0 is allowed.
Chassis <integer>
ID for the chassis type.
Engine<integer>
ID for the engine type.
Armor <integer>
ID for the armor type.
Front Armor <integer>
The number of plates of armor on the front.
Rear Armor <integer>
The number of plates of armor on the rear.
Left Armor <integer>
The number of plates of armor on the left.
Right Armor <integer>
The number of plates of armor on the right.
Weapon 1 Type <integer>
ID for the weapon type.
Weapon 1 Mode <choice>
The key binding for this weapon. ("Primary" or "Secondary")
Weapon 1 Groups <integer>
The weapon groups will this weapon will be associated with. Group 1-6 are valued 1,2,4,8,16,32 in that order. Add the values to make a weapon part of more than one group. For example, a value of 6 will mean the weapon is in groups 2 and 3.
Repeated all the way through Weapon 8

IDs