Mil Ship Engine and Exhaust Placement

Tips, tactics, and general discussion for Evochron Legacy.
Accountant
Lieutenant
Lieutenant
Posts: 434
Joined: Wed Dec 24, 2008 2:13 am
Location: Milwaukee, WI

Mil Ship Engine and Exhaust Placement

Post by Accountant »

I am toying around with creating a military ship model and noticed that EL automatically creates an engine and places it on the model. I have created engines for the model so this is redundant and makes the model look bad. Is there a way to prevent the auto-insertion of the stock engines?

Also, is there a way to tell EL where the main engine exhaust will come out of, or do I need to place the engines of the ship to match the pre-determined exhaust point?

-Accountant
Enforcing GAAP in the outer systems since 2407.

Callsigns: [CPA]Accountant and Dark Helmet
Mods: EL Observation Cockpit | Dragonfly | Swallow | ER/EL Hud Mod | Sphere and Sphere Cockpit
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

Mil Ship Engine and Exhaust Placement

Post by Maarschalk »

I think al the military ship use engine 10 so just replace the engine10.x with the one you created.
The placement and exhaust are fixed thou I believe.;)
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good
Accountant
Lieutenant
Lieutenant
Posts: 434
Joined: Wed Dec 24, 2008 2:13 am
Location: Milwaukee, WI

Mil Ship Engine and Exhaust Placement

Post by Accountant »

The problem with doing that is that it will change the engine for any frame that uses it. That prevents the player from switching frames if (s)he wants.

Also, something else I forgot. I am trying to create a custom texture for the ship, but am unable to. The ship is called frame22.x and the texture is called frame22.jpg, but the default texture is still applied. Is there a way to apply custom textures?

-Accountant
Enforcing GAAP in the outer systems since 2407.

Callsigns: [CPA]Accountant and Dark Helmet
Mods: EL Observation Cockpit | Dragonfly | Swallow | ER/EL Hud Mod | Sphere and Sphere Cockpit
Nigel_Strange
Captain
Captain
Posts: 1254
Joined: Fri Mar 25, 2005 5:51 am

Mil Ship Engine and Exhaust Placement

Post by Nigel_Strange »

That's how I applied the custom texture. I did notice, though, that the texture did NOT show up in the shipyard or on any other craft. The only way I was able to see it was to buy the ship and fly it out, then use a 3rd person view to look at it.
Accountant
Lieutenant
Lieutenant
Posts: 434
Joined: Wed Dec 24, 2008 2:13 am
Location: Milwaukee, WI

Mil Ship Engine and Exhaust Placement

Post by Accountant »

Thanks for the info about the textures, Nigel.

I have decided to go with the default textures. I have found a way to accomplish what I want and still make it look good.

The question about the engine remains, though.

-Accountant
Enforcing GAAP in the outer systems since 2407.

Callsigns: [CPA]Accountant and Dark Helmet
Mods: EL Observation Cockpit | Dragonfly | Swallow | ER/EL Hud Mod | Sphere and Sphere Cockpit
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Mil Ship Engine and Exhaust Placement

Post by Vice »

I am toying around with creating a military ship model and noticed that EL automatically creates an engine and places it on the model. I have created engines for the model so this is redundant and makes the model look bad. Is there a way to prevent the auto-insertion of the stock engines?
You can place a nearly blank engine component in place of the default object. Even just a cube scaled to be extremely small would work to essentially remove it.
Also, is there a way to tell EL where the main engine exhaust will come out of, or do I need to place the engines of the ship to match the pre-determined exhaust point?
Both are options. To instruct the game to change the exhaust placement, use a file named exhaust.txt in the \\ships folder. Use the following values in each line:

EnginePosD = Float value to set the initial exhaust outlet placement distance from the default position.
EnginePosV = Float value to set the initial exhaust outlet vertical placement from the default position.
EngineScaleX = Float value to set the X scale value.
EngineScaleY = Float value to set the Y scale value.
EngineScaleZ = Float value to set the Z scale value.

So the file might look like:

0.0
0.0
100.0
100.0
100.0

Not sure how well this will work as it's not really an officially implemented option, but the system is in place to allow for these modifications in build 1.188. You can test changes to this file by just exiting to the main menu, then relaunching back into the game. You don't need to exit from the game entirely each time you want to test changes.
Also, something else I forgot. I am trying to create a custom texture for the ship, but am unable to. The ship is called frame22.x and the texture is called frame22.jpg, but the default texture is still applied. Is there a way to apply custom textures?
Check the filename carefully, make sure it doesn't have a double extension (ie frame22.jpg.jpg), which seems to come up once in a while. Also make sure it's not a lossless format and that it's placed in the \\ships folder along with the mesh itself.

[Edited on 12-17-2009 by Vice]
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
Accountant
Lieutenant
Lieutenant
Posts: 434
Joined: Wed Dec 24, 2008 2:13 am
Location: Milwaukee, WI

Mil Ship Engine and Exhaust Placement

Post by Accountant »

You can place a nearly blank engine component in place of the default object. Even just a cube scaled to be extremely small would work to essentially remove it.
Would this also change the engine component for all other frames, though? So, if I were to do this, and someone switched to a civy frame with the same engine class, then would the engine not appear on their civy ship?

Thanks for everything else, Vice. I will give the engine exhaust text file a try.

-Accountant
Enforcing GAAP in the outer systems since 2407.

Callsigns: [CPA]Accountant and Dark Helmet
Mods: EL Observation Cockpit | Dragonfly | Swallow | ER/EL Hud Mod | Sphere and Sphere Cockpit
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Mil Ship Engine and Exhaust Placement

Post by Vice »

Yes, it would be a global change for that engine class, similar to how the frames work.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
warsign
Captain
Captain
Posts: 1771
Joined: Thu Apr 24, 2008 10:04 am

Mil Ship Engine and Exhaust Placement

Post by warsign »

You need an example, please check out "eclipse military fighter" for changing engine model and whole texturing, might be help...
Accountant
Lieutenant
Lieutenant
Posts: 434
Joined: Wed Dec 24, 2008 2:13 am
Location: Milwaukee, WI

Mil Ship Engine and Exhaust Placement

Post by Accountant »

Thanks for the suggestion, Warsign. I have decided to use Vice's workaround and use the default textures. Creating my own textures would take a while and probably not look as good.

-Accountant
Enforcing GAAP in the outer systems since 2407.

Callsigns: [CPA]Accountant and Dark Helmet
Mods: EL Observation Cockpit | Dragonfly | Swallow | ER/EL Hud Mod | Sphere and Sphere Cockpit
warsign
Captain
Captain
Posts: 1771
Joined: Thu Apr 24, 2008 10:04 am

Mil Ship Engine and Exhaust Placement

Post by warsign »

Result looks so good, I think I was late :)