Author Topic: Minor request conserning shockwaves  (Read 1358 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Minor request conserning shockwaves
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.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline FireCrack

  • 210
  • meh...
Re: Minor request conserning shockwaves
Yeah, seems a bit off here...
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Minor request conserning shockwaves
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.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Minor request conserning shockwaves
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. :-/
-C