VehicleScripts: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
==Overview== | ==Overview== | ||
Chassis Scripts have quite a few variables, many of them pertaining to the model, and what shows up in the Vehicle Customization Menu. The Chassis Script has all the control over how the turret and cannon handle, as well as armor defines. The Vehicle Chassis has | Chassis Scripts have quite a few variables, many of them pertaining to the model, and what shows up in the Vehicle Customization Menu. The Chassis Script has all the control over how the turret and cannon handle, as well as armor defines. The Vehicle Chassis has at least 4 subkeys, defining world weapon model position, and the locations of different items in the Vehicle Creation menu. There can be any number of Weapon Slot sub keys, depending on how many weapons the vehicle has. | ||
==Chassis Properties== | ==Chassis Properties== |
Revision as of 15:55, 6 September 2009
Empires Scripting Documentation |
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials |
Overview
Chassis Scripts have quite a few variables, many of them pertaining to the model, and what shows up in the Vehicle Customization Menu. The Chassis Script has all the control over how the turret and cannon handle, as well as armor defines. The Vehicle Chassis has at least 4 subkeys, defining world weapon model position, and the locations of different items in the Vehicle Creation menu. There can be any number of Weapon Slot sub keys, depending on how many weapons the vehicle has.
Chassis Properties
Vehicle Script
Model
Turret Model
Cannon Model
horn
Name
Spotted Name
Description
Team
Chassis Pic
Side Pic
Top Pic
Engine Pic
Summary Pic
Map Icon
Unit Icon
HUD Chassis Pic
HUD Turret Pic
HUD Chassis Width
HUD Chassis Height
HUD Chassis X Offset
HUD Chassis Y Offset
Armor Angle 1
Armor Angle 2
Armor Angle 3
Armor Angle 4
Type
Max Weight
Base Weight
Cost
Seats
Seat_1_Visible
Seat_1_PersonalWeapons
Seat_1_Cannon
Seat_1_Turret
Seat_2_Visible
Seat_2_PersonalWeapons
Seat_3_Visible
Seat_3_PersonalWeapons
Seat_4_Visible
Seat_4_PersonalWeapons
Seat_5_Visible
Seat_5_PersonalWeapons
Seat_6_Visible
Seat_6_PersonalWeapons
Seat_7_Visible
Seat_7_PersonalWeapons
Seat_8_Visible
Seat_8_PersonalWeapons
Seat 1 Min Pitch
Seat 1 Max Pitch
Health
Repair Station Heal
Engineer Heal
Heat Capacity
Max Front Armor
Max Rear Armor
Max Left Armor
Max Right Armor
Repair Station Repair
Engineer Repair
Spawn Point
Research
Neutral Turn Rate
Max Machine Guns
Max Grenade Launchers
Max Tank Cannons
Max Missile Launchers
Max Artillery Cannons
Weapon Slot
Bone
Seat
Size
Type
Slot_x
Slot_y
Origin_x
Origin_y
Armor Slot
Size
Type
Slot_x
Slot_y
Front_x
Front_y
Rear_x
Rear_y
Left_x
Left_y
Right_x
Right_y
Front_Width
Front_Height
Left_Width
Left_Height