Anarkis Gaming Wiki

Documentation Center for our games and mods

User Tools

Site Tools

[ Wiki Home ] - [ Anarkis Gaming Studio ] - [ Forums ] - [ Unending Galaxy Manual ]


ug:editor:ship_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ug:editor:ship_editor [2014/07/13 18:48]
serialkicked created
ug:editor:ship_editor [2016/12/01 21:31] (current)
antigravities [Ship Specifications]
Line 1: Line 1:
 +~~NOTOC~~
 +[[ug:​start|{{ :​ug:​ug-title01.png?​nolink |}}]]
 +
 ====== Ship Editor ====== ====== Ship Editor ======
  
 As the name implies, this is where ships can be created and edited. As the name implies, this is where ships can be created and edited.
  
-{{ :ug:editor:snap671.png |}}+{{ :ug:editor:alex_shipeditor.png |}}
  
 ===== Adding a new ship ===== ===== Adding a new ship =====
  
-In the upper right corner of this window there'​s a text box where you can choose ​filename ​for the ship. The name itself is irrelevant, it's used internally by the engine ​but it doesn'​t appear in-game. It must be unique and shorter than 64 characters. Don't use special characters or punctuation that you wouldn'​t usually see in a filename ​like "à , . é ? *". Keep that alphanumerical.+You can select ​file name for the ship using the textbox in the top right of the window. The name itself is irrelevant, it's used internally by the engine ​and doesn'​t appear in-game. ​//It must be unique and shorter than 64 characters//. Don't use special characters or punctuation that you wouldn'​t usually see in a filename ​(e.g. "à , . é ? *").
  
-Once you're done choosing a name press the **Add New** button to get a blank new template for your ship. +Once you're done choosing a namepress the **Add New** button to get a blank new template for your ship. Alternatively,​ you can use an existing ship as a template. To do so, select a ship in the drop down list in the top left and choose a new file name in the text box, but **DO NOT** press Add New in that case.
- +
-Alternatively,​ you can use an existing ship as a template. To do so, select a ship in the drop down list in the top left and choose a new file name in the text box, but **DO NOT** press Add New in that case.+
  
 ===== Editing Ship Data ===== ===== Editing Ship Data =====
Line 17: Line 18:
 ==== Sprite ==== ==== Sprite ====
  
-First and foremost you'​ll ​have to choose a sprite for the ship. The drop down list will display all the available ​sprites. If you want to add your own sprites to the game you'll have to put them in the following folder while the editor is closed:+First and foremostyou'​ll ​want to choose a sprite for the new ship. The drop-down list will display all of the sprites ​available for selection. If you want to add your own sprites to the gameyou'll have to put them in the following folder while the editor is closed:
  
-//[game installation ​folder]\data\sprites//​+//[mod folder]\data\sprites//​
  
-Sprite ​must be in PNG format with a transparent background. The ship must be facing north+Any sprites added //must// be in PNG format with a transparent background ​and must be facing north.
- +
-That said, there'​s two important text boxes to fill: //Display Width// and //Display Height//. Those are the dimensions you want your image to be displayed at when the game is at a 1:1 zoom level. By default it's the size of the PNG, but it can be handy to change those settings if the source image is bigger than you want it to be.+
  
 +To finish adding the sprite, you need to specify the //Display Width// and //Display Height// - the dimensions you want your image to be displayed at when it is at a 1:1 zoom level. By default it's the size of the input file, but it can be handy to change those settings if the source image is bigger than you want it to be.
 ==== General Settings ==== ==== General Settings ====
  
-**Ship Name** ​Must be relatively short to fit into the windows correctly. It's limited to 64 characters, ​you can use special characters.+The **Ship Name** ​must be relatively short to fit into the windows correctly. It's limited to 64 characters, ​and can include ​special characters.
  
-**Ship Description** ​longer description of the ship with its history and so on. Limited ​to 255 characters.+The **Description** ​is a longer description of the ship with, for example, ​its history and so on, and is limited ​to 255 characters.
  
-**Ship Class** ​It'​s ​mostly self explanatory. It's still important to note that only fighters and transports can dock at carriers, that only constructors can build stations and that only carriers will use their docked ships to defend themselves.+The **Ship Class** ​is mostly self explanatory. It's still important to note that only fighters and transports can dock at carriers, that only constructors can build stations and that only carriers will use their docked ships to defend themselves.
  
