FX code
-
Huhu,
atm I have the problem in my mod that the sarma.txm gets deleted every time the mod gets deactivated. I thought about to use a 2nd file for the changed effects (trade lane colour & jump ring color) and change the line in the INIs which refer to those both effects. Well, there is one problem afaik: If you (as client) use an effect file, information about those effect name will get send to the server and to the other players - And if they don’t have the same effect name, they get problems (dunno, what exactly, may be CTDs?).
So a new idea came to my mind. Instead of creating a 2nd file with a different name, I might could use a 2nd directory, but the same file name (and of course I need to change some lines in some INIs ;)) - And the big question now is: Do the “effect transfer” between clients & server also include the directory or only the file name or what exactly?
Note that my mod should still be an optional one.
So….? -
Client-side inis specify where to look for the textures, and client-side ales specify which textures to look for in those. If you add a new txm entry under the effect’s section in the ini, and a new custom txm and/or ale file, it shouldn’t affect other clients since they’ll just apply the effects specified in their own local ini files.
AFAIK only state changes need to be passed between client / server; ie: when a weapon is firing, an engine is on, cruise is engaged, the ship’s position, or things like that. How the effect appears to the client is handled by local ini’s. The server doesn’t need to know how to present an effect or even what effect is used, it just has to be able to tell the client what action the other client is taking.Note: clients DO need to know what equipment each other has mounted
-
Yeah, I just heared about those FX codes etc.
For instance, afaik it isn’t possible to add a new fx with a new name…because this would cause problems - you have to edit old effects if you want to keep it optional -
Another opinions and ideas? ^^