Astrox Imperium

Astrox Imperium

View Stats:
SculptComics Jun 26, 2019 @ 5:15pm
Created New Ship
Greetings.

I used the Ship Editor and created a real nice one. My only problem is what other files I need to edit. I have both the text and .png files in the Ship directory as well as adding their name in the Station directory and placed the two files in the Saves directory where my character has a ship directory. Nothing displays in the shipyard window. What might I be overlooking?

Any pointers will be greatly appreciated. Thanks very much.
< >
Showing 1-15 of 15 comments
momoguru  [developer] Jun 26, 2019 @ 5:58pm 
edit the station file in your save game folder to include the new ship in the HANGAR. if not, you will have to wait until the economic generator randomly grabs that new ship and pops it in a station for you.

the ship files DO NOT go in the save folder. only ships you own are copied there. if you DO put them there, u will need to edit your player_data.txt file to include that ship and it's location.
Last edited by momoguru; Jun 26, 2019 @ 5:59pm
SculptComics Jun 27, 2019 @ 5:10am 
Momoguru, thank you very much for your help. The only three issues I encounter are the following:

1) The picture of my ship does not display either at the station nor in the Ship Editor Mod list.

2) The completed model DOES load in the Ship Editor correctly. However when selecting the Ship Hangar option containing my ship's name (no picture displayed.), I observed many parts of the ship I constructed missing though in the Ship Editor it is fine.

3) When selecting my ship from the station File Hangar listing, no Purchase Button displayed below.

Perhaps my ship data is wrong in some way. In any event, I hope I am not taking too much of your time. I look forward to your response at a time of your convenience.

Respectfully,
Ken
uraniborg Jun 27, 2019 @ 6:38am 
Hey Ken,
Can you post the contents of your ship_data.txt file here? I wonder if the ship is too large to display all the parts in game. I had this happen when I made a huge Borg Cube ship, it looked fine in the editor but in game there were large holes in it where pieces were missing. I assume there may be a point where the rendering engine breaks down when too many parts are used.
SculptComics Jun 27, 2019 @ 8:14am 
Thank you Uraniborg,

I am uncertain to whether there is a static or constant variable in use to determine the size boundary for created ships that needs tweaking. However, if the code to the Ship Editor Mod is examined which allows for considerable constructions of ships, then that same construct allowing for large ships in the editor could be reviewed for fostering the insertion of player's creations into the game. Just a thought.

