Bonsoir,
je tente de faire apparaître l'onde du pouvoir de peur du roi-sorcier d'angmar (lvl 8, onde rouge) en bleu, donc j'ai modifié les FX et les Particules, mais il continue de me le faire en rouge...
Donc je vous poste mes codes, en espérant que vous trouviez mon erreur, parce que là je sèche
Particules FX : (code de base et déclinaisons)
- Code:
-
FXParticleSystem FearBlast ; Vert Mordor
System
Priority = ALWAYS_RENDER
ParticleName = EXHPgranada.tga
Lifetime = 30 30
SystemLifetime = 5
BurstCount = 1 1
InitialDelay = 20 20
IsGroundAligned = Yes
End
Color = DefaultColor
Color2 = R:100 G:255 B:155 40
Color3 = R:100 G:255 B:155 40
End
Update = DefaultUpdate
SizeRate = 20 35
SizeRateDamping = 0.9 0.9
AngleZ = 0 7
AngularDamping = 1 1
AngularDampingXY = 1 1
End
Physics = DefaultPhysics
Gravity = 0.08
VelocityDamping = 0.8 0.85
End
EmissionVelocity = OutwardEmissionVelocity
End
EmissionVolume = LineEmissionVolume
StartPoint = X:0 Y:0 Z:10
EndPoint = X:0 Y:0 Z:15
End
Draw = DefaultDraw
End
End
FXParticleSystem FearBlastSaur ; Rouge Sauron
System
Priority = ALWAYS_RENDER
ParticleName = EXHPgranada.tga
Lifetime = 30 30
SystemLifetime = 5
BurstCount = 1 1
InitialDelay = 20 20
IsGroundAligned = Yes
End
Color = DefaultColor
Color2 = R:255 G:0 B:0 30
Color3 = R:255 G:0 B:0 40
End
Update = DefaultUpdate
SizeRate = 20 35
SizeRateDamping = 0.9 0.9
AngleZ = 0 7
AngularDamping = 1 1
AngularDampingXY = 1 1
End
Physics = DefaultPhysics
Gravity = 0.08
VelocityDamping = 0.8 0.85
End
EmissionVelocity = OutwardEmissionVelocity
End
EmissionVolume = LineEmissionVolume
StartPoint = X:0 Y:0 Z:10
EndPoint = X:0 Y:0 Z:15
End
Draw = DefaultDraw
End
End
FXParticleSystem FearBlastAWK ; Bleu AngmarWitchking
System
Priority = ALWAYS_RENDER
ParticleName = EXHPgranada.tga
Lifetime = 30 30
SystemLifetime = 5
BurstCount = 1 1
InitialDelay = 20 20
IsGroundAligned = Yes
End
Color = DefaultColor
Color2 = R:0 G:0 B:255 30
Color3 = R:0 G:0 B:255 40
End
Update = DefaultUpdate
SizeRate = 20 35
SizeRateDamping = 0.9 0.9
AngleZ = 0 7
AngularDamping = 1 1
AngularDampingXY = 1 1
End
Physics = DefaultPhysics
Gravity = 0.08
VelocityDamping = 0.8 0.85
End
EmissionVelocity = OutwardEmissionVelocity
End
EmissionVolume = LineEmissionVolume
StartPoint = X:0 Y:0 Z:10
EndPoint = X:0 Y:0 Z:15
End
Draw = DefaultDraw
End
End
1er code : attribué aux gardiens de porte du mordor
2eme code : pareil mais pour sauron
3eme : pour angmarwitchking
Concrètement le seul changement est la couleur.
Ayant défini de nouveaux FX il fallait les définir :
Liste des FX :
- Code:
-
;-----------------------------
FXList FX_FearBlast
ParticleSystem
Name = FearBlast
End
Sound
Name = FearBlast
End
End
;-----------------------------
FXList FX_FearBlastSaur
ParticleSystem
Name = FearBlast
End
Sound
Name = FearBlast
End
End
;-----------------------------
FXList FX_FearBlastAWK
ParticleSystem
Name = FearBlast
End
Sound
Name = FearBlast
End
End
Pouvoir de cri du roi-sorcier d'angmar :
- Code:
-
;---------SCREECH------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_ScreechUnPause
SpecialPowerTemplate = SpecialAbilityScreech
TriggeredBy = Upgrade_Screech
ObeyRechageOnTrigger = Yes
End
Behavior = SpecialPowerModule ModuleTag_Screech
SpecialPowerTemplate = SpecialAbilityScreech
UpdateModuleStartsAttack = Yes
TriggerFX = FX_FearBlastAWK
StartsPaused = Yes
End
Behavior = SpecialAbilityUpdate ModuleTag_ScreechUpdate
SpecialPowerTemplate = SpecialAbilityScreech
UnpackTime = 0
TriggerSound = WitchKingScreechMS
Instant = Yes
EffectRange = 300
End
;Behavior = SpecialAbilityUpdate ModuleTag_TerribleFuryUpdate
;SpecialPowerTemplate = SpecialAbilityScreech
;UnpackTime = 0
;TriggerSound = SauronTerribleFury
;TriggerModelCondition = ModelConditionState:SPECIAL_POWER_2 ;triggered during the unpack phase
;TriggerModelConditionDuration = 35 ;in frames
;UnpackTime = 2000 ;this adds a delay in so that the trigger model condition has time to fire off
;Instant = Yes
;EffectRange = 300
;End
A noter que le rayon en vert s'exécute parfaitement.
Aurais-je fait une erreur de nom ?
Merci d'avance