Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Wanderer on December 08, 2005, 08:40:51 am
-
I have had some little problems with SoL mods shockwaves recently but i got them finally sorted out by looking code rather closely. So at the moment:
weapons.cpp:
"$Shockwave Model:" sci->name
"$Shockwave Name:" sci->pof_name
ship.cpp:
"$Shockwave Model:" sci->pof_name
"$Shockwave Name:" sci->name
I really do not care which one means which but it would be nice to have the same type of entry in different type of tables (ships.tbl and weapopns.tbl respectively) to function in a similar manner. I'm no coder but for me there seems to be a minor error in there.
-
Yeah, seems a bit off here...
-
Hmm, it used to be correct...
Looks like WMCoolmon changed it with the 2.142 commit. I'll go ahead and fix that but WMC may have intended something else to go there so it may change again when he gets the chance to look it over.
-
My bad. :)
The only thing I wanted to do with that section of code was use the parse_shockwave() function for both, but apparently the order in ships and weapons tables are different. :-/