Best Regards,
Ken
------------------------------------------------------------------------------------------------------------
//; ASTROX IMPERIUM SHIP EDITOR
//; Jace Masula 2017
//; -------------------------------SHIP MAIN VARS ----------------------------------
//; ---------------------------- Variable name, value ------------------------------
<STATS>
SHIP_skill_level;1
SHIP_filename;ship_data(Megaship_Copy)
SHIP_id;0
SHIP_name;Megaship_Copy
SHIP_class;Destroyer
SHIP_base_shield;7000
SHIP_base_armor;7000
SHIP_base_energy;7000
SHIP_base_cargo;20000
SHIP_base_speed;0
SHIP_base_turn;0.10
SHIP_base_thrust;500
SHIP_base_mass;40
SHIP_collider_x;1.5
SHIP_collider_y; 1.5
SHIP_collider_z;4
SHIP_active_slots;15
SHIP_passive_slots;12
SHIP_base_lifesupport;700
SHIP_base_engine_burn;0.75
SHIP_base_recharge;0.20
SHIP_base_scan_speed;30
SHIP_base_scan_max_targets;10
SHIP_base_scan_pulserange;15000
SHIP_base_scan_pulsespeed;15
SHIP_type;Bio
SHIP_base_price;6200
SHIP_impact_resistance;0.50
SHIP_energy_resistance;0.50
SHIP_explosive_resistance;0.50
SHIP_engine_color;1;1;1;1
SHIP_description;The destroyer class ships are slightly larger than their cousins, the carriers. The destroyer can carry additional module slots, and come ready with advanced targeting and electronic systems.
SHIP_manufacturer;Constellation Engineering
SHIP_manufacturer_icon;icon_constellation.png
SHIP_shield;0
SHIP_armor;0
SHIP_energy;0
SHIP_ls_food;0
SHIP_ls_water;0
SHIP_ls_thermal;0
SHIP_ls_waste;0
SHIP_base_drones;0
//merc stuff
SHIP_owner;none
SHIP_xp;0
SHIP_next_level_xp;10000
SHIP_level;1
SHIP_talent;Combat
SHIP_loyalty;10
SHIP_payroll;50
//; --------------------------------- SHIP PARTS -----------------------------------
//; --------------- ITEM,type,catID,pfID,xp,yp,zp,xr,yr,zr--------------------------
<ITEM>
ITEM;wing_9;0; 74 ;0.00;1.92;-3.90;270.76;94.29;177.14
ITEM;wing_9;0; 74 ;2.85;-0.66;-4.03;3.00;88.19;182.71
ITEM;wing_9;0; 74 ;-2.88;-0.60;-4.05;0.00;268.58;0.00
ITEM;wing_9;0; 74 ;-0.02;-3.12;-3.89;89.97;271.30;0.00
ITEM;wing_9;0; 74 ;0.00;1.44;0.71;270.76;94.29;177.14
ITEM;engine_0;0; 30 ;-1.33;-0.62;-3.13;0.00;0.00;0.00
ITEM;engine_0;0; 30 ;1.30;-0.62;-3.13;0.00;0.00;0.00
ITEM;engine_0;0; 30 ;0.00;-1.90;-3.13;0.00;0.00;0.00
ITEM;engine_0;0; 30 ;0.00;0.71;-3.13;0.00;0.00;0.00
ITEM;hull_medium_3;0; 7 ;-1.81;-1.01;1.07;0.00;0.00;45.00
ITEM;hull_medium_3;0; 7 ;1.70;-1.01;1.07;0.00;0.00;315.00
ITEM;engine_9;0; 39 ;-0.05;-1.05;-4.36;0.00;0.00;180.00
ITEM;engine_9;0; 39 ;0.00;-0.20;-4.36;0.00;0.00;0.00
ITEM;engine_4;0; 34 ;-2.44;-2.23;-1.08;0.00;0.00;90.00
ITEM;engine_4;0; 34 ;2.34;-2.26;-1.14;0.00;0.00;270.00
ITEM;mast_1;0; 41 ;-2.49;-2.26;-1.04;90.00;0.00;0.00
ITEM;mast_1;0; 41 ;2.33;-2.26;-1.04;90.00;0.00;0.00
ITEM;hull_main_3;0; 13 ;0.01;0.83;-0.61;0.00;0.00;0.00
ITEM;hull_main_3;0; 13 ;0.00;1.22;2.59;0.00;180.00;0.00
ITEM;Hull_tiny_1; 4 ; 14 ;-0.65;0.00;6.83;0.00;0.00;90.00
ITEM;Hull_tiny_1; 4 ; 14 ;0.13;0.00;6.83;0.00;0.00;90.00
ITEM;Hull_tiny_1; 4 ; 14 ;0.59;0.00;6.83;0.00;0.00;90.00
ITEM;Hull_tiny_1; 4 ; 14 ;-0.21;0.00;6.83;0.00;0.00;90.00
ITEM;wing_2; 4 ; 84 ;2.21;-0.56;1.17;0.00;180.00;317.29
ITEM;wing_2; 4 ; 84 ;-1.64;-1.16;-1.18;0.00;180.00;222.29
ITEM;wing_2; 4 ; 84 ;1.74;-1.01;-1.18;0.00;180.00;317.29
ITEM;wing_2; 4 ; 84 ;-2.28;-0.56;1.17;0.00;180.00;221.29
ITEM;command_0; 4 ; 20 ;-0.02;0.32;6.87;0.00;0.00;0.00
//; ----------------------------- SHIP CAMERA SLOTS --------------------------------
//; -------------- PILOTCAM,name,SLOTid,model_id,xp,yp,zp,xr,yr,zr--------------------
<PILOTCAM>
PILOTCAM;pilot_cam; 5 ; 98 ;-0.03;0.00;12.43;0.00;0.00;0.00
//; ----------------------------- SHIP MODULE SLOTS --------------------------------
//; -------------- MODSLOT,name,SLOTid,model_id, ammo_id,xp,yp,zp,xr,yr,zr----------
<MODSLOT>
MODSLOT;module_slot;2; 99 ;-1.26;0.08;5.88;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;1.39;0.08;5.80;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;-0.81;0.89;-0.66;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;0.91;0.89;-0.66;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;0.95;1.48;2.68;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;-0.73;1.48;2.67;2.86;0.00;90.00
MODSLOT;module_slot;2; 99 ;0.00;1.93;2.72;2.86;0.00;0.00
MODSLOT;module_slot;2; 99 ;0.00;0.65;6.62;0.00;0.00;0.00
MODSLOT;module_slot;2; 99 ;0.00;1.66;4.27;2.86;5.71;0.00
MODSLOT;module_slot;2; 99 ;0.00;-1.93;3.03;2.86;5.71;0.00
MODSLOT;module_slot;2; 99 ;0.00;-2.28;-0.72;2.86;5.71;0.00
MODSLOT;module_slot;2; 99 ;0.00;1.50;-1.19;2.86;180.00;0.00
MODSLOT;module_slot;2; 99 ;0.00;-1.61;4.27;2.86;5.71;0.00
MODSLOT;module_slot;2; 99 ;2.05;-0.65;2.72;0.00;0.00;314.00
MODSLOT;module_slot;2; 99 ;-2.24;-0.53;2.72;0.00;0.00;228.00
//; ----------------------------- SHIP MODULES --------------------------------------
//; ----- MODULE,slot,module_id
<MODULE>
//; ----------------------------- SHIP CARGO -----------------------------------------
//; ----- CARGO, qty, cargo_id
<CARGO>
uraniborg Jun 27, 2019 @ 9:13am 
Ok, the number of parts does not seem excessive to me. I'll load it up later when I get home. There are 3 variables you might want to adjust, the ship_collider_x, _y, and _z. I believe these control how the ship interacts with objects in space, like crashing into stations or asteroids, etc. They probably need to be larger values.
momoguru  [developer] Jun 27, 2019 @ 9:53am 
the collider data is no longer needed, as the ship mesh creates the collider at runtime now.

