Weapon ODF questions

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Weapon ODF questions

Post by skelltor »

i have two wepon odf ?s

1 how would i make a shotgun mine as in a mine that explodes a releases a spray of blaster bolts. i would assume that it has some thing to do with the secondary ord funcition but how do i make the lasers spray 360 degrees?

2 how would i make a shotgun like thing that when u fire it "shoots" like 10 lasers but they dont move just stay suspended in the air damading anyone who walk throught the field i tried making the lasers velocity 0 but it did not damage units.
Last edited by skelltor on Thu Mar 18, 2010 8:29 am, edited 1 time in total.
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: wepon odf ?s

Post by Fiodis »

1. It would probably have to be a similar setup to an "effect" grenade - see here. Specifically, advanced trick 4 on the first post.
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: wepon odf ?s

Post by Knightfire2201 »

2.) Would a dropped invisible autoturret that shotgunned extremly short beams work?

it'd be the only autoturret you could have, though..i think
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: wepon odf ?s

Post by Eggman »

For #2, you could try simply making the velocity very low (as in, 0.1 or lower).
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: wepon odf ?s

Post by Fiodis »

Knightfire2201 wrote:it'd be the only autoturret you could have, though..i think
BF2 Limitations thread wrote:•Every dispensable turret on the map uses the same weapon as the last loaded dispensable turret in the Lua.
You could have more. They'd just have to use the same weapon.
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: wepon odf ?s

Post by Knightfire2201 »

Fiodis wrote:
Knightfire2201 wrote:it'd be the only autoturret you could have, though..i think
BF2 Limitations thread wrote:•Every dispensable turret on the map uses the same weapon as the last loaded dispensable turret in the Lua.
You could have more. They'd just have to use the same weapon.
Yeah. That's what i meant. It wasn't exactly the best wording, though.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: wepon odf ?s

Post by skelltor »

Eggman wrote:For #2, you could try simply making the velocity very low (as in, 0.1 or lower).
i already tried that one but the others i will try soon
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: wepon odf ?s

Post by Sky_216 »

Fiodis wrote:
Knightfire2201 wrote:it'd be the only autoturret you could have, though..i think
BF2 Limitations thread wrote:•Every dispensable turret on the map uses the same weapon as the last loaded dispensable turret in the Lua.
You could have more. They'd just have to use the same weapon.
This "limitation" is wrong. I'm not sure exactly how preventing it works, think it has something to do with loading from different sides or using different class parents.
Post Reply