Flash grenade?

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
Knightfire2201
Private First Class
Posts: 85
Joined: Fri Dec 04, 2009 4:25 pm
Projects :: building a railgun
Games I'm Playing :: RUSE+HL2+Minecraft
xbox live or psn: TehJellyfish113
Location: See that tank over there? See that idiot trying to take it down with a pistol? Well, that's me...

Flash grenade?

Post by Knightfire2201 »

Would it be possible to make a flash grenade like in Call of Duty in SWBF2? You know, a grenade that temporarly blinds anyone who looks at it? Also, could it affect the AI, so that you, in effect, turned "invisible"?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Flash grenade?

Post by Fiodis »

In short, no. I, and many others, have tried it. The best we can do, it seems, is to make a very bright flash detonation effect and a medium-sized screen shake, so that in effect any humans are paralyzed (unable to make sense out of their jumping screens). Could be -very- useful for MP, but unfortunately AI aren't affected. Their aim remains unaffected, the little snobs.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Flash grenade?

Post by kinetosimpetus »

If you give it a little push also, you can knock over ai enough to give you a short advantage, but not S long as against humans perhaps

http://www.xfire.com/video/113691/

there is my attempt at it.
User avatar
Knightfire2201
Private First Class
Posts: 85
Joined: Fri Dec 04, 2009 4:25 pm
Projects :: building a railgun
Games I'm Playing :: RUSE+HL2+Minecraft
xbox live or psn: TehJellyfish113
Location: See that tank over there? See that idiot trying to take it down with a pistol? Well, that's me...

Re: Flash grenade?

Post by Knightfire2201 »

Alright, thanks for your help.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: Flash grenade?

Post by SW_elite »

If i was making a flash nade i would make it so the players screen lights up commpletly white for arround 3 secconds, not sure what id do for the AI though, maybe just disable them from shooting for arround 2 seconds to make it look like they cant see you.
User avatar
Knightfire2201
Private First Class
Posts: 85
Joined: Fri Dec 04, 2009 4:25 pm
Projects :: building a railgun
Games I'm Playing :: RUSE+HL2+Minecraft
xbox live or psn: TehJellyfish113
Location: See that tank over there? See that idiot trying to take it down with a pistol? Well, that's me...

Re: Flash grenade?

Post by Knightfire2201 »

SW_elite wrote:If i was making a flash nade i would make it so the players screen lights up commpletly white for arround 3 secconds, not sure what id do for the AI though, maybe just disable them from shooting for arround 2 seconds to make it look like they cant see you.
Yeah, but I have no idea how to do that..
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Flash grenade?

Post by Fiodis »

SW_elite wrote:If i was making a flash nade i would make it so the players screen lights up commpletly white for arround 3 secconds, not sure what id do for the AI though, maybe just disable them from shooting for arround 2 seconds to make it look like they cant see you.
We just can't do that, though. That's the problem. If it were that simple we would, but it's not.
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Flash grenade?

Post by bobfinkl »

Fiodis wrote:We just can't do that, though. That's the problem. If it were that simple we would, but it's not.
We CAN, there was a freeze grenade some time ago made by Skyhammer I believe, but it wouldn't look right the AI would be literally frozen there nothing else it would be better to just knock down the AI instead. Also trying to think through this logically, would any of the factions we have in bf2 really be affected by a flash grenade besides the Rebels?
User avatar
Knightfire2201
Private First Class
Posts: 85
Joined: Fri Dec 04, 2009 4:25 pm
Projects :: building a railgun
Games I'm Playing :: RUSE+HL2+Minecraft
xbox live or psn: TehJellyfish113
Location: See that tank over there? See that idiot trying to take it down with a pistol? Well, that's me...

Re: Flash grenade?

Post by Knightfire2201 »

I was thinking of making an Earth map, but for Star Wars, yeah, only the Rebels would really be affected.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Flash grenade?

Post by Sky_216 »

bobfinkl wrote:
Fiodis wrote:We just can't do that, though. That's the problem. If it were that simple we would, but it's not.
We CAN, there was a freeze grenade some time ago made by Skyhammer I believe, but it wouldn't look right the AI would be literally frozen there nothing else it would be better to just knock down the AI instead. Also trying to think through this logically, would any of the factions we have in bf2 really be affected by a flash grenade besides the Rebels?

Most of the credit for freeze nade goes to mastersaitek and mav. And it has an unfortunate tendency to (a) work on everything (vehicles, turrets etc) and can freeze the game.

And fiodis is partly right - we can't just disable the AI from shooting and still have them move.
A workaround is to switch the team of the AI to a third / fourth team that won't attack anyone. Unfortunately you still run into the same stupid freezing errors as the freeze nade causes.

*Might* be possible to rig an orbital strike beacon to fire a choke type weapon that holds people in place while playing an anim, but i've never tried.
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: Flash grenade?

Post by Grev »

The Darktrooper's arc caster has a small push that keeps you from shooting for the few seconds that you're bent over, perhaps if the flash is quick, you could add a quick push, or rather, like Sky said, somehow rig an ordnance that chokes everyone while the effect is in place.
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Re: Flash grenade?

Post by Eggman »

Grev wrote:The Darktrooper's arc caster has a small push that keeps you from shooting for the few seconds that you're bent over, perhaps if the flash is quick, you could add a quick push, or rather, like Sky said, somehow rig an ordnance that chokes everyone while the effect is in place.
That's not a bad idea; the bending down from the push could even look pretty decent, as if the units were trying to shield their eyes.
User avatar
hypshadowthehedgehog
Private First Class
Posts: 88
Joined: Wed Mar 11, 2009 5:38 pm

Re: Flash grenade?

Post by hypshadowthehedgehog »

Couldn't you write into the grenade ordinance a command to turn you invisible, but have it use up your stamina within a few seconds?
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Flash grenade?

Post by Sky_216 »

hypshadowthehedgehog wrote:Couldn't you write into the grenade ordinance a command to turn you invisible, but have it use up your stamina within a few seconds?
No. Very, very No.

You can't just "write in" whatever properties you want. Odfs have a very limited set of properties you can use.
Post Reply