Emp vehicle preset: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Undo revision 6158 by Coffeeburrito (Talk))
(→‎Keyvalues: wikify + cleanup)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Description ==
{{MappingDocumentation}}
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.
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.


== Parameters ==
==Overview==
*Name
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.
*;Given name so other entities can refer to this
__NOTOC__
*Faction <choices>
===Notes===
*;Which faction will own the tank.
*The maximum number of armor plates per side is 6
*Spawn Point
*Each chassis has its own version of each engine, and giving a jeep engine to a heavy tank may produce undesired performance loss.
*;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.
*You may place up to 8 weapons per vehicle.
*Cost <integer>
*This does not abide by weight or chassis restrictions, so absurd configurations are possible.
*;The cost of the vehicle. The vehicle will not be built if the team cannot afford it. A cost of 0 is allowed.
*'''You have to have the weapons/armor/engine the tanks use researched or the game will crash!'''
*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


==Keyvalues==
;Name
:Given name so other entities can refer to this


*Weapon 1: Type <integer>
;Faction <choices>
*;ID for the weapon type.
:Which faction will own the tank.
*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 to Weapon 8.


;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.


== Inputs ==
;Cost <integer>
None
:The cost of the vehicle. The vehicle will not be built if the team cannot afford it. A cost of 0 is allowed.


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


== Supplementary Links ==
;Engine<integer>
* [[Chassis ID]]
:[[Engine ID|ID for the engine type]].
* [[Armor ID]]
* [[Engine ID]]
* [[Weapon ID]]


[[Category:Entity|Empires Parameters]]
;Armor <integer>
:[[Armor ID|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>
:[[Weapon ID|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==
*[[Chassis ID]]
*[[Armor ID]]
*[[Engine ID]]
*[[Weapon ID]]
 
[[Category:Entity]]

Latest revision as of 07: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