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
Next revision Both sides next revision
ug:editor:ship_editor [2014/07/13 18:48]
serialkicked created
ug:editor:ship_editor [2016/12/01 21:05]
antigravities [Sprite]
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 ====
  
Line 72: Line 72:
 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.txt · Last modified: 2016/12/01 21:31 by antigravities