look at the MODSLOT id's, u need to ID them in sequence... they are all 2, and need to be 1,2,3,4,5... and so on.

the image is created via the save PNG in the ship editor. this button will create the image for the ship.
SculptComics Jun 27, 2019 @ 11:04am 
Thanks friends,
I will look much harder at my file, hopefully not mess it up more. My only trouble now is that even when I take it's picture in the ship editor. It is not displayed in the Ship Editor (Load Ship display), nor in the Shipyard list on the station menu, though I can see it's file in the ship directory. As well, no purchase button displays.

I appreciate everyone's input. This is a nice community of players and Devs.
Best Regards,
Ken
momoguru  [developer] Jun 27, 2019 @ 12:18pm 
//; ASTROX IMPERIUM SHIP EDITOR //; Jace Masula 2017 //; -------------------------------SHIP MAIN VARS ---------------------------------- //; ---------------------------- Variable name, value ------------------------------ <STATS> SHIP_skill_level;1 SHIP_filename;ship_data_(megaship_1) SHIP_id;0 SHIP_name;Megaship SHIP_class;Destroyer SHIP_base_shield;7000 SHIP_base_armor;7000 SHIP_base_energy;7000 SHIP_base_cargo;20000 SHIP_base_speed;0 SHIP_base_turn;0.10 SHIP_base_thrust;500 SHIP_base_mass;40 SHIP_collider_x;1.5 SHIP_collider_y; 1.5 SHIP_collider_z;4 SHIP_active_slots;15 SHIP_passive_slots;12 SHIP_base_lifesupport;700 SHIP_base_engine_burn;0.75 SHIP_base_recharge;0.20 SHIP_base_scan_speed;30 SHIP_base_scan_max_targets;10 SHIP_base_scan_pulserange;15000 SHIP_base_scan_pulsespeed;15 SHIP_type;Battle SHIP_base_price;6200 SHIP_impact_resistance;0.50 SHIP_energy_resistance;0.50 SHIP_explosive_resistance;0.50 SHIP_engine_color;1;1;1;1 SHIP_description;The destroyer class ships are slightly larger than their cousins, the carriers. The destroyer can carry additional module slots, and come ready with advanced targeting and electronic systems. SHIP_manufacturer;G.E.M. SHIP_manufacturer_icon;icon_gem.png SHIP_shield;0 SHIP_armor;0 SHIP_energy;0 SHIP_ls_food;0 SHIP_ls_water;0 SHIP_ls_thermal;0 SHIP_ls_waste;0 SHIP_base_drones;0 //merc stuff SHIP_owner;none SHIP_xp;0 SHIP_next_level_xp;10000 SHIP_level;1 SHIP_talent;Combat SHIP_loyalty;10 SHIP_payroll;50 //; --------------------------------- SHIP PARTS ----------------------------------- //; --------------- ITEM,type,catID,pfID,xp,yp,zp,xr,yr,zr-------------------------- <ITEM> ITEM;wing_9;0; 74 ;0.00;1.92;-3.90;270.76;94.29;177.14 ITEM;wing_9;0; 74 ;2.85;-0.66;-4.03;3.00;88.19;182.71 ITEM;wing_9;0; 74 ;-2.88;-0.60;-4.05;0.00;268.58;0.00 ITEM;wing_9;0; 74 ;-0.02;-3.12;-3.89;89.97;271.30;0.00 ITEM;wing_9;0; 74 ;0.00;1.44;0.71;270.76;94.29;177.14 ITEM;engine_0;0; 30 ;-1.33;-0.62;-3.13;0.00;0.00;0.00 ITEM;engine_0;0; 30 ;1.30;-0.62;-3.13;0.00;0.00;0.00 ITEM;engine_0;0; 30 ;0.00;-1.90;-3.13;0.00;0.00;0.00 ITEM;engine_0;0; 30 ;0.00;0.71;-3.13;0.00;0.00;0.00 ITEM;hull_medium_3;0; 7 ;-1.81;-1.01;1.07;0.00;0.00;45.00 ITEM;hull_medium_3;0; 7 ;1.70;-1.01;1.07;0.00;0.00;315.00 ITEM;engine_9;0; 39 ;-0.05;-1.05;-4.36;0.00;0.00;180.00 ITEM;engine_9;0; 39 ;0.00;-0.20;-4.36;0.00;0.00;0.00 ITEM;engine_4;0; 34 ;-2.44;-2.23;-1.08;0.00;0.00;90.00 ITEM;engine_4;0; 34 ;2.34;-2.26;-1.14;0.00;0.00;270.00 ITEM;mast_1;0; 41 ;-2.49;-2.26;-1.04;90.00;0.00;0.00 ITEM;mast_1;0; 41 ;2.33;-2.26;-1.04;90.00;0.00;0.00 ITEM;hull_main_3;0; 13 ;0.01;0.83;-0.61;0.00;0.00;0.00 ITEM;hull_main_3;0; 13 ;0.00;1.22;2.59;0.00;180.00;0.00 ITEM;Hull_tiny_1; 4 ; 14 ;-0.65;0.00;6.83;0.00;0.00;90.00 ITEM;Hull_tiny_1; 4 ; 14 ;0.13;0.00;6.83;0.00;0.00;90.00 ITEM;Hull_tiny_1; 4 ; 14 ;0.59;0.00;6.83;0.00;0.00;90.00 ITEM;Hull_tiny_1; 4 ; 14 ;-0.21;0.00;6.83;0.00;0.00;90.00 ITEM;wing_2; 4 ; 84 ;2.21;-0.56;1.17;0.00;180.00;317.29 ITEM;wing_2; 4 ; 84 ;-1.64;-1.16;-1.18;0.00;180.00;222.29 ITEM;wing_2; 4 ; 84 ;1.74;-1.01;-1.18;0.00;180.00;317.29 ITEM;wing_2; 4 ; 84 ;-2.28;-0.56;1.17;0.00;180.00;221.29 ITEM;command_0; 4 ; 20 ;-0.02;0.32;6.87;0.00;0.00;0.00 //; ----------------------------- SHIP CAMERA SLOTS -------------------------------- //; -------------- PILOTCAM,name,SLOTid,model_id,xp,yp,zp,xr,yr,zr-------------------- <PILOTCAM> PILOTCAM;pilot_cam; 5 ; 98 ;-0.03;0.18;8.10;0.00;0.00;0.00 //; ----------------------------- SHIP MODULE SLOTS -------------------------------- //; -------------- MODSLOT,name,SLOTid,model_id, ammo_id,xp,yp,zp,xr,yr,zr---------- <MODSLOT> MODSLOT;module_slot;1; 99 ;-1.26;0.08;5.88;2.86;0.00;90.00 MODSLOT;module_slot;2; 99 ;1.39;0.08;5.80;2.86;0.00;90.00 MODSLOT;module_slot;3; 99 ;-0.81;0.89;-0.66;2.86;0.00;90.00 MODSLOT;module_slot;4; 99 ;0.91;0.89;-0.66;2.86;0.00;90.00 MODSLOT;module_slot;5; 99 ;0.95;1.48;2.68;2.86;0.00;90.00 MODSLOT;module_slot;6; 99 ;-0.73;1.48;2.67;2.86;0.00;90.00 MODSLOT;module_slot;7; 99 ;0.00;1.93;2.72;2.86;0.00;0.00 MODSLOT;module_slot;8; 99 ;0.00;0.65;6.62;0.00;0.00;0.00 MODSLOT;module_slot;9; 99 ;0.00;1.66;4.27;2.86;5.71;0.00 MODSLOT;module_slot;10; 99 ;0.00;-1.93;3.03;2.86;5.71;0.00 MODSLOT;module_slot;11; 99 ;0.00;-2.28;-0.72;2.86;5.71;0.00 MODSLOT;module_slot;12; 99 ;0.00;1.50;-1.19;2.86;180.00;0.00 MODSLOT;module_slot;13; 99 ;0.00;-1.61;4.27;2.86;5.71;0.00 MODSLOT;module_slot;14; 99 ;2.05;-0.65;2.72;0.00;0.00;314.00 MODSLOT;module_slot;15; 99 ;-2.24;-0.53;2.72;0.00;0.00;228.00 //; ----------------------------- SHIP MODULES -------------------------------------- //; ----- MODULE,slot,module_id <MODULE> //; ----------------------------- SHIP CARGO ----------------------------------------- //; ----- CARGO, qty, cargo_id <CARGO>

