shotgun laser [Solved]

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
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

shotgun laser [Solved]

Post by DrDrSheldonLeeCooper »

how does I can make that the shotgun laser looks like this? :
Hidden/Spoiler:
Image
and how does I can make that the shotgun is fully automatically?
thx
Last edited by DrDrSheldonLeeCooper on Tue Jun 17, 2014 6:28 am, edited 1 time in total.
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: shotgun laser

Post by thelegend »

You`ll need to change the color of the shots. The lenght and widht too. Look for the com_weap_inf_shotgun_tracer.odf in sides/ common/ odf. You should be able to change the color and the textur name.
For automaticly change the "shots per clip" values. But I don't know where they can be. Look for them in you shotgun.odf files.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: shotgun laser

Post by Deviss »

please upload com_weap_inf_shotgun.odf, there is the solution :P, like "salvopershot" etc
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: shotgun laser

Post by DrDrSheldonLeeCooper »

thelegend wrote:You`ll need to change the color of the shots. The lenght and widht too. Look for the com_weap_inf_shotgun_tracer.odf in sides/ common/ odf. You should be able to change the color and the textur name.
For automaticly change the "shots per clip" values. But I don't know where they can be. Look for them in you shotgun.odf files.
Thx :)

@Deviss, I can't find a line that helps me to make it automatic :/
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: shotgun laser

Post by JimmyAngler »

Code: Select all

TriggerSingle       = "0"
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: shotgun laser

Post by Deviss »

DrDrSheldonLeeCooper wrote:
thelegend wrote:You`ll need to change the color of the shots. The lenght and widht too. Look for the com_weap_inf_shotgun_tracer.odf in sides/ common/ odf. You should be able to change the color and the textur name.
For automaticly change the "shots per clip" values. But I don't know where they can be. Look for them in you shotgun.odf files.
Thx :)

@Deviss, I can't find a line that helps me to make it automatic :/
com_weap_inf_shotgun.odf
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "cannon"

[Properties]
ScoreForMedalsType = 5
MedalsTypeToLock = 5

AnimationBank = "rifle"

MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 80 80 255"
FlashLength = 0.025
FlashLightColor = "255 192 192 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"

RoundsPerClip = "40"
ReloadTime = "1.75"

ZoomMin = "2.0"
ZoomMax = "2.0"
ZoomRate = "0.0"

TriggerSingle = "1"
ShotDelay = "1.0"

PitchSpread = "3.0"
YawSpread = "4.5"

SpreadPerShot = "1.1"
SpreadRecoverRate = "4.8"
SpreadThreshold = "1.6"
SpreadLimit = "6.0"

StandStillSpread = "0.0"
StandMoveSpread = "0.0"
CrouchStillSpread = "0.0"
CrouchMoveSpread = "0.0"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"

LockOnRange = "40.0"
LockTime = "0.0"
AutoAimSize = "1.0"

MinRange = "0"
OptimalRange = "24"
MaxRange = "48"
AIUseBubbleCircle = "1"
AIBubbleSizeMultiplier = "1.25"

SalvoCount = "1"
ShotsPerSalvo = "8"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"

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

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
ShotsPerSalvo = "8"
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: shotgun laser

Post by JimmyAngler »

shots per salvo is not automatic. it tells the odf how many bullets to fire at once.

SalvoDelay = "0.0" is the delay between each bullet exiting the barrel
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: shotgun laser

Post by Marth8880 »

JimAng is correct. The documentation even agrees:
[color=#FFFFFF]Weapon_Notes.txt[/color] wrote:Yet another new weapon property for your amusement:
TriggerSingle - select automatic fire (0) or single fire (1)
Image
User avatar
KeepAmazinn
First Lance Corporal
First Lance Corporal
Posts: 133
Joined: Tue Aug 06, 2013 2:56 pm
Projects :: No Mod project currently.
Games I'm Playing :: Skyrim
xbox live or psn: Keep Amazinn

Re: shotgun laser

Post by KeepAmazinn »

DrDrSheldonLeeCooper wrote:how does I can make that the shotgun laser looks like this? :
Hidden/Spoiler:
Image
and how does I can make that the shotgun is fully automatically?
thx
What map is that?!
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: shotgun laser

Post by DrDrSheldonLeeCooper »

KeepAmazinn wrote:
DrDrSheldonLeeCooper wrote:how does I can make that the shotgun laser looks like this? :
Hidden/Spoiler:
Image
and how does I can make that the shotgun is fully automatically?
thx
What map is that?!

Geonosis from UBTCW Mod :-)

@all thx for your help :)
Post Reply