Buffing station point: dropable item.
Moderator: Moderators
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Buffing station point: dropable item.
The title may sound confusing and all, but what I am aiming to do here is make a dropable object that buffs troops. What I'm talking about is the Damage Reduction and Damage Bonuses. I need to know if I can make this object, use the two bonuses, on a loop, so that all troops around the area get buffed. If it is possible, how can it be done.
I did have one idea of making a new weapon, which gave the buffs, to the auto turret and then just change the texture so it didnt look the same as your normal auto turret. But i dont know how to loop the buffing part.
I did have one idea of making a new weapon, which gave the buffs, to the auto turret and then just change the texture so it didnt look the same as your normal auto turret. But i dont know how to loop the buffing part.
- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Buffing station point: dropable item.
just gonna guess about the "loop" thing. could you make it so that the buff has only X amount of ammo, and make it so it "fires" a new buff every 1 second, and then give it that much ammo accordingly?
or, if the auto turret can only have unlimited ammo, have it "shoot" the buff every second or so, and have a set "self destruct" time
or, if the auto turret can only have unlimited ammo, have it "shoot" the buff every second or so, and have a set "self destruct" time
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: Buffing station point: dropable item.
I had a feeling this would have something to do with LUA... I'm not good with LUA cause I've hardly done any at all...
I don't want it to self destruct... I want it to function like a normal auto turret except it isn't shooting laser, it's giving out Damage Bonus and Damage Reduction boneses.
I don't want it to self destruct... I want it to function like a normal auto turret except it isn't shooting laser, it's giving out Damage Bonus and Damage Reduction boneses.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Buffing station point: dropable item.
you dont have to script lua to make them shoot constantly.
like arkangel said you simply make a n autoturret that has this buff as wepon and fires it constantly
he suggested autodestruct because it would be kinda overpowered otherwise
like arkangel said you simply make a n autoturret that has this buff as wepon and fires it constantly
he suggested autodestruct because it would be kinda overpowered otherwise
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: Buffing station point: dropable item.
You will be able to destroy it... And its not going to be able to shoot, so you drop at your teams base and then all your guys get buffed....
The thing is, how do i get it to keep firering over and over?
The thing is, how do i get it to keep firering over and over?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Buffing station point: dropable item.
just like you keep any other ai-controlled turret firing over and over, i mean which turret doesnt fire constalntly?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Buffing station point: dropable item.
The stock auto turrets will keep on shooting as long as enemy units are around. That said, have your auto turret armed with one of the stock buff weapons with RoundsPerClip and ReloadTime set to zero. Then set TargetFriendly to "1" and Neutral and Enemy to "0" so that the auto turret will only target ally units. Finally remove any lines pertaining unit animations.
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: Buffing station point: dropable item.
Righto! Thanks.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Buffing station point: dropable item.
Add this to its odf.its numbers are right so that it fires constantly
SalvoCount = "100000000"
ShotsPerSalvo = "1"
SalvoDelay = "0.2"
InitialSalvoDelay = "1.0"
SalvoTime = "0.0"
And increase the rounds per clip to 100000000 also.
SalvoCount = "100000000"
ShotsPerSalvo = "1"
SalvoDelay = "0.2"
InitialSalvoDelay = "1.0"
SalvoTime = "0.0"
And increase the rounds per clip to 100000000 also.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Buffing station point: dropable item.
Pretty simple to do, autoturrets have:
That controls how long they live for, and the settings.....LifeTime = "somenumber"
Make a weapon fire automatically + constantly.Controllable = "0"
AutoFire = "1"
- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Buffing station point: dropable item.
man I can't believe I was on the right track with this one 
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