that should fix ur ship. to place this ship into your save game, open your save folder / PILOT / stations / sector_0_station_0.txt and add this line to the HANGAR section

SHIP;8;1.01;ship_data_(megaship_1).txt

make sure your filenames are correct. if the ship text filename does not match the internal filename in the ship file, it will not work. the image filename is identical to the ship filename, just the PNG extension instead of TXT
SculptComics Jun 27, 2019 @ 2:43pm 
Momoguru,

AWESOME! My bad, it was a misspelling, now I need to slow it down. 12,000 mps is a bit much.
This is humbling, THANK YOU for everything! Since I enjoy modeling with Zbrush I would freely and gladly create any content you would like. You can just apply your texture 'maps as you like.

I'm a retired Army soldier and always look for new projects in my copious free time. Just let me know what format you would like the objects in.

One last question, how can I alter the color of the Thruster streaming out from the engines? I'll see if I can figure this one out. Maybe someday different powered thrusters could have different colors eh?

Thank you again for your time.
Ken
astyanyx Jun 27, 2019 @ 3:14pm 
SHIP_engine_color;1;1;1;1

The first 3 numbers are the RGB values, I think the 4th is something like illumination.

https://www.rapidtables.com/web/color/RGB_Color.html

This will help with the colors. We had a modder on the Discord a while back playing with all sorts of engine colors.
uraniborg Jun 27, 2019 @ 4:32pm 
Yes I think the fourth engine color number is brightness. It seems you must edit the color in the .txt file because the ship editor seems to be bugged right now.
uraniborg Jun 27, 2019 @ 9:22pm 
That is a heck of an impressive ship! Very cool!

