Jump to content


Photo

Black Word Of Power

fxparticle wordofpower map.ini

  • Please log in to reply
3 replies to this topic

#1 Expendables

Expendables
  • New Members
  • 4 posts

Posted 08 February 2018 - 04:58 PM

Hi there,

 

just a short question about changing particle colors through map.ini

 

is it possible to make the special ability "WordOfPower" black?

cause normally black should be R:0 G:0 B:0 0 but if you change it to that it seems invisible ingame ...

by the way i have no idea what the fourt zero/number stands for.

 

here is my code: 

 

FXParticleSystem GandalfBlastFinalLight
  System
    Priority = ALWAYS_RENDER
    ParticleName = EXexplo01.tga
    Lifetime = 10 10
    SystemLifetime = 5
    SortLevel = 1
    Size = 10 10
    BurstCount = 2 2
  End
  Color = DefaultColor
    Color1 = R:0 G:0 B:0 0      ; <---- i think this should be edited
    Color2 = R:0 G:0 B:0 10
  End
  Update = DefaultUpdate
    SizeRate = 80 160
    SizeRateDamping = 0.8 0.7
    AngleZ = -1 1
    AngularDamping = 1 1
    AngularDampingXY = 1 1
  End
  Physics = DefaultPhysics
    Gravity = 1
    VelocityDamping = 1 1
  End
  EmissionVelocity = OutwardEmissionVelocity
    Speed = 1 1
  End
  EmissionVolume = PointEmissionVolume
  End
  Draw = DefaultDraw
  End
End
 
;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 
FXParticleSystem GandalfBlastFinalShockWave
  System
    Priority = ALWAYS_RENDER
    ParticleName = EXRing01.tga
    Lifetime = 50 50
    SystemLifetime = 50
    SortLevel = 1
    Size = 1 1
    BurstCount = 1 1
    IsGroundAligned = Yes
  End
  Color = DefaultColor
    Color1 = R:0 G:0 B:0 0        ; <---- and this
    Color2 = R:0 G:0 B:0 40
    ColorScale = -40 40
  End
  Update = DefaultUpdate
    SizeRate = 25 55
    SizeRateDamping = 0.9 0.95
    AngleZ = -1 1
    AngularDamping = 1 1
    AngularDampingXY = 1 1
  End
  Physics = DefaultPhysics
    VelocityDamping = 0.8 0.8
  End
  EmissionVelocity = OutwardEmissionVelocity
  End
  EmissionVolume = PointEmissionVolume
    IsHollow = Yes
  End
  Draw = DefaultDraw
  End
End
 
thanks in advance!


#2 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 141 posts
  • Location:Sweden
  •  Mapper

Posted 09 February 2018 - 11:29 PM

If an fx has its "shader" tag set to "additive" (Shader = ADDITIVE), black is counted as transparency so you'll probably want to make a new fxparticlesystem and change that to ALPHA. Then add the alpha values (alpha = defaultalpha, alpha1, alpha2) to make the effect visible. The number after the rgb value would be transparency.

 

I haven't used particle systems that much so somebody else would probably be better at explaining this.


Edited by Jokuc, 09 February 2018 - 11:31 PM.


#3 Expendables

Expendables
  • New Members
  • 4 posts

Posted 10 February 2018 - 02:26 PM

If an fx has its "shader" tag set to "additive" (Shader = ADDITIVE), black is counted as transparency so you'll probably want to make a new fxparticlesystem and change that to ALPHA. Then add the alpha values (alpha = defaultalpha, alpha1, alpha2) to make the effect visible. The number after the rgb value would be transparency.

 

I haven't used particle systems that much so somebody else would probably be better at explaining this.

it is still a little bit bugged or stranged looking, because you see everywhere black squares instead of one "Word of Power Wave" but i think now i will get this done!

 

thank you a lot.



#4 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 141 posts
  • Location:Sweden
  •  Mapper

Posted 10 February 2018 - 02:43 PM

it is still a little bit bugged or stranged looking, because you see everywhere black squares


I'm probably missing something then. Someone else might be able to fill me in here.







Also tagged with one or more of these keywords: fxparticle, wordofpower, map.ini

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users