View Single Post
Old 04-24-21, 02:12 PM   #63
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by AMZ View Post
That interests me, please, can you just expand , with a few screenshots.
No need for screenshots really, it was a simple mistake I made.

Let's say you want to make a new ship and you call it MyShip. It's folder inside \data\sea will be called MyShip, and it will contain, among other files following .gr2 files:

MyShip.gr2 - main model gr2 file
MyShip_LOD.gr2 - LOD model, simplified, for long distances
MyShip_FX.gr2 - FX file - it doesn't contain any meshes, just bones that determine where SH5 effects will be placed (explosions, fires and such).

The problem I had was that no matter how I moved bones in MyShip_FX.gr2 file, fires and explosions were being played in wrong places. Why?

It turned out I forgot to update a small text file that is also in each ship folder, in our case it would be called MyShip.lst. This file consists of a single line that is a path to FX file responsible for the effects. Because path didn't point to my modified FX file, but to FX file of stock game ship that I used as template, all changes I made to effect placement were ignored by the game.
kapuhy is offline   Reply With Quote