Help with .ODF files please -1 reply

Please wait...

Lokian

I don't spend enough time here

50 XP

8th December 2006

0 Uploads

18 Posts

0 Threads

#1 11 years ago

Well since i lack the talent to model currently, I've decided to make due moding the .odf files of existing ships. Seems i can't even do that right :(

This is a mod of the downloaded Courageous class. For some reason I can't get it to work.

I copied the different 2700 photons from stock .odf's and added weapons, tweaked some settings, but thats about it. Anyone?

#include "F_BW_destroyer.odf" #include "Repair_tnglate.odf" basename = "F_Courageous"

//********************************************************************** // GENERAL STUFF... //********************************************************************** // Name of Ship class in Ship Display window & in edit mode & tooltip unitName = "Armada class"

// Tooltips tooltip = "courageousclass" verboseTooltip = "Courageousclass_v"

// Race which can build ship & starting race of ship race = "federation"

// Determines whether or not a craft has the capability of getting a targeting boost. -tmob hasTargetingBoost = 1

//Energy per shot energyPerPulsePhaser = 0.50

//********************************************************************** //SHIP SYSTEM INFORMATION //**********************************************************************

// global WEAPON values photonReplenishRate = 0.2 // how fast can i restore my photons weaponsEnergyReplenishRate = 0.4 // how fast can i restore my weapons energy pool weaponPoolDiminishRate = 1.7 // how slowly does my weapons pool diminish energyPerPhoton = 0.2 // how much energy expended when firing a photon torpedo shieldRechargeRateModifier = 0.2 // how fast the shields charge

// General (upgradeable) values the Player sees for each system hullLevel = 35000 weaponsLevel = 10000 sensorsLevel = 5400 enginesLevel = 6250 shieldsLevel = 9000

// WEAPON values numberOfPhaserBeams = 26 numberOfForePhotons = 6 photonSpread = 4 //forePhotonSpread = 6 numberOfAftPhotons = 2 //aftPhotonSpread = 0

// COMMAND POINT COST commandPointCost = 25000 startYear = 2374 endYear = 2730

//********************************************************************** // SHIP NAMES //********************************************************************** possibleCraftNames = "NX Armada" "USS Valiant" " USS Klang" "USS Freedom"

//logoFileNames = "F_Defiant_Logo_1" "F_Defiant_Logo_2" "F_Defiant_Logo_3" "F_Defiant_Logo_4"

//********************************************************************** // ART PARAMETERS & WEAPON NAMES //**********************************************************************

// Defiant's pulse phasers weapon1 = "k_neghvar_pulse" weaponHardpoints1 = "hp16" "hp17" "hp18" "hp19"

// Regular Phasers weapon2 = "breen_tng_phaser_5beam" weaponHardpoints2 = "hp25" "hp26" "hp27" "hp28" "hp29" "hp30" "hp31" "hp32" "hp33" "hp34" "hp35" "hp36" "hp37" "hp38" "hp39" "hp40" "hp41" "hp42" "hp43" "hp44" "hp45" "hp46" "hp47" "hp48"

//*******torpedoes*******************************

// Forward Torpedo Launcher 1 weapon3 = "fed_2700_quantum" weaponHardpoints3 = "hp20"

// Forward Torpedo Launcher 2 weapon4 = "fed_2700_quantum" weaponHardpoints4 = "hp21"

// Forward Torpedo Launcher 3 weapon5 = "fed_2700_pred" weaponHardpoints5 = "hp20"

// Forward Torpedo Launcher 4 weapon6 = "fed_2700_pred" weaponHardpoints6 = "hp21"

//Ventral Rotary Torpedo Launcher 1 weapon7 = "fed_2700_trans" weaponHardpoints7 = "hp23"

//Ventral Rotary Torpedo Launcher 1 weapon7 = "fed_2700_trans" weaponHardpoints7 = "hp23"

//Dorsal Rotary Torpedo Launcher 2 weapon8 = "fed_2700_trans" weaponHardpoints8 = "hp24"

//Dorsal Rotary Torpedo Launcher 2 weapon8 = "fed_2700_trans" weaponHardpoints8 = "hp24"

// Aft Torpedo Launcher 1 weapon9 = "fed_2700_quantum" weaponHardpoints9 = "hp22"

// Aft Torpedo Launcher 2 weapon10 = "fed_2700_pred" weaponHardpoints10 = "hp22"

// Ships Systems*************************************************************** // Warp weapon11 = "gwarp" weaponHardpoints11 = "hp49"

// tractor beam weapon12 = "f_tractor_bm" weaponHardpoints12 = "hp50"

//Self Destruct weapon13 = "gselfdes" weaponHardpoints13 = "hp51" "hp52"

// Cloaking weapon14 = "gkcloak" weaponHardpoints14 = "hp53"

// long range sensor weapon15 = "long_range_sensor" weaponHardpoints15 = "hp14" "hp15" "hp54

// Hardpoints to hit for various systems and other locations. EngineTargetHardpoints = "hp01" "hp02" "hp03" "hp04" "hp05" "hp06" "hp07" "hp08" "hp09" "hp10" WeaponTargetHardpoints = "hp11" ShieldTargetHardpoints = "hp12" "hp13" SensorTargetHardpoints = "hp14" "hp15"

// Sub-System Destruction Effects EngineTargetHardpoints = "hp01" "hp02" "hp03" "hp04" "hp05" "hp06" "hp07" "hp08" "hp09" "hp10" WeaponTargetHardpoints = "hp11" ShieldTargetHardpoints = "hp12" "hp13" SensorTargetHardpoints = "hp14" "hp15"

//********************************************************************** // CHANGE THE SCALE //********************************************************************** realLength = 700

//********************************************************************** // SHIELDS AND DAMAGE //**********************************************************************

hasHull = 1; hasShield = 1; hasWeapons = 1; hasEngines = 1; hasSensors = 1;

selfDestructRadius = 650; // this applies when our ship is destroyed - sls selfDestructDamage = 3000; // the damage applied when we blow up - sls

//********************************************************************** // PHYSICS PARAMETERS //**********************************************************************

// physics file for star trekky physics behavior PhysicsFile = "f_defiant_physics.odf"

//********************************************************************** // Captain Specific VO //**********************************************************************

cameraRadiusScale = 1.8




tiptop

Retired

50 XP

14th August 2005

0 Uploads

481 Posts

0 Threads

#2 11 years ago

Look at the red numbers. //Ventral Rotary Torpedo Launcher 1 weapon[COLOR=red]7[/COLOR] = "fed_2700_trans" weaponHardpoints[COLOR=red]7[/COLOR] = "hp23"

//Ventral Rotary Torpedo Launcher 1 weapon[COLOR=red]7[/COLOR] = "fed_2700_trans" weaponHardpoints[COLOR=red]7[/COLOR] = "hp23"

//Dorsal Rotary Torpedo Launcher 2 weapon[COLOR=red]8[/COLOR] = "fed_2700_trans" weaponHardpoints[COLOR=red]8[/COLOR] = "hp24"

//Dorsal Rotary Torpedo Launcher 2 weapon[COLOR=red]8[/COLOR] = "fed_2700_trans" weaponHardpoints[COLOR=red]8[/COLOR] = "hp24" You have duplicated those weapons. Remove the socond ones, or change the numbers and the "hp" numbers. Next check all the file names. Easy and slowly.




Lokian

I don't spend enough time here

50 XP

8th December 2006

0 Uploads

18 Posts

0 Threads

#3 11 years ago

Ok thank you for that. Can't believe I missed it! >_< Is there any tool for viewing hardpoints on the models? I remember there being one for Armada 2 way back when.




tiptop

Retired

50 XP

14th August 2005

0 Uploads

481 Posts

0 Threads

#4 11 years ago

I don't know any.