Announcement

Collapse
No announcement yet.

Shell hull model?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    @seven
    yeah ive did that myself already with those engine cvars
    i totally love blood and decals and such staying forever. and even in huge maps i dont get any less performance from it at all

    have those myself to like this:
    cl_decals_time "10000"
    cl_decals_max "131072"

    and i personally dont get any less performance from them
    .
    are you curious about what all there is out there in terms of HD content for quake?
    > then make sure to check out my 'definitive' HD replacement content thread! <
    everything that is out there for quake and both mission-packs, compiled into one massive thread

    Comment


    • #17
      Huh, I missed your message Seven. Thanks for the heads-up. I'll look at SMC code and play around a bit

      Comment


      • #18
        You can also check how I did it in the IQ reprise thread. It is not perfect as it lacks sound and it ignores player yaw, but it can be a start.
        Contradiction is truth. Fear is freedom. Rights are privileges. Job is a commodity. Ignorance is strength.

        Comment


        • #19
          Hello ezzetabi,

          You need to sync their angles to the players angles.

          Lets say you call your entity "shellcasing":
          makevectors (self.angles);
          shellcasing.angles = self.v_angle;
          shellcasing.angles_x = shellcasing.angles_x * -1; // old Quake bug ;-)

          And do not forget to take the players view-offset into account.
          Otherwise the casings will never be spawned at the correct position when aiming upwards/downwards. Look at the SMC nail-position-correction lines and use it for the shells as well. Should look a little something like this:
          ejectpos = self.origin + self.view_ofs + v_forward * 10 + v_right * 2 + v_up * -8;
          setorigin (shellcasing, ejectpos);

          Good luck,
          Seven

          Comment


          • #20
            Thanks for the heads up with ejectpos, in fact I was setting it as self.origin....
            Contradiction is truth. Fear is freedom. Rights are privileges. Job is a commodity. Ignorance is strength.

            Comment

            Working...
            X