Special Weapon properties

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
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Special Weapon properties

Post by Anakin »

Hi,

i'm looking for two special weapon properties:
1.: mine chain: While i hold the rigth mouse button my Unit (in this case a snowspeeder) throwes one mine after the other, till i release the button. It's something simular to the flamethrower. But i don't know how to do it or where the special setting is to make it work this way.

2.: detpack chain: You all know these detpacks. I want my unit (also a snowspeeder) to throw 4 or 5 detpacks in a row and blow them up all together with the next mouse klick. Someone an idea how to do that??


An other problem i have is i just tryed to use the normal mine and detpack dispenser it works really great. But the items are always droped in front of me. If i throw one of the above and make a roll, or the turn trick or even use the boost the items stick on my selfe. for the mines it is not so a big problem but if on detpack stick on me i only can blow up my selfe.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Special Weapon properties

Post by Noobasaurus »

For the mines, this should do the trick.

Code: Select all

TriggerSingle       = "0"
For the detpacks, you can make it so they all blow up when you hold the button down and not simply press it.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Special Weapon properties

Post by Anakin »

ok thank you i'll try the mine thing.

about the detpack. that would be ok for me, too. i thought on something like the stock detpack dispenser, but that in my case not one but 4 are dispensed.
have you a code example on how you would do that (with holding the button down)??


==EDIT==

The mine chain works fine :D Thanks a lot for this. But the detpack dispenser still das not work.

here is the odf:
I thought the shots per salov will do it but it doesn not work
Hidden/Spoiler:
[code]
[WeaponClass]
ClassLabel = "detonator"

[Properties]
HUDTag = "hud_rc_detpack"

OrdnanceName = "veh_weap_detpack_ord"

RoundsPerClip = "4"
ShotDelay = "0.5"
ReloadTime = "3.0"
InitialSalvoDelay = "0.25"

SalvoCount = "1"
ShotsPerSalvo = "4"

TriggerAll = "1"

//AnimationBank = "grenade"

OffhandWeapon = 1
TrackingSound = ""

MaxItems = "4.0"

RefillFromItem = "0"

AutoAimSize = "1.0"

//MaxPressedTime = "0.5"
MinStrength = "-2.0"
MaxStrength = "-2.0"

TargetEnemy = "1"
TargetNeutral = "1"
TargetFriendly = "1"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"
TargetMine = "1"


[/code]
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Special Weapon properties

Post by thelegend »

I think you should change this lines:
Hidden/Spoiler:
[code][WeaponClass]
ClassLabel = "detonator"

[Properties]
HUDTag = "hud_rc_detpack"

OrdnanceName = "veh_weap_detpack_ord"

RoundsPerClip = "1" //this one
ShotDelay = "0.5"
ReloadTime = "3.0"
InitialSalvoDelay = "0.25"

SalvoCount = "4" //this two lines too
ShotsPerSalvo = "1"

TriggerAll = "1"

//AnimationBank = "grenade"

OffhandWeapon = 1
TrackingSound = ""

MaxItems = "4.0"

RefillFromItem = "0"

AutoAimSize = "1.0"

//MaxPressedTime = "0.5"
MinStrength = "-2.0"
MaxStrength = "-2.0"

TargetEnemy = "1"
TargetNeutral = "1"
TargetFriendly = "1"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"
TargetMine = "1"[/code]

I don't know if that helps. Never tried it before but I think something should work.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Special Weapon properties

Post by Anakin »

mh thanks for your advice, but it still does not work.

Maybe some new Ideas??
Post Reply