how do i get the pistols to fire from both guns?
what would the ord and other files (that are needed for this) look like?
(the instructions are some times a little confusing)
DarthD.U.C.K's double pistol assets
thanks
Moderator: Moderators


NullCommando wrote:Add this to your .odf:
Adds the second laser.Code: Select all
SalvoCount = "1" ShotsPerSalvo = "2" ShotPatternCount = "2" ShotPatternPitchYaw = "-0.1 -0.8" ShotPatternPitchYaw = "-0.1 0.8"

Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
UnitType = "support"
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_dc17pistol"
WeaponAmmo = 0
AnimatedAddon = "left_gun"
GeometryAddon = "weap_inf_dc17pistol_l" // the left pistols meshname
AddonAttachJoint = "bone_L_hand"
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_fusioncutter"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 3
WeaponChannel = 1
VOUnitType = 121Code: Select all
[WeaponClass]
ClassParent = "rep_weap_default_dcpistol"
GeometryName = "rep_weap_inf_dc17pistol.msh"
[Properties]
GeometryName = "rep_weap_inf_dc17pistol"
HighResGeometry = "rep_1st_weap_inf_dc17pistol"
OrdnanceName = "rep_weap_inf_dcpistol_ord"
SecondaryOrdnanceName = "rep_weap_inf_dcpistol_ord"
SecondaryOrdnancePeriod = 1
Code: Select all
[WeaponClass]
ClassLabel = "cannon"
[Properties]
ScoreForMedalsType = 0
MedalsTypeToLock = 0
AnimationBank = "187thcmdr"
//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
MinRange = "0"
OptimalRange = "16"
MaxRange = "24"
LockOnRange = "40.0"
LockTime = "0.4"
LockOnAngle = "1.0"
ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"
YawSpread = "0.4"
PitchSpread = "0.4"
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"
HeatPerShot = "0.175"
HeatRecoverRate = "0.3"
HeatThreshold = "0.25"
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "0"
ReloadTime = "2.0"
ShotDelay = "0.2"
TriggerSingle = "1"
MaxPressedTime = "0.0"
DisplayRefire = "0"
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
ShotsPerSalvo = "2"
ShotPatternCount = "2"
ShotPatternPitchYaw = "-0.1 -0.8"
ShotPatternPitchYaw = "-0.1 0.8"
FirePointName = "hp_fire"
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
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"


It still crashed.Code: Select all
AnimationName = "pistol"








...No.. I got them from Ewok when he gave me the Dual Pistol .odfs of his.MandeRek wrote:Wait a second! Those odf lines from null you posted.. Weren't these from Mav', and not released yet?



