Lightning

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
carfanaticphil
Rebel Sergeant
Rebel Sergeant
Posts: 219
Joined: Thu Jul 24, 2008 10:58 am

Lightning

Post by carfanaticphil »

Is there a way you can make lightning actually affect your surroundings? like when it hits the ground, it scorches it? wouldnt you need an effect for that? and before any pre-empted "meh you would need a custom effect", couldnt you use the effects where a blaster bolt hits the ground and it scorches it for a brief period of time and theres abit of smoke?
could you also set it up so that it deals damage to players who happen to be in the firing line?
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Location Location.

Re: Lightning

Post by PsYcH0_]-[aMsT3r »

Hmm... Not to sure about this. The blaster have a collision effect for when it hits the ground. Lightning itself is just a effect but it fires a kinda invisible shot. I think just adding these lines to the ordance for it will make it do the effect, but I make be wrong.

Code: Select all

ImpactEffectSoft    	= "com_sfx_ord_exp"
ImpactEffectRigid   	= "com_sfx_ord_exp"
ImpactEffectStatic  	= "com_sfx_ord_exp"
ImpactEffectTerrain 	= "com_sfx_ord_exp"
ImpactEffectWater   	= "com_sfx_watersplash_ord"
Last edited by PsYcH0_]-[aMsT3r on Thu Oct 30, 2008 11:43 am, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Lightning

Post by Teancum »

How much lightning are you talking? Even in really awful rainstorms lightning only strikes every couple'a minutes, meaning it's still very unlikely you'll ever be hit by it.

Then again I don't know what you're shooting for.
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Location Location.

Re: Lightning

Post by PsYcH0_]-[aMsT3r »

Oh! I thought you meant force-lightning. Anyway you might be able to make it as a dispensable weapon but I don't know about a random lightning strike.
Last edited by PsYcH0_]-[aMsT3r on Thu Oct 30, 2008 11:49 am, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Lightning

Post by Teancum »

My mistake. I misread his post.
PsYcH0_]-[aMsT3r
2nd Lieutenant
2nd Lieutenant
Posts: 405
Joined: Fri Jan 25, 2008 3:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Location Location.

Re: Lightning

Post by PsYcH0_]-[aMsT3r »

Wait. This is confusing. Were just stuck contradicting ourselfs. I think its force-lightning he means. Anyway, assuming it is, just add those lines I posted and it should effect the ground like a shot but I think it'll only do it once in a burst.
User avatar
carfanaticphil
Rebel Sergeant
Rebel Sergeant
Posts: 219
Joined: Thu Jul 24, 2008 10:58 am

Re: Lightning

Post by carfanaticphil »

lol no i dont mean force lightning :P i mean what tean said, actual lightning from clouds :)
it doesnt matter about the occasionally hitting you thing, i just want to know if you can add something that makes it affect the ground, and possibly to hurt you.
ooooh, could there be something that makes it attraaaact to a certain player, on whatever circumstances like lowest health or lowest stamina or whatever.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Lightning

Post by DarthD.U.C.K. »

you want a waepon that causes a "lightning orbital strike"?
im not shure if thats possible, but it could work
im shure you can make it hurting the unit that fires it, but i cant find the odf-parameter for that
User avatar
carfanaticphil
Rebel Sergeant
Rebel Sergeant
Posts: 219
Joined: Thu Jul 24, 2008 10:58 am

Re: Lightning

Post by carfanaticphil »

yeh, like an orbital strike beakon, but just one long, continuous beam of lightning.
Tygr
Corporal
Corporal
Posts: 150
Joined: Mon Aug 25, 2008 1:11 pm

Re: Lightning

Post by Tygr »

This just game me an awesome idea; Palpatine's Force Storm! You could have him "summon" it, (He would drop an invisible orbital strike beacon) and then several lightning strikes would hit in a relatively small area around him.

It would make Palpatine a lot more canon, I think. He seemed awful wimpy in the game, and don't get me started on the stock Force Lightning sound effect... :roll:
Post Reply