Author Topic: PCS gun normal problem  (Read 1459 times)

0 Members and 1 Guest are viewing this topic.

PCS gun normal problem
Does PCS (the one with gun normal support) actually show you the correct normal for the gun?  On my computer it's always showing straight forward.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: PCS gun normal problem
ive never used pcs's ship viewer for anything more that colision debug. the thing is the normals dont need to be normalized, iirc, the engine will do it for you. just find the spot you want to converge to, and subtract the gunpoint vector from it. if you want it normalized just get the square root of  x*x+y*y+z*z and devide you vector by the result.
« Last Edit: April 20, 2007, 03:19:59 am by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: PCS gun normal problem
Oh, I didn't realize modelviewer support normals besides (0,0,1). That'll make my life a bit easier.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline takashi

  • Better than TrashMan
  • 29
Re: PCS gun normal problem
use modelview for setting normals. its about the only thing its good for other than seeing how it will look ingame.

 
Re: PCS gun normal problem
use modelview for setting normals. its about the only thing its good for other than seeing how it will look ingame.

Actually set them in PCS, choose them in modelview.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline takashi

  • Better than TrashMan
  • 29
Re: PCS gun normal problem
whatever works.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: PCS gun normal problem
0,0,1 WAS the only possible correct normal for a while
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline takashi

  • Better than TrashMan
  • 29
Re: PCS gun normal problem
odd. i always use 0.1, 0, 100 and -0.1, 0, 100.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: PCS gun normal problem
well it doesn't matter cause the game ignored what was in the file until just recently and even then you have to tell it not to ignore it.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: PCS gun normal problem
hey bob, any chance you cant make weapon models respect the gun normals? id like to do some experimentation with sidefire. where guns and missiles are flank mounted too allow circle and shoot manuvers for gunboats and heavy bombers. scripted sidefire indicators would also help pilots place their ordinance on target without having to look out the side window (to avoid an unexpected collision with a large pointy beam canon).
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: PCS gun normal problem
there is a ships flag I believe.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together