View topic - can you help me modify this CEG to give it more boom?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 16 Sep 2012, 21:20 

Joined: 10 Jul 2009, 22:34
I'm modifying the old CT codebase into a new game and I've got this CEG. Now I want to scale it up to give it an explosion that's about 8x bigger. What numbers should I modify?

Code:
--ct_impact_beamshot_green_big
--Bigger impact CEG for green beam weapons (Drone)
--by Sanada

return {
  ["ct_impact_beamshot_green_big"] = {
    fireballs = {
      air                = true,
      class              = [[CSimpleParticleSystem]],
      count              = 3,
      ground             = true,
      underwater         = 1,
      useairlos          = true,
      water              = true,
      alwaysVisible      = 0,
     properties = {
        alwaysVisible      = 0,
       airdrag            = 0.9,
        colormap           = [[1.0 1.0 1.0 0.04   0.2 0.9 0.2 0.01  0.1 0.8 0.1 0.01]],
        directional        = 1,
        emitrot            = 40,
        emitrotspread      = 32,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, -0.05, 0]],
        numparticles       = 15,
        particlelife       = 9,
        particlelifespread = 5,
        particlesize       = 10,
        particlesizespread = 0,
        particlespeed      = 3,
        particlespeedspread = 5,
        pos                = [[0, 2, 0]],
        sizegrowth         = 1,
        sizemod            = 1,
        texture            = [[tpsmoke2]],
      },
    },
   
    dirtpoofs = {
      air                = false,
      class              = [[CSimpleParticleSystem]],
      count              = 3,
      ground             = false,
      underwater         = 1,
     unit               = false,
     nounit             = true,
      useairlos          = true,
      water              = true,
      alwaysVisible      = 0,
     properties = {
        alwaysVisible      = 0,
       airdrag            = 0.9,
        colormap           = [[0.4 0.3 0.2 0.8    0.2 0.15 0.1 0.8    0.2 0.15 0.1 0.7     0.2 0.15 0.1 0.7]],
        directional        = 1,
        emitrot            = 5,
        emitrotspread      = 25,
        emitvector         = [[0, 1, 0]],
        gravity            = [[0, -1, 0]],
        numparticles       = 10,
        particlelife       = 12,
        particlelifespread = 5,
        particlesize       = 2,
        particlesizespread = 0,
        particlespeed      = 8,
        particlespeedspread = 5,
        pos                = [[0, 2, 0]],
        sizegrowth         = 0,
        sizemod            = 1,
        texture            = [[tpsmoke2]],
      },
    },   
   
    ["groundflash"] = {
   
   alwaysVisible=0,
      flashSize = 24,
      flashAlpha = 0.95,
      circleGrowth = 0.8,
      circleAlpha = 0.3,
      ttl = 6,
      color = [[0.2 0.9 0.2]],
      alwaysvisible=0,
     air=1,
      ground=1,
      water=1,
   },
 
  },


}


Top
 Offline Profile  
 
PostPosted: 16 Sep 2012, 21:48 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
increase:
particlesize - obv
particlelife - particles alive longer: can drift further apart
particlespeed - faster particles drift further apart as well
airdrag - bigger=less slowdown (1=none), makes them drift further apart

groundflash: obvious i think


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.