Personal mod - I need some pointers/help
I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
posted on December 19th, 2010, 2:35 am
I'm trying to add a few of my fav Star Ship mods from ST:A2 into FO, I've gotten 2 down, but the two I'm working on I've hit road blocks that have stomped me.
The first one I'm going to try and start over, and see if I can fix it that way, but incase I can't. Does any one know why I'm not getting a build button in the ship yard build menue? I have the BuilditemX = "ftcruiser" (I replaced the 'X' with the right number) I went into GUI_Golbal and put in the right stuff for a custom build button icon, which I made my self. I also went into the files in the Techtree folder, and placed "ftcruiser 0" in there, put the SOD, ODF, Bitmap, and textures in the right spots. I modified the ODF file so it matchs the other star ship ODF files in FO, and it still doesn't give me a button to click on, not even a space where the button should be.
My secound problem, is I have the starship's files, and codes right, but every time I try to build it, the yard start's building an "error" model, and then the game crashes, I kind of wish there was a tool to test and help me debug my errors and tell me what's missing.
I'm not planing on releasing these mods, cause they're not really my own, I'm just moding them to work in FO cause I don't want to go to full screen every time I want to play A2, ST: A2 doesn't suport my monitor size and shape, and I have dual screens and I like to watch movies as I play my games.
The first one I'm going to try and start over, and see if I can fix it that way, but incase I can't. Does any one know why I'm not getting a build button in the ship yard build menue? I have the BuilditemX = "ftcruiser" (I replaced the 'X' with the right number) I went into GUI_Golbal and put in the right stuff for a custom build button icon, which I made my self. I also went into the files in the Techtree folder, and placed "ftcruiser 0" in there, put the SOD, ODF, Bitmap, and textures in the right spots. I modified the ODF file so it matchs the other star ship ODF files in FO, and it still doesn't give me a button to click on, not even a space where the button should be.
My secound problem, is I have the starship's files, and codes right, but every time I try to build it, the yard start's building an "error" model, and then the game crashes, I kind of wish there was a tool to test and help me debug my errors and tell me what's missing.
I'm not planing on releasing these mods, cause they're not really my own, I'm just moding them to work in FO cause I don't want to go to full screen every time I want to play A2, ST: A2 doesn't suport my monitor size and shape, and I have dual screens and I like to watch movies as I play my games.
posted on December 19th, 2010, 3:13 am
Techtree requires .odf extension on each unit. Try "ftcruiser.odf 0" in the techtree.
posted on December 19th, 2010, 4:34 am
I just checked my tech1 and my Freetech files and they both say
"[glow=green,2,300]eximus.odf 0[/glow]
[glow=red,2,300]fcruise4.odf 0[/glow]
[glow=Orange,2,300]ftcruiser.odf 0[/glow]
[glow=green,2,300]fshadow.odf 0[/glow]"
at the bottom of each of them.
the one in Red is the file I'm not getting any luck with, and the one in orange is the one I'm getting to build, but is crashing the game when I build it, also the ones in green, are the ones I've gotten to work, the Eximus needs some work tho
And does any one know how to add building icons for the building ques, and also the little ship image for where every thing is?
"[glow=green,2,300]eximus.odf 0[/glow]
[glow=red,2,300]fcruise4.odf 0[/glow]
[glow=Orange,2,300]ftcruiser.odf 0[/glow]
[glow=green,2,300]fshadow.odf 0[/glow]"
at the bottom of each of them.
the one in Red is the file I'm not getting any luck with, and the one in orange is the one I'm getting to build, but is crashing the game when I build it, also the ones in green, are the ones I've gotten to work, the Eximus needs some work tho

And does any one know how to add building icons for the building ques, and also the little ship image for where every thing is?
posted on December 19th, 2010, 4:36 am
Last edited by Dominus_Noctis on December 19th, 2010, 4:38 am, edited 1 time in total.
I would recommend that you peruse the modding section of the guide, as it should mention most of what you are interested in 
Modding - The Hitchhiker's Guide to Fleet Operations
This page will probably help the most, as it links to much of what is needed to add in ships
Adding a Ship / Station - The Hitchhiker's Guide to Fleet Operations

