Page 1 of 1
Weapon ODF questions
Posted: Wed Mar 17, 2010 10:43 am
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.
Re: wepon odf ?s
Posted: Wed Mar 17, 2010 6:20 pm
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.
Re: wepon odf ?s
Posted: Wed Mar 17, 2010 8:02 pm
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
Re: wepon odf ?s
Posted: Wed Mar 17, 2010 9:46 pm
by Eggman
For #2, you could try simply making the velocity very low (as in, 0.1 or lower).
Re: wepon odf ?s
Posted: Wed Mar 17, 2010 10:32 pm
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.
Re: wepon odf ?s
Posted: Thu Mar 18, 2010 6:51 am
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.
Re: wepon odf ?s
Posted: Thu Mar 18, 2010 8:28 am
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
Re: wepon odf ?s
Posted: Fri Mar 19, 2010 5:55 pm
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.