-**Equipment Max Size** unused+You will also have to specify the **Ware used to build it**. All standard races use "​ShipPart"​ to build ships apart from the Core who has its own custom ship part ("​CoreShipPart"​). Basically, the ShipPart is a ware produced by a factory that and is used to limit a faction'​s military production. If you are making a custom faction with it's own custom factories and production logic, this is something you may want to change.
  
-**Ware Used to Build it** All standard races use "​ShipPart" ​to build ships apart from the Core who has its own custom ​ship part ("CoreShipPart"). Basically that is a ware produced by a factory ​that will be used to limit a faction'​s military production. If you are making ​custom ​faction ​with it's own custom factories and production logic this is something you may want to change.+The **Default Faction** combo box, set at the top next to the default ​ship size, is also a value you should consider changing. If set to "none", any faction ​that can use third-party ships (pirates, humans, ISA, player) ​will be allowed ​to buy / build this kind of ship. If you set it to particular ​faction, only the faction specified will be allowed ​to build it.
  
-**Default Faction** If set to none, any faction that can use 3rd party ships (pirates, humans, ISA, player) will be allowed to buy / build this kind of ship. If you set it to a particular faction, then, only this faction will be allowed to build it.+==== Ship Statistics ====
  
-==== Ship Specifications ====+The **Weapon Slots** field controls the amount and size of weapons the ship can equip.
  
-**Weapon ​Slots** ​The amount and size of weapons ​the ship can equip.+The **Shield ​Slots** ​statistic controls the amount and size of shields ​the ship can equip.
  
-**Shield ​Slots** ​The amount and size of shields the ship can equip.+The **Equipement ​Slots** ​field is unused.
  
-**Equipment Slots** Unused so far.+The **Armor Strength** attribute controls the total hit points the ship has
  
-**Armor Strength** Total hit points ​the ship have+The **Cargo Space** value controls how much cargo the ship can hold.
  
-**Cargo Space** How much cargo the ship can hold+The ship'​s ​**Price** is the price at which the ship can be bought by a faction when it's not producing it.
  
-**Price** The average value at which the can be bought by a faction when its not producing it.+The **Battery Energy** attribute sets the maximum amount of energy the ship's battery ​can hold. Firing weapons and recharging the shield cost energy.
  
-**Battery ​Energy** Maximum amount of energy the ship's battery can hold. Firing weapons and recharging the shield cost energy.+The **Battery ​Recharge Rate** setting defines how much energy the ship gets back per second
  
-**Battery Recharge Rate** How much energy the ship gets back per second+The **Maximum Speed** field is pretty self explanatory. A too high value (15+) may result in weird behaviors.
  
-**Maximum Speed** Self explanatory. A too high value (15+) may result in weird behaviors.+The **Acceleration** field controls how fast the ship is going.
  
-**Acceleration** same. +The **Turn Rate** ​field controls how fast a ship can turn (in ° per second).
- +
-**Turn Rate** ​How fast a ship can turn (in °), mostly cosmetic, at least until proper hitboxes are implemented. +
- +
-**Brakes** Unused so far. Acceleration is used instead. +
- +
-**Hangar bay size** How many fighters this ship can hold in its hangars. In theory any ship class can have hangar bays, but it has only been tested for carriers and constructors so far.+
  
 +The **Brakes** control how quickly a ship slows down.
  
 +The **Hangar bay size** controls how many fighters this ship can hold in its hangars. In theory, any ship class can have hangar bays, but it has only been tested for carriers and constructors so far.
 ===== Saving Changes ===== ===== Saving Changes =====
  
 Just press the **Save Settings** button at the bottom. ​ Just press the **Save Settings** button at the bottom. ​
  
 +===== Testing a Ship =====
  
 +Assuming you have a developer build of the game, there'​s a handy Cheat menu available for you. Launch the game normally, wait for the game to load, and then press the cheat button at the bottom of the top left toolbar to get this window:
  
 +{{ :​ug:​editor:​snap675.png |}}
  
 +It's my internal debugging tools, and it's easy to crash the game from it. Anyway, you can notice a "Spawn Ship" box. Inside, select your ship (first box) by its filename, then select your faction (player), then to make things easier for you to locate it if you are in a busy sector, select the "​protect me" order from the last box. Click spawn and **close the window**.
  
- +If everything goes well, a newly spawned ship should be heading to your position. If you want to fly it yourself, select it and press the "take over" shortcut key, which should be [E] by default.
  
ug/editor/ship_editor.1405270091.txt.gz · Last modified: 2014/07/13 18:48 by serialkicked