Page 1 of 1

Lightning Door

Posted: Thu May 13, 2010 3:48 pm
by StarkillerMarek
I am trying to add a "lightning" door to this :
Hidden/Spoiler:
Image

I want it to have something like the endor generator effect. I sent up nulls as hp_emitter1, hp_emitter2, etc., but it seems like a model can only have one "Emitter" in its odf. I would like it also to cause damage if a player touches it. I tried looking at the hp_lighting.fx, but I didn't really understand any of it. Any help is appreciated.

Re: Lightning Door

Posted: Thu May 13, 2010 3:54 pm
by Maveritchell
You can put as many hardpoints on a model as you want.
Ex.

Code: Select all

[GameObjectClass]       

ClassLabel      =   "prop"
GeometryName    =   "cis_fedcruiser_commandroom_engine.msh"


[Properties]        

GeometryName    =   "cis_fedcruiser_commandroom_engine"

AttachEffect = "spa_steamgrate"
AttachToHardPoint = "hp_steam_1"
AttachToHardPoint = "hp_steam_2"
AttachToHardPoint = "hp_steam_3"
AttachToHardPoint = "hp_steam_4"

AttachOdf = "spa_light_cisengblu"
AttachToHardPoint = "hp_enginelt2_1"
AttachToHardPoint = "hp_enginelt2_2"
AttachToHardPoint = "hp_enginelt2_3"
AttachToHardPoint = "hp_enginelt2_4"

AttachOdf = "spa_light_impenglt"
AttachToHardPoint = "hp_enginelt1_1"

AttachEffect = "empire_halo2"
AttachToHardPoint = "hp_enginelt3_2"
AttachToHardPoint = "hp_enginelt3_3"


FoleyFXGroup    = "metal_foley"
Use a damage region to make the player take damage.

Re: Lightning Door

Posted: Thu May 13, 2010 3:56 pm
by StarkillerMarek
Oh, I did not know you could do that, thanks. Unfortunately, it looks like I will have to setup the effect myself, since I don't see a stock effect I could use.

Re: Lightning Door

Posted: Thu May 13, 2010 8:29 pm
by FragMe!
Just to clarify, you are actually trying to make a lightning barrier as opposed to a "door" that will make the lightning go away as you walk up to it.
If it is a door then you don't have to worry about damage as the door will open way before he can touch it.

As for a lightning effect how about seeing how close the force lightning effect comes to your needs, if nothing else it may give you are starting place for your desired effect.

Re: Lightning Door

Posted: Fri May 14, 2010 6:48 am
by SW_elite
Probably a stupid question, but how do you get a "damage" region instead of a death region?

Re: Lightning Door

Posted: Fri May 14, 2010 7:52 am
by Maveritchell
SW_elite wrote:Probably a stupid question, but how do you get a "damage" region instead of a death region?
You use a "damageregion" instead of a "deathregion." Take a look at Zeroeditor.

Re: Lightning Door

Posted: Fri May 14, 2010 12:12 pm
by StarkillerMarek
FragMe! wrote:Just to clarify, you are actually trying to make a lightning barrier as opposed to a "door" that will make the lightning go away as you walk up to it.
If it is a door then you don't have to worry about damage as the door will open way before he can touch it.

As for a lightning effect how about seeing how close the force lightning effect comes to your needs, if nothing else it may give you are starting place for your desired effect.
I guess it would be more of a barrier, then a door. I'm starting to second guess how I am going to do this, as I want the lightning barrier there for a time, and then later I want it to go away.


Thanks for the ideas, though.

Re: Lightning Door

Posted: Fri May 14, 2010 9:54 pm
by lucasfart
What they do in the stock campaigns is make a separate object for the barrier and kill that object when they want to let you through.....

Re: Lightning Door

Posted: Fri May 14, 2010 11:49 pm
by Commander_Fett
yeah, if you just model a few bars for the door you can make it an object and spawn it/kill it at will.

Re: Lightning Door

Posted: Sat May 15, 2010 3:14 am
by lucasfart
Is it possible to make an animated/static prop use an effect, like the lightning? Because that would probably solve all your problems...

Re: Lightning Door

Posted: Sat May 15, 2010 2:33 pm
by StarkillerMarek
lucasfart wrote:Is it possible to make an animated/static prop use an effect, like the lightning? Because that would probably solve all your problems...
Yes, there is and I know how, I just don't think that it will do what I want to do at this point. I think I am just going to model a separate object, and maybe attach the effect to that.

Re: Lightning Door

Posted: Sat May 15, 2010 4:23 pm
by FragMe!
A good example of a there not there damage region and effects is the the turbine generator on Tantive IV. It actaully attaches the effect as damage effects of which you can have many.
Damage is set to start at 100 and once it goes below 80 percent damage the effect goes away.

Re: Lightning Door

Posted: Mon May 17, 2010 11:10 am
by StarkillerMarek
That would probably to do what I wanted. My real problem is still settin up the effect. There's a lot of stuf that goes into an effect file, and I have literally no experiece with setting up effects.