For some reason a few of the mod slots were flipped the wrong way around and/or were too far off the surface of the ship, so maybe tweak those a bit. The reason it is so fast could be that the mass is only 40, it might need to be closer to 400.
SculptComics Jun 27, 2019 @ 10:56pm 
Thank you both Astanyx and Uraniborg,

I appreciate your feedback. My idea with two of the Mod Slots facing backwards was to cover my blind area but now I remembered I can define the area of coverage for a mod in the game.

I'll be playing around with the engine color and drop the mass of the ship to even 30. That should be more reasonable. Thank you for viewing my ship guys. I am hoping in the future I might submit some model components I can create in Zbrush. Could be interesting.

Such an awesome game.
Ken
uraniborg Jun 28, 2019 @ 5:59am 
The slots facing backwards are a good idea. I just meant several other slots are facing the interior of the ship, they needed to be rotated to face the exterior.
SculptComics Jun 28, 2019 @ 10:44am 
Hi Uraniborg,

Yeah, I fixed that last night. Pretty simple stuff. Edit the ship any way you please and I'll post the latest one I build for any one to do what they please with. I'm a nuub at this but having too much fun. I wonder, how can symmetry be invoked in the Ship Editor? So far I've been eye balling it.

I wish we could import .dxf or .obj files from our own applications to the Ship Editor, it would facilitate unique creations. Perhaps some day.

God Bless,
Ken
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Jun 26, 2019 @ 5:15pm
Posts: 15