Quake3World.com Forums
     Programming Discussion
        Modifying .efx file


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Modifying .efx file

Recruit
Recruit
Joined: 08 Aug 2016
Posts: 6
PostPosted: 08-19-2016 09:48 AM           Profile Send private message  E-mail  Edit post Reply with quote


Another day, another problem. ;) Probably simple to solve.
I'm trying to rotate fx_runner, which generates some sort of smoke. Giving it "angle <number>" key does nothing, adding info_notnull and linking it to the effect with "target" and "targetname" also won't affect direction. I think it might be hard-coded by .efx file, but I have absolutely no experience in modifying those, and that's why I'm here. :P

Code:
repeatDelay            300

Particle
{
   spawnFlags         absoluteVel evenDistribution rgbComponentInterpolation

   life            2000

   delay            0 2000

   rotation         0 360

   rotationDelta      10 -10

   velocity         0 -250 0 0 -150 0

   gravity            -300 -250

   rgb
   {
      start         0.9451 0.9529 0.9725 0.6549 0.7608 0.6941
   }

   alpha
   {
      start         0
      end            0.1 0.05
      parm         1
      flags         wave
   }

   size
   {
      start         64 60
      end            200 160
      flags         linear
   }

   shaders
   [
      gfx/effects/snowpuff2
      gfx/effects/Wcloud
   ]
}


What should I change to rotate my smoke generator? Any clues?




Top
                 
Quake3World.com | Forum Index | Programming Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.