Modding - The Hitchhiker's Guide to Fleet Operations
This page will probably help the most, as it links to much of what is needed to add in ships

Adding a Ship / Station - The Hitchhiker's Guide to Fleet Operations
posted on December 19th, 2010, 4:42 am
Thanks hopefully I can have my little problems fixed before I fix it with my fist into my screen. And I thought moding Star Craft 2 and Halo was frustrating. 

posted on December 19th, 2010, 4:44 am
My current theory is that the ship's race might not be right. I presume they are federation ships, and in FO the fed's odf name is 'unitedfederation' rather then just 'federation' like in A2. If the race is not matching it won't show up. If you want you could put the odfs here and I'll scan them to see if anything is out of the ordinary. 

posted on December 19th, 2010, 6:25 am
Yeah I'll do that, cause I got it so it doesn't come up as an error, now it's at lest showing a model of the ship, but as soon as it get's very close to finshing, the game crashes.
both of the ships I'm having problems with are Federation ships.
The first Ship, the one I've had the most problems.
And here's the one that's crashing the game.
And as you can see the secound ship's code, I've grouped up some the code up so I can find and change code easier.
both of the ships I'm having problems with are Federation ships.
The first Ship, the one I've had the most problems.
- Code: Select all
basename = "fcruise4"
unitname = "Interceptor Class"
tooltip = "Interceptor Class"
verbosetooltip = "fcruise4.odf"
hotkeylabel = "GAME-HOTKEY-C"
race = "unitedfederation"
buildtime = 25.0
crewcost = 250
dilithiumcost = 225
tritancost = 100
supplycost = 8
worthxp = 50
xplevel = 1
nextrankclass = "fcruise42"
nextrankxp = 25
recycledilithium = 102
recycletritanium = 113
recyclesupply = 5
recycletime = 52
maxhealth = 330
curhealth = 330
healthrate = 5
maxshields = 500
curshields = 500
shieldrate = 0.75
shieldgeneratorhitpoints = 53
engineshitpoints = 48
weaponshitpoints = 48
lifesupporthitpoints = 63
sensorshitpoints = 53
maxspecialenergy = 500
specialenergyrate = 4.561
attackpower = 1.000
intrinsicvalue = 1.000
physicsfile = "smooth_physics_130.odf"
trekphysicsfile = "smooth_physics_130.odf"
weapon1 = "fedW_intrepidY1"
weaponhardpoints1 = "hp01"
weapon2 = "fedW_intrepidY1"
weaponhardpoints2 = "hp02"
weapon3 = "fedW_nebular1"
weaponhardpoints3 = "hp03" "hp05" "hp07" "hp09" "hp11"
weapon4 = "fedW_nebular1"
weaponhardpoints4 = "hp04" "hp06" "hp08" "hp10" "hp12"
weapon5 = "fed_tricobalt"
weaponhardpoints5 = "hp13"
weapon6 = "fed_sensorsynergy"
weaponhardpoints6 = "hp29"
weapon7 = "passive_fasttargeting"
weaponhardpoints7 = "root"
enginestargethardpoints = "hp23" "hp24" "hp25" "hp26" "hp27" "hp28"
lifesupporttargethardpoints = "hp06" "hp07" "hp08" "hp09" "hp10" "hp11"
weaponstargethardpoints = "hp01" "hp02" "hp03" "hp04" "hp05"
shieldgeneratortargethardpoints = "hp17" "hp18" "hp19" "hp20" "hp21" "hp22"
sensorstargethardpoints = "hp12" "hp13" "hp14" "hp15" "hp16"
hulltargethardpoints = "hp17" "hp18" "hp19" "hp20" "hp21" "hp22"
criticaltargethardpoints = "hp01" "hp02" "hp03" "hp04" "hp05"
weapon1iconpos = 70 50
weapon2iconpos = 70 50
weapon3iconpos = 60 50
weapon4iconpos = 60 50
weapon5iconpos = 80 40
weapon6iconpos = 75 50
weapon7iconpos = 65 50
possiblecraftnames = "USS Interceptor" "USS Firefly" "USS Dauntless" "USS Stingray" "USS Protector"
"USS Millennium" "USS Buccaneer" "USS Raptor" "USS Highlander" "USS Falcon" "USS Gladiator" "USS Repulse" "USS Abernethy" "USS Agrippa" "USS Aird" "USS Alps" "USS Ammann" "USS Andoria" "USS Appomatox" "USS Archaeopteryx" "USS Avempace" "USS Avondale" "USS Baker" "USS Bangkok" "USS Bard" "USS Betelgeuse" "USS Blackwood River" "USS Blyth" "USS Bosporus" "USS Bruce" "USS Buchanan" "USS Calvo" "USS Campanella" "USS Cassini" "USS Cheng" "USS Chicago" "USS Churchill" "USS Cicero" "USS Cliff" "USS Colorado" "USS Columbus" "USS Coode" "USS Corinth" "USS Cross" "USS Darcy" "USS Devegowda" "USS Drake" "USS Eads" "USS Eberhardt" "USS Economy" "USS Eiffel" "USS Erfurt" "USS Erne" "USS Fitzmaurice" "USS Flynt" "USS Frankfurt" "USS Fuller" "USS Fulton" "USS Galtieri" "USS Geddes" "USS Giles" "USS Griffith" "USS Halcrow" "USS Hamburg" "USS Hawksley" "USS Hayle" "USS Himalaya" "USS Hindley" "USS Hohmann" "USS Homeland" "USS Hunderson" "USS Hyannis" "USS Jellett" "USS Kansas" "USS Kennedy" "USS Kodiak" "USS LeMay" "USS Lexington" "USS Lindley" "USS Lloyd" "USS Loki" "USS Long Road" "USS Madrid" "USS Maja" "USS Marlin" "USS Merrimack" "USS Mississippi" "USS Missouri" "USS Morgana" "USS Moscow" "USS Nostromo" "USS October" "USS Othello" "USS Platon" "USS Pluto" "USS Poseidon" "USS Renown" "USS Salisbury" "USS Saussure" "USS Scilia" "USS Shooting Star" "USS Shukhov" "USS Sprite" "USS Taurus" "USS Tripoli" "USS Triton" "USS Turin" "USS Valdivia" "USS Venice" "USS Vienna" "USS Virlogeux" "USS Webster" "USS Amsterdam" "USS Apache" "USS Arctica" "USS Atlantica" "USS Ayer" "USS Badland" "USS Bailey" "USS Barracuda" "USS Basilone" "USS Blumberg" "USS Bonaparte" "USS Bosch" "USS Boynton" "USS Budapest" "USS Bynar" "USS Calabria" "USS Cavalry" "USS Charles" "USS Commeron" "USS Crick" "USS Crowell" "USS Danan" "USS Davis" "USS Delaware" "USS Dessalines" "USS Devi" "USS Dutton" "USS Elliot" "USS Essex" "USS Evans" "USS Fahrenheit" "USS Falcata" "USS Gallant" "USS Gettysburg" "USS Harrison" "USS Hartman" "USS Hawkins" "USS Henderson" "USS Hessen" "USS Hinto" "USS Hoplite" "USS Hotspur" "USS Hunting Fox" "USS Icarus" "USS Inchon" "USS Jain" "USS Jarl" "USS Jerusalem" "USS Khe Sanh" "USS Knox" "USS Kyushu" "USS Lafayette" "USS Lamia" "USS Laplace" "USS Lewis" "USS Lynx" "USS Martinez" "USS Maryland" "USS Mayflower" "USS Meyers" "USS Monk" "USS Morningstar" "USS Muir" "USS Ocean" "USS Ottawa" "USS Palladio" "USS Panther" "USS Patton" "USS Providence" "USS Rand" "USS Regatta" "USS Reno" "USS Rhino" "USS Rollins" "USS Roswell" "USS San Diego" "USS Savior" "USS Scepter" "USS Schilt" "USS Shorter" "USS Sierra" "USS Silver Flare" "USS Singer" "USS Solomon" "USS Spiculum" "USS Stephen" "USS Teagarden" "USS Teich" "USS Templar" "USS Thresher" "USS Timberwolf" "USS Trafalgar" "USS Vegas" "USS Verite" "USS Vesuv" "USS Vicksburg" "USS Wasserman" "USS Windcatcher" "USS Zechariah" "USS Zephyr"
shipclass = "cruiser"
shiptype = "C"
enginesrepairtime = 1.0
lifesupportrepairtime = 0.25
weaponsrepairtime = 1.0
shieldgeneratorrepairtime = 1.0
sensorsrepairtime = 1.0
avoidanceclass = 6
weldingradius = 0.25
fireball = "x_large_explosion"
eventselect = "Basic2CruiserSelect"
eventacknowledge = "Basic2CruiserAcknowledge"
eventattack = "Basic2CruiserAttack"
eventstop = "Basic2CruiserStop"
eventmove = "Basic2CruiserMove"
eventrepair = "Basic2CruiserRepair"
shipclass = "cruiser"
ainame = "CraftProcess"
officercost = 0
shielddelay = 2
damagedscan = 50.0
enginescrewloss = 10.0f
lifesupportcrewloss = 10.0f
weaponscrewloss = 10.0f
shieldgeneratorcrewloss = 10.0f
sensorscrewloss = 5.0f
lifesupportloss = 2
engineshitpercent = 7.0f
lifesupporthitpercent = 7.0f
weaponshitpercent = 7.0f
shieldgeneratorhitpercent = 1.0f
sensorshitpercent = 0
crewhitpercent = 7.0f
hullhitpercent = 71.0f
ship = 1
has_hitpoints = 1
has_crew = 1
transporter = 1
alert = 1
show_sw_autonomy = 1
show_movement_autonomy = 1
can_explore = 1
combat = 1
can_sandd = 1
buildablebyownerraceonly = 1
specialenergydisplaymode = 1
extraweaponhardpoints = "root"
maxextraweapons = 10
rangescan = 900
shieldhit = "shield_fed_hitS"
shieldhitcritical = "shield_fed_hitcritS"
shielddown = "shield_fed_down"
And here's the one that's crashing the game.
- Code: Select all
////Changeable things
basename = "ftcruiser"
unitname = "Achilles Class"
tooltip = "Achilles Class"
shipclass = "Destroyer"
shiptype = "X"
verbosetooltip = "AUTOTOOLTIP-Eximus.odf"
attackpower = 1.000
worthxp = 47
ScaleSOD = 1
hotkeylabel = "GAME-HOTKEY-o"
// /Ship Cost and Recycle
//Ship Cost
buildtime = 30.0
crewcost = 850
dilithiumcost = 350
tritancost = 50
supplycost = 10
//Recycle
recycledilithium = 119
recycletritanium = 38
recyclesupply = 5
recycletime = 45
/// Rank Level
xplevel = 1
/// Weapons
// Phaser
Weapon1 = "fedW_avalon1"
weaponHardpoints1 = "hp08" "hp09" "hp10" "hp10" "hp11" "hp12" "hp13" "hp14" "hp15" "hp16" "hp17" "hp18" "hp19" "hp20" "hp21" "hp23" "hp24" "hp25" "hp26" "hp27" "hp28" "hp29" "hp31" "hp32" "hp33" "hp34" "hp35" "hp36" "hp37" "hp38"
// Photon Torpedoes
Weapon2 = "fedW_akira_domY2"
weaponHardpoints2 = "hp02"
// Photon Torpedoes
weapon3 = "fedW_excelsior2"
weaponHardpoints3 = "hp03" "hp04"
// Photon Torpedoes
weapon4 = "fedW_galaxy2"
weaponHardpoints4 = "hp05"
// Pulse Phaser
weapon5 = "fedW_phalanx2o"
weaponHardpoints5 = "hp46"
// Pulse Phaser
weapon6 = "fedW_phalanx2o"
weaponHardpoints6 = "hp47"
// Pulse Phaser
weapon7 = "fedW_mirandaii2o"
weaponHardpoints7 = "hp48"
// Pulse Phaser
weapon8 = "fedW_mirandaii2o"
weaponHardpoints8 = "hp49"
// Pulse Phaser
weapon9 = "fedW_defiant1"
weaponHardpoints9 = "hp50"
// Pulse Phaser
weapon10 = "fedW_defiant1"
weaponHardpoints10 = "hp51"
/// Health and Shields
maxhealth = 600
curhealth = 600
healthrate = 1.80
maxshields = 248
curshields = 248
shieldrate = 2.50
/// Hit points
engineshitpoints = 80
weaponshitpoints = 180
lifesupporthitpoints = 100
shieldgeneratorhitpoints = 96
sensorshitpoints = 69
/// Repair Time
enginesrepairtime = 2.0
weaponsrepairtime = 5.0
lifesupportrepairtime = 1.25
sensorsrepairtime = 5.0
shieldgeneratorrepairtime = 10.0
/// Hit Percent
hullhitpercent = 71.0f
engineshitpercent = 7.0f
weaponshitpercent = 7.0f
lifesupporthitpercent = 7.0f
crewhitpercent = 7.0f
sensorshitpercent = 0
shieldgeneratorhitpercent = 1.0f
/// Crew Loss
enginescrewloss = 10.0f
weaponscrewloss = 10.0f
lifesupportcrewloss = 10.0f
lifesupportloss = 2
sensorscrewloss = 5.0f
shieldgeneratorcrewloss = 10.0f
/// Special Energy
maxspecialenergy = 1000
specialenergyrate = 4
/// Target Hard Points
hulltargethardpoints = "hp06" "hp08" "hp10" "hp12" "hp14" "hp16" "hp18" "hp20" "hp22"
criticaltargethardpoints = "hp07" "hp09" "hp11" "hp13" "hp17" "hp19" "hp21" "hp23"
enginestargethardpoints = "hp06" "hp07" "hp08" "hp09" "hp10"
weaponstargethardpoints = "hp02" "hp03" "hp04" "hp05" "hp26" "hp27" "hp28" "hp29" "hp30"
lifesupporttargethardpoints = "hp11" "hp12" "hp13" "hp14" "hp15"
sensorstargethardpoints = "hp01" "hp21" "hp22" "hp23" "hp24" "hp25"
shieldgeneratortargethardpoints = "hp16" "hp17" "hp18" "hp19" "hp20"
/// Ship Names
possiblecraftnames = "USS Achilles" "USS Victory" "USS Pendragon" "USS Cymru" "USS Dreadnought" "USS Immortal" "USS Colossus" "USS Phoenix" "USS harbinger" "USS Grave Mind" "USS Normandy" "USS Revenant" "USS Legion" "USS Hyperion" "USS Mgalekgolo" "USS Sangheili" "USS Hydralisk" "USS Sovereign" "USS Wraith" "USS Nemesis" "USS Stealth" "USS Damian" "USS Rahaf" "USS Tali" "USS Halo" "USS Reaper" "USS Interceptor" "USS Firefly" "USS Dauntless" "USS Protector" "USS Amsterdam" "USS Apache" "USS Arctica" "USS Atlantica" "USS Ayer" "USS Badland" "USS Bailey" "USS Barracuda" "USS Basilone" "USS Blumberg" "USS Bonaparte" "USS Bosch" "USS Boynton" "USS Budapest" "USS Bynar" "USS Calabria" "USS Cavalry" "USS Charles" "USS Commeron" "USS Crick" "USS Crowell" "USS Danan" "USS Davis" "USS Delaware" "USS Dessalines" "USS Devi" "USS Dutton" "USS Elliot" "USS Essex" "USS Evans" "USS Fahrenheit" "USS Falcata" "USS Gallant" "USS Gettysburg" "USS Harrison" "USS Hartman" "USS Hawkins" "USS Henderson" "USS Hessen" "USS Hinto" "USS Hoplite" "USS Hotspur" "USS Hunting Fox" "USS Icarus" "USS Inchon" "USS Jain" "USS Jarl" "USS Jerusalem" "USS Khe Sanh" "USS Knox" "USS Kyushu" "USS Lafayette" "USS Lamia" "USS Laplace" "USS Lewis" "USS Lynx" "USS Martinez" "USS Maryland" "USS Mayflower" "USS Meyers" "USS Monk" "USS Morningstar" "USS Muir" "USS Ocean" "USS Ottawa" "USS Palladio" "USS Panther" "USS Patton" "USS Providence" "USS Rand" "USS Regatta" "USS Reno" "USS Rhino" "USS Rollins" "USS Roswell" "USS San Diego" "USS Savior" "USS Scepter" "USS Schilt" "USS Shorter" "USS Sierra" "USS Silver Flare" "USS Singer" "USS Solomon" "USS Spiculum" "USS Stephen" "USS Teagarden" "USS Teich" "USS Templar" "USS Thresher" "USS Timberwolf" "USS Trafalgar" "USS Vegas" "USS Verite" "USS Vesuv" "USS Vicksburg" "USS Wasserman" "USS Windcatcher" "USS Zechariah" "USS Zephyr"
/// Do Not Touch
intrinsicvalue = 1.000
race = "unitedfederation"
physicsfile = "smooth_physics_130.odf"
trekphysicsfile = "smooth_physics_130.odf"
eventselect = "Basic2CruiserSelect"
eventacknowledge = "Basic2CruiserAcknowledge"
eventattack = "Basic2CruiserAttack"
eventstop = "Basic2CruiserStop"
eventmove = "Basic2CruiserMove"
eventrepair = "Basic2CruiserRepair"
avoidanceclass = 10
weldingradius = 0.25
fireball = "x_large_explosion"
classlabel = "craft"
ainame = "CraftProcess"
officercost = 0
shielddelay = 2
damagedscan = 50.0
ship = 1
has_hitpoints = 1
has_crew = 1
transporter = 1
alert = 1
show_sw_autonomy = 1
show_movement_autonomy = 1
can_explore = 1
combat = 1
can_sandd = 1
buildablebyownerraceonly = 1
specialenergydisplaymode = 1
extraweaponhardpoints = "root"
maxextraweapons = 20
rangescan = 800
shieldhit = "shield_fed_hitM"
shieldhitcritical = "shield_fed_hitcritM"
shielddown = "shield_fed_down"
And as you can see the secound ship's code, I've grouped up some the code up so I can find and change code easier.
posted on December 19th, 2010, 6:47 am
for the first ship, I notice you have "shipclass = "cruiser"" in the odf twice and no classlabel. I might bet some latinum that that's the cause. 
For the second ship I think you put the weapon ordanance files for the weapons instead of the weapon names. I notice for example you have "fedW_mirandaii2o" when I think it should be "fedW_mirandaii2" (the same situation for all the weapons that have 'o' at the end of their names)
Hopefully that solves the issues.

For the second ship I think you put the weapon ordanance files for the weapons instead of the weapon names. I notice for example you have "fedW_mirandaii2o" when I think it should be "fedW_mirandaii2" (the same situation for all the weapons that have 'o' at the end of their names)
Hopefully that solves the issues.

posted on December 19th, 2010, 9:59 pm
Last edited by Weird_Stealth on December 21st, 2010, 3:48 am, edited 1 time in total.
Thanks, I thought I had all of the 'o's removed from the end of weapon names, but I guess not, and I'll double check the first ships code to see if you're right. It's all ways helpful to have an extra set of eyes. 
I fixed that last ship, still playing with the 1st, also, does any one know how to get a ship other than the repair ship to use the repair tool, plus use the tractor beam? I want to give the Prometheus parts the Tractor beam and the repair tool so they can split up and repair other ships, and drag any that need major repair to a safe place.

I fixed that last ship, still playing with the 1st, also, does any one know how to get a ship other than the repair ship to use the repair tool, plus use the tractor beam? I want to give the Prometheus parts the Tractor beam and the repair tool so they can split up and repair other ships, and drag any that need major repair to a safe place.
Who is online
Users browsing this forum: No registered users and 9 guests