Page 1 of 1

Changin turrets ords

Posted: Sat Feb 24, 2007 11:40 pm
by trainmaster611
I looked for this everywhere in the ODF and I just can't find anything that would allow me to change what the turret shoots out. THere is no reference to an ord file anwhere :?

RE: Changin turrets ords

Posted: Sat Feb 24, 2007 11:59 pm
by -_-
Which one?

RE: Changin turrets ords

Posted: Sun Feb 25, 2007 12:01 am
by trainmaster611
spa1_prop_imp_shipturret

I defined its side so it does shoot at the enemy like its supposed to. But I plan on editing a few others too.
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "armedbuilding"
GeometryName = "spa1_prop_imp_shipturret.msh"

[Properties]

BUILDINGSECTION = "BODY"
GeometryName = "spa1_prop_imp_shipturret"
MapTexture = "shipturret_icon"
IconTexture = "HUD_all_lascannon_icon"
MapScale = "1.8"
HealthTexture = "HUD_kam_turret_icon"
ExplosionName = "spa2_prop_antenna_descruct_exp"
DestroyedGeometryName = "spa1_prop_imp_shipturret_dam1"

MaxHealth = "20000.0"
RespawnTime = "999999"

BUILDINGSECTION = "TURRET1"

Pilottype = "self"

TurretNodeName = "aimer_y"

PitchLimits = "-20 20"
YawLimits = "-30 30"

PitchTurnFactor = "0.0"

//FirstPerson = "com\comviewf;com_1st_cockpit_viewfinder"
ThirdPersonFOV = "65"
WeaponName = "spa1_weap_imp_shipturret"
WeaponAmmo = "0"

MaxTurnSpeed = "0.04"
MaxPitchSpeed = "0.04"
PitchRate = "0.04"
TurnRate = "0.04"
PCMaxPitchSpeed = "0.2"
PCMaxTurnSpeed = "0.2"
EyePointOffset = "0.0 6.2 -8.3"
TrackCenter = "0.0 15.0 -5.0"
TrackOffset = "0.0 -3.0 10.0"

TURRETSECTION = "TURRET1"

AimerNodeName = "aimer_x"
AimerPitchLimits = "-20 20"
AimerYawLimits = "-30 30"


BarrelNodeName = "spa2_prop_shipturret1_L_GunBarrel_ZaxisRecoil"
BarrelRecoil = "2.5"
FirePointName = "hp_LGun"

NextBarrel = "-"

BarrelNodeName = "spa2_prop_shipturret1_R_GunBarrel_ZaxisRecoil"
BarrelRecoil = "2.5"
FirePointName = "hp_RGun"
[/code]

Re: RE: Changin turrets ords

Posted: Sun Feb 25, 2007 12:10 am
by -_-
trainmaster611 wrote:

Code: Select all

WeaponName           	= "spa1_weap_imp_shipturret"
WeaponAmmo          	= "0"

RE: Re: RE: Changin turrets ords

Posted: Sun Feb 25, 2007 12:12 am
by trainmaster611
Am I supposed to fill out the name of an _ord.odf file there? :?

Posted: Sun Feb 25, 2007 9:51 am
by MercuryNoodles
No, that line calls the weapon odf, which has it's own ord file. Check that if you want to edit it. Is there something specific you're trying to do and need help with?

Let me guess: movie-canon heavy turbolasers, right? :P

Posted: Sun Feb 25, 2007 11:32 am
by trainmaster611
*Physic* :shock:

But you can simply specify a different ord.odf file right? :?

EDIT
I have a better idea, lets edit an easier turret first, all I want to do is change the explosion when it hits another object. Again I can't find anythign relating to an ord (I know there is something for the ord explosion though)
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "armedbuilding"
GeometryName = "rep_bldg_boxturret.msh"

[Properties]

BUILDINGSECTION = "BODY"

MapTexture = "turret_icon"
IconTexture = "HUD_all_lascannon_icon"

MapScale = "0.0"
HealthTexture = "HUD_kam_turret_icon"

GeometryName = "rep_bldg_boxturret"
ExplosionName = "imp_bldg_boxturret_exp"
DestroyedGeometryName = "rep_bldg_boxturret_chunk1"

MaxHealth = "2500.0"
RespawnTime = "120"

BUILDINGSECTION = "TURRET1"

Pilottype = "self"

TurretNodeName = "aimer_head"

PitchLimits = "-15 40"
YawLimits = "-180 180"

PitchTurnFactor = "0.0"

//FirstPerson = "com\comviewf;com_1st_cockpit_viewfinder"
ThirdPersonFOV = "65"
WeaponName = "imp_weap_bldg_boxturret"
WeaponAmmo = "0"

MaxTurnSpeed = "90.8"
MaxPitchSpeed = "90.8"
PitchRate = "90.0"
TurnRate = "90.5"
PCMaxPitchSpeed = "90.0"
PCMaxTurnSpeed = "90.0"
EyePointOffset = "0.0 6.2 -8.3"
TrackCenter = "0.0 8.0 5.0"
TrackOffset = "0.0 -3.0 10.0"

TURRETSECTION = "TURRET1"

AimerNodeName = "aimer_barrels"
AimerPitchLimits = "-15 40"
AimerYawLimits = "0 0"


BarrelNodeName = "barrel1"
BarrelRecoil = "0.5"
FirePointName = "hp_fire1"

NextBarrel = "-"

BarrelNodeName = "barrel2"
BarrelRecoil = "0.5"
FirePointName = "hp_fire2"

TurretYawSound = "turret_whir_yaw_lp"
TurretYawSoundPitch = "0.6"
TurretPitchSound = "turret_whir_pitch_lp"
TurretPitchSoundPitch = "0.6"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip"
TurretDeactivateSound = "vehicle_equip"
TurretStartSound = ""
TurretStopSound = ""

FoleyFXGroup = "metal_foley"

DamageStartPercent = 50.0
DamageStopPercent = 30.0
DamageEffect = "com_sfx_vehiclespark"

DamageStartPercent = 30.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_vehiclespark"
DamageAttachPoint = "hp_spark_1"

////// Chunks //////////

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "rep_bldg_boxturret_chunk2"
ChunkNodeName = ""
ChunkTerrainCollisions = "6"
ChunkTerrainEffect = "com_sfx_explosion_lg"
ChunkPhysics = "FULL"
ChunkOmega = "2.0 2.5 3.0"
ChunkBounciness = 0.45
ChunkStickiness = 0.25
ChunkSpeed = "18.0"
ChunkUpFactor = "20.00"
ChunkTrailEffect = "com_sfx_chunktrail_sm"[/code]

Posted: Mon Feb 26, 2007 2:33 am
by -_-
Dude. I already pointed to you what you need to edit. The _ord file relating to the weapon. If you still dont understand, then that's not my problem.

Posted: Tue Feb 27, 2007 7:14 pm
by trainmaster611
All right I found it. I edited the ImpactEffect in the ord.odf file and made it something else (another effect name) and then I munged but it still is showing me the original impact effects :?

Posted: Wed Feb 28, 2007 12:11 am
by darthtrogsasea
did you put dc: in the tur.lvl entry and did you put common in side and munge it

Posted: Wed Feb 28, 2007 6:12 pm
by trainmaster611
Ok, well I it was a cis and a rep turret I edited so I put the dc: thing in the LUA in front of the rep.lvl and cis.lvl line. Was it supposed go only in front of the tur.lvl line? :?

-[EDIT]- You know what, just ignore this thread. I will probably just let it die unless I have more questions (I don't think so :roll: ).