Question about adding effects to weapons
#1
Posted 31 August 2006 - 01:40 AM
is there a way to simply add effects to weapons? I don't mean adding damage nuggets or hit FX etc. but glow effects. I know there should be a way (like the Anduril upgrade that puts a red glow to Aragorn's sword, or Gandalf's Moria staff light) but I can't seem to analyze the way to add it only to the weapon. Or is this effect stuck to the skins?
What I hope to do is to only produce the glow effect during a special power (for example, when using Blademaster the sword gets the blue glow effect which also is used for Frodo's Sting).
#2
Posted 31 August 2006 - 02:20 AM
ModelConditionState = USER_3 Model = YOUR MODEL *use the default model* ParticleSysBone = B_SWORDBONE FireSword FollowBone:Yes End
This will attach your Particle FX to the unit's Sword. If you want to attach it to his stomach, then put in "B_RIBS" or "BAT_RIBS".
Now in your powers main behaviour (the biggest one) write down this line:
SetModelCondition = ModelConditionState:USER_3Now when the power is used the unit has a Firey (is that a word ) Sword!
If you can't make your own FX, here is the one I used in the Example:
INSERT THIS INTO FXPARTICLESYSTEM.INI
FXParticleSystem FireSword System Priority = ALWAYS_RENDER ParticleName = EXSplatHaze.tga Lifetime = 10 10 SortLevel = 1 Size = 0 15 BurstCount = 4 6 InitialDelay = 5 5 IsParticleUpTowardsEmitter = Yes End Color = DefaultColor Color2 = R:185 G:106 B:40 5 Color3 = R:40 G:106 B:185 20 End Update = DefaultUpdate SizeRate = -0.25 -0.25 SizeRateDamping = 1 1 AngleZ = -7 7 AngularDamping = 1 1 End Physics = DefaultPhysics VelocityDamping = 1 1 End EmissionVelocity = OrthoEmissionVelocity End EmissionVolume = LineEmissionVolume EndPoint = X:0 Y:0 Z:15 End Draw = DefaultDraw End End
If you use this in your mod, please give me a line in the Credits
EDIT: For anyone interested in this particle, here is a Screenie of it!
Remember, if you use it, give me a little credit
Edited by Fingulfin, 31 August 2006 - 02:24 AM.
#3
Posted 31 August 2006 - 03:40 AM
Save the environment, use green text
Some Bullshit Somewhere
#4
Posted 31 August 2006 - 07:25 AM
:/
I first assumed the line after particlesysbone was an FX, but I couldn't find the Anduril line in fxparticlesystem, so I assumed you had to use existing lines in FXlist. But that's quite easy to do, so thanks for answering my question.
I probablly won't give a shot at modding for a while, but when I will, I'll remember to credit you for it.
@Hostile,
As of yet I'm trying to stay out of modeling as much as possible till I at least know most of the INI, but thanks for the tip which I can definitely use in the future.
#7
Posted 02 September 2006 - 10:13 PM
hostile's way doesn't require any modelling at all
How do you name the mesh of the sword? Doesn't that require first seperating the sword from the model?
Btw, Fin, got it working "correctly", although altering the effects/color to my desire will take a while of getting used to.
Edited by Waray, 02 September 2006 - 10:14 PM.
#9
Posted 02 September 2006 - 10:34 PM
Use Paint. Thats what I do
Paint won't let me define new powers I'm trying to make
+I got an RGB editor, kinda handy for using in the FXParticlesystem file.
#10
Posted 02 September 2006 - 11:37 PM
for eg B:60
with the three sets of numbers it gives, red, blue and green. you can see in paint first, what color your FX is more or less going to be.
Edited by J-a-Y, 02 September 2006 - 11:38 PM.
#12
Posted 09 March 2007 - 05:43 PM
when my hero runs , the glow effect comes a little after him , hot can i fix this ?
---------->"the war is upon us"<----------
#14
Posted 09 May 2022 - 07:06 AM
Hallo!
Please, I have a question!
How can I add FX light to sword, when enemies is near?
(For example - how Gandalf´s sword lighting like Frodo´s sting?)
Thnak you!
PS. Sorry for my english. It is not my language.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users