Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Reprobator on November 03, 2010, 03:57:43 am
-
Hi,
I'm actually looking after destroyable engine (via engine0x-destroyed and the appropriate table) , I've trying to make a destroyer with destroyable engine but i could not manage to make it work ingame, now here is my quesion :
Do you know a ship present in the media vps that would feature those destroyable engine ? it would help me to understand how it fully works (pcs2 setting + table)
Thanks in advance.
-
try this
basically you need a separate mesh within the model file that is parented to the detail0
then when you have it in PCS2 you need to give the engine the $special=subsystem flag
after that it is listed like normal in the table
[attachment deleted by admin]
-
Thank you very much i'll try this :)
-
You'd also need to delete the non-mesh Engine subsystem in the subsystem editor.
-
And change the paths to point from the special point to the subobject.
-
Hi,
I'm actually looking after destroyable engine (via engine0x-destroyed and the appropriate table) , I've trying to make a destroyer with destroyable engine but i could not manage to make it work ingame, now here is my quesion :
Do you know a ship present in the media vps that would feature those destroyable engine ? it would help me to understand how it fully works (pcs2 setting + table)
Thanks in advance.
For the record, the HTL Hecate does.
-
The most basic version of the destroyed engine is just to copy the engine subobject (lets call in engine01a) to engine01a-destroyed in the modeling program. Now what does this actually do? You have an engine shaped target instead of a sphere. It goes boom when destroyed and is replaced with the exact same geometry but glows and thrusters turn off. The next basic one would be to retexture the -destroyed part so it looks damaged. Third making some tweaks on the mesh so it looks damaged.
One thing you do not ever want to do is change the overall shape of the -destroyed version or not have one. When it's repaired you end up with glows and thrusters coming from the wrong location if you do and it looks really bad.
-
Thank you all for your advice, it works perfectly right now. :D