mod making help

Started by (DW)skelltor, December 15, 2009, 04:00:12 PM

Previous topic - Next topic
December 15, 2009, 04:00:12 PM Last Edit: December 20, 2009, 04:13:00 PM by skelltor
ok so i am using mpm assests for a mod i am making but for the gcw sides for some reson my imp sniper rifle imp torpedo lancher all shotgun and all spyrifle are not working all the time some time they dont shoot when i click but the ammo gos down and they never shoot fast anuff (i have anothe mod that they work fine on but wanted to use the mpmassests for the flamthrower and skins i can put some odfs if that would help also btw can i just make a new wepon in the odfs like a conncusion granade lancher or do i need to mod the reguler granade lancher or what??

help plese

here is the imp sniper rifle odf

unit who uses the sniper rifle

[GameObjectClass]
ClassLabel = "soldier"
GeometryName = "imp_inf_scout.msh"

[Properties]
FootWaterSplashEffect = "watersplash_sm"
WaterSplashEffect = "watersplash_md"
WakeWaterSplashEffect = "watersplash_wade"

Label = "Imperial Scout"
UnitType = "Scout"
IconTexture = "imp_scout_icon"
MapTexture = "troop_icon"
MapScale = 1.4

GeometryName = "imp_inf_scout"
GeometryLowRes = "imp_inf_scout_low1"
AnimationName = "all_inf_snowtrooper"
FirstPerson = "IMP\impscout;imp_1st_scout"
FirstPersonFOV = "70"
ThirdPersonFOV = "65"

HealthType = "person"
MaxHealth = 250.0
AddHealth                     = 8.0

Acceleraton = 70.0
MaxSpeed = 7.5
MaxStrafeSpeed = 4.5
MaxTurnSpeed = 4.0

WeaponName1 = "imp_weap_inf_sniperrifle"
WeaponAmmo1 = 5
WeaponName2 = "imp_weap_inf_flamethrower"
WeaponAmmo2 = 0
WeaponName3 = "imp_weap_inf_thermaldetonator"
WeaponAmmo3 = 20
WeaponChannel3 = 1
WeaponName4 = "imp_weap_inf_remotedroid"
WeaponAmmo4 = 4
WeaponChannel4 = 1

AimFactorPostureSpecial = 10
AimFactorPostureStand = 10
AimFactorPostureCrouch = 10
AimFactorPostureProne = 10
AimFactorStrafe = 10
AimFactorMove = 10


CAMERASECTION = "STAND"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.5"
TiltValue = "5.0"

CAMERASECTION = "STANDZOOM"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "5.0"

CAMERASECTION = "CROUCHZOOM"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "PRONE"

EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"

CAMERASECTION = "PRONEZOOM"

EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "0.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"


AimValue = "1.0"

HurtSound = "imp_inf_com_chatter_wound"
DeathSound              = "imp_inf_com_chatter_death"
AcquiredTargetSound     = "imp_inf_com_chatter_acquired"
HidingSound             = "imp_inf_com_chatter_hide"
ApproachingTargetSound  = "imp_inf_com_chatter_approach"
FleeSound               = "imp_inf_com_chatter_flee"
PreparingForDamageSound = "imp_inf_com_chatter_predamage"
HeardEnemySound         = "imp_inf_com_chatter_heard"
ShockFadeOutTime        = ""
ShockFadeInTime         = ""
ShockFadeOutGain        = ""
ShockSound              = ""
ClothingRustleSound     = ""
LowHealthSound          = ""
LowHealthThreshold      = ".25"
FoleyFXClass            = "imp_inf_trooper"

// squad command VO
SCFieldMoveOutSound = "imp_inf_com_chatter_tac_moveout"
SCFieldHoldSound = "imp_inf_com_chatter_tac_hold"
SCFieldFollowSound = "imp_inf_com_chatter_tac_follow"
SCDriverGetInSound = "imp_inf_com_chatter_tac_needgunner"
SCDriverGetOutSound = "imp_inf_com_chatter_tac_moveout"
SCPassengerMoveOutSound = "imp_inf_com_chatter_tac_spreadout"
SCPassengerStopSound = "imp_inf_com_chatter_tac_stop"
SCPassengerGetInSound = "imp_inf_com_chatter_tac_needgunner"
SCPassengerGetOutSound = "imp_inf_com_chatter_tac_moveout"
SCGunnerAllClearSound = "imp_inf_com_chatter_tac_allclear"
SCGunnerSteadySound = "imp_inf_com_chatter_tac_stop"
SCGunnerGetInSound = "imp_inf_com_chatter_tac_needgunner"
SCGunnerGetOutSound = "imp_inf_com_chatter_tac_moveout"
SCResponseYessirSound = "imp_inf_com_chatter_tac_yes"
SCResponseNosirSound = "imp_inf_com_chatter_tac_no"

// AI squad command VO
AISCFieldMoveOutSound = "ai_imp_inf_com_chatter_tac_moveout"
AISCFieldHoldSound = "ai_imp_inf_com_chatter_tac_hold"
AISCFieldFollowSound = "ai_imp_inf_com_chatter_tac_follow"
AISCDriverGetInSound = "ai_imp_inf_com_chatter_tac_needgunner"
AISCDriverGetOutSound = "ai_imp_inf_com_chatter_tac_moveout"
AISCPassengerMoveOutSound = "ai_imp_inf_com_chatter_tac_spreadout"
AISCPassengerStopSound = "ai_imp_inf_com_chatter_tac_stop"
AISCPassengerGetInSound = "ai_imp_inf_com_chatter_tac_needgunner"
AISCPassengerGetOutSound = "ai_imp_inf_com_chatter_tac_moveout"
AISCGunnerAllClearSound = "ai_imp_inf_com_chatter_tac_allclear"
AISCGunnerSteadySound = "ai_imp_inf_com_chatter_tac_stop"
AISCGunnerGetInSound = "ai_imp_inf_com_chatter_tac_needgunner"
AISCGunnerGetOutSound = "ai_imp_inf_com_chatter_tac_moveout"
AISCResponseYessirSound = "ai_imp_inf_com_chatter_tac_yes"
AISCResponseNosirSound = "ai_imp_inf_com_chatter_tac_no"

AISizeType = "SOLDIER"

DropItemClass = "com_item_powerup_ammo"
DropItemProbability = 0.05
NextDropItem = "-"
DropItemClass = "com_item_powerup_health25"
DropItemProbability = 0.10
NextDropItem = "-"
DropItemClass = "com_item_powerup_health100"
DropItemProbability = 0.10



sniper rifle

[WeaponClass]
ClassLabel       = "cannon"

[Properties]
AnimationBank      = "rifle"
GeometryName       = "imp_weap_inf_sniperrifle"
HighResGeometry         = "imp_1st_weap_inf_sniperrifle"

//***********************************************
//*************   TARGET & RANGE VALUES  **********
//***********************************************

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

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

MinRange      = "32"
OptimalRange      = "64"
MaxRange      = "128"

LockOnRange      = "0.0"
LockTime       = "0.0"
LockOnAngle      = "1.0"

SniperScope      = 1
ZoomFirstPerson      = 1
ZoomMin         = "6.0"
ZoomMax         = "25.0"
ZoomRate      = "0.0"

YawSpread      = "0.0"
PitchSpread      = "0.0"

KickStrength      = "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"

//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************

RoundsPerClip       = "60"
ReloadTime       = "3.0"
ShotDelay       = "0.1"
TriggerSingle      = "1"
MaxPressedTime      = "0.0"

SalvoCount      = "1"
SalvoDelay      = "0.0"
InitialSalvoDelay   = "0.0"
SalvoTime      = "0.0"

OrdnanceName       = "imp_weap_inf_sniperrifle_ord"
FirePointName      = "hp_fire"

//***********************************************
//***********  HUD & CONTROLLER VALUES  *********
//***********************************************

IconTexture      = "IMP_sniperrifle_icon"
ModeTexture      = "HUD_weap_semiauto"
ReticuleTexture      = "reticule_sniper"
ScopeTexture   = "weapon_scope3"

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"

//******************************************************
//***************   SOUND      ****************
//******************************************************

FireSound          = "imp_weap_inf_rifle_fire"
ReloadSound        = "imp_weap_inf_reload_med"
ChangeModeSound    = "imp_weap_inf_equip_med"
FireEmptySound      = "com_weap_inf_ammo_empty"
WeaponChangeSound    = "imp_weap_inf_equip_med"
ClankLeftWalkSound  = ""
ClankRightWalkSound = ""
ClankLeftRunSound   = ""
ClankRightRunSound  = ""
JumpSound           = "imp_weap_inf_rifle_mvt_jump"
LandSound           = "imp_weap_inf_rifle_mvt_land"
RollSound           = "imp_weap_inf_rifle_mvt_roll"
ProneSound          = "imp_weap_inf_rifle_mvt_squat"
SquatSound          = "imp_weap_inf_rifle_mvt_lie"
StandSound          = "imp_weap_inf_rifle_mvt_getup"
[/code]

sniper rifle ord

[OrdnanceClass]
//This area defines the ordnances class and the effects associated with it.
ClassLabel = "bolt"

[Properties]
ImpactEffectWater = "watersplash_ord"

LaserTexture = "greenlaser_d"
LaserGlowColor = "64 224 64 100"
LightColor              = "64 224 64 150"
LightRadius             = "4.0"

LaserLength = "20.0"
LaserWidth = "0.15"
GlowLength = "24"
BlurLength = "32"
FadeOutTime = "1"

ImpactEffectSoft = "ord_explosion"
ImpactEffectRigid = "ord_explosion"
ImpactEffectStatic = "ord_explosion"
ImpactEffectTerrain = "ord_explosion"
ImpactEffectWater = "watersplash_ord"
ImpactEffectShield = "ord_explosion"

ExpireEffect = "ord_explosion"

LifeSpan = "1.15"
Velocity = "2000.0"
Gravity = "1.0"
Rebound = "0.0"


MaxDamage = "140.0"

VehicleScale = "0.0"
ShieldScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.1"

OrdnanceSound = "com_weap_inf_ord_hum_sm"





December 15, 2009, 04:06:47 PM #1 Last Edit: December 15, 2009, 04:08:19 PM by keenmike
Quote from: skelltor on December 15, 2009, 04:00:12 PM
i can put some odfs if that would help
that would be a good place to start. i like reading odfs and understanding why some changes work and others dont.
and the odfs of the ones you are having problems with.
WeaponName1       = "imp_weap_inf_sniperrifle"
WeaponAmmo1       = 5
WeaponName2       = "imp_weap_inf_flamethrower"
WeaponAmmo2       = 0
WeaponName3       = "imp_weap_inf_thermaldetonator"
WeaponAmmo3       = 20
WeaponChannel3      = 1
WeaponName4       = "imp_weap_inf_remotedroid"

ok i put the sniper rifle odfs but the weired thing is that pretty much the same wepons worked in my own mod thing

Skelltor, it has been busy here at the hotel. I like reading odf files and understanding what is done to make changes like we want. A note to swbf1 mod makers, Skelltor still needs help on this. Skelltor, any progress on your mod?

well i copyed and pasted the odfs of my other mod b4 i got the mpm assests to the problem odfs and that got the rocket lancher to shoot most of the time but not always  >:( so i think the problem is in the mpm assests but i really want them cuz i caint get the magna gaurd anywhere else and some neat bodys and skins if somebody has or coulde get just the magna gaurd skellotin and chunks and all the stuff needed to make him work and give or just tell me whats needed to make him work that would be great but on the good side the clone and droid sides woork fine and there is some proggress any help at all would be great

thanks skelltor

Milehighguy, Nexus, Phazon, and some from here. Because I don't know who knows can they also add there names?