Difference between revisions of "HowTo:Edit units.csv"

From VsWiki
Jump to: navigation, search
(Columns in Units File)
Line 20: Line 20:
  
 
The columns of the units.csv file and their description are;
 
The columns of the units.csv file and their description are;
{{fixme}} ''Copy Descriptions from [[HowTo:Edit Unit Files]''
+
{{fixme}} ''Copy Descriptions from [[HowTo:Edit Unit Files]]''
  
  

Revision as of 06:33, 1 April 2005

arrow_left.png Create Ships in Wings3D arrow_up.png HowTo Edit Unit Files arrow_right.png

UNITS.CSV

The Units.csv file contains specific information on all Vessels and Installations and Upgrades in VegaStrike.

Units File

The units.csv is a comma delimited text file which can be edited with any spreadsheet program.

NOTE: Microsoft Works has problems with the long description columns. For a free alternative, use OpenOffice.

Columns in Units File

The original desciption of the xunit syntax from hellcatv is located in CVS


The columns of the units.csv file and their description are; FIXME Copy Descriptions from HowTo:Edit Unit Files


  • Key (Key)
  • Directory (String)
  • Name (string)
  • FoFID (string)
  • Object_Type (string)
  • Combat_Role (string)
  • Textual_Description (string)
  • Hud_image (string)
  • Unit_Scale (float)
  • Cockpit (string)
  • CockpitX (x=float)
  • CockpitY (y=float)
  • CockpitZ (z=float(meters))
  • Mesh ({filename(string);frame(int);texturetime(float)})
  • Shield_Mesh (string)
  • Rapid_Mesh (string)
  • BSP_Mesh (string)
  • Use_BSP (boolean)
  • Use_Rapid (boolean)
  • Mass (metric tons)
  • Moment_Of_Inertia (metric tons * meters*meters)
  • Convex_Hull_Volume (meters * meters * meters)
  • Fuel_Capacity (metric tons)
  • Hull (VSD)
  • Armor_Front_Top_Right (VSD)
  • Armor_Front_Top_Left (VSD)
  • Armor_Front_Bottom_Right (VSD)
  • Armor_Front_Bottom_Left (VSD)
  • Armor_Back_Top_Right (VSD)
  • Armor_Back_Top_Left (VSD)
  • Armor_Back_Bottom_Right (VSD)
  • Armor_Back_Bottom_Left (VSD)
  • Shield_Front_Top_Right (VSD)
  • Shield_Back_Top_Left (VSD)
  • Shield_Front_Bottom_Right (VSD)
  • Shield_Front_Bottom_Left (VSD)
  • Shield_Back_Top_Right (VSD)
  • Shield_Front_Top_Left (VSD)
  • Shield_Back_Bottom_Right (VSD)
  • Shield_Back_Bottom_Left (VSD)
  • Shield_Recharge (VSD/second)
  • Shield_Leak (percentage)
  • Warp_Capacitor (800MJ)
  • Primary_Capacitor (100MJ)
  • Reactor_Recharge (100MJ/s)
  • Jump_Drive_Present (Boolean )
  • Jump_Drive_Delay (seconds)
  • Wormhole (boolean)
  • Outsystem_Jump_Cost (800MJ)
  • Warp_Usage_Cost (800MJ/second)
  • Afterburner_Type (int type )
  • Afterburner_Usage_Cost (100MJ/s)
  • Maneuver_Yaw (metric tons*degrees/second^2)
  • Maneuver_Pitch (metric tons*degrees/second^2)
  • Maneuver_Roll (metric tons*degrees/second^2)
  • Yaw_Governor (degrees/sec)
  • Pitch_Governor (degrees/sec)
  • Roll_Governor (degrees/sec)
  • Afterburner_Accel (metric tons*m/s^2)
  • Forward_Accel (metric tons*m/s^2)
  • Retro_Accel (metric tons*m/s^2)
  • Left_Accel (metric tons*m/s^2)
  • Right_Accel (metric tons*m/s^2)
  • Top_Accel (metric tons**m/s^2)
  • Bottom_Accel (metric tons*m/s^2)
  • Afterburner_Speed_Governor (meters/second)
  • Default_Speed_Governor (meters/second)
  • ITTS (boolean)
  • Radar_Color (boolean)
  • Radar_Range (meters)
  • Tracking_Cone (Degrees)
  • Max_Cone (Degrees)
  • Lock_Cone (Degrees)
  • Hold_Volume (m^3)
  • Can_Cloak (boolean)
  • Cloak_Min (percentage)
  • Cloak_Rate (percentage/second)
  • Cloak_Energy (800MJ/s)
  • Cloak_Glass (boolean)
  • Repair_Droid (int)
  • ECM_Rating (int)
  • ECM_Resist (int)
  • Ecm_Drain (800MJ/s)
  • Hud_Functionality (1 normalized fraction)
  • Max_Hud_Functionality (1 normalized fraction)
  • Lifesupport_Functionality (1 normalized fraction)
  • Max_Lifesupport_Functionality (1 normalized fraction)
  • Comm_Functionality (1 normalized fraction)
  • Max_Comm_Functionality (1 normalized fraction)
  • FireControl_Functionality (1 normalized fraction)
  • Max_FireControl_Functionality (1 normalized fraction)
  • SPECDrive_Functionality (1 normalized fraction)
  • Max_SPECDrive_Functionality (1 normalized fraction)
  • Slide_Start (seconds)
  • Slide_End (seconds)
  • Activation_Accel (m/s^2)
  • Activation_Speed (m/s)
  • Upgrades ({filename(string);mountoffset(int);subunoffset(int)})
  • Prohibited_Upgrades (Semicolon delineated list of prohibited upgrades, allowing up to a certain number if specified with colon.)
  • Sub_Units ({filename(string);x(meters);y(meters);z(meters);forex(meters);forey(meters);forez(meters);upx(meters);upy(meters);upz(meters);restricted(meters)})
  • Sound (shieldhit(string);armorhit(string);hullhit(string);jump(string);explode(string);cloak(string);engine(string))
  • Light ({meshfile(string);x(meters);y(meters);z(meters);scale(meters);r(percentage);g(percentage);b(percentage);a(percentage);activationspeed(meters/second)})
  • Mounts ({type(string);ammo(int);volume(meters);SIZE(string);x(meters);y(meters);z(meters);xyscale(meters);zscale(meters);forex(meters);forey(meters);forez(meters);upx(meters);upy(meters);upz(meters);functionality(percentage);maxfunctionality(percentage)})
  • Net_Comm (?)
  • Dock ({INTERNAL(boolean);x(meters);y(meters);z(meters);size(meters);minsize(meters)})
  • Cargo_Import ({Cat(string);price(percentage);pricestddev(percentage);quant(percentage);quantstddev(percentage)})
  • Cargo ({filename(string);Category(string);price(credits);quant(int);mass(metric Tons);volume(meters*meters*meters);functionality(percentage);maxfunctionality(percentage);description(string);missionCargo(bool)})
  • Explosion (string)
  • Equipment_Space (m^3)
  • Num_Animation_Stages (int)
  • Upgrade_Storage_Volume (float)
  • Heat_Sink_Rating (float)

Editing Units.csv File

  • Open the units.csv file in a spreadsheet application and if you are adding a new item, add a new line.
  • FIXME ADD INFO
  • Save the file as a csv file.


Example Row



See also


arrow_left.png Create Ships in Wings3D arrow_up.png HowTo Edit Unit Files arrow_right.png