Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: vadar_1 on December 14, 2001, 05:42:00 pm
-
Ok, This is the first time this has ever happened, I made a new ship called the GTB Medusa Adv, after copying the data, only changing a few fields, anytime I run an fs2 mission, any mission, it will crash to desktop on the loading screen. If its relevent, the size of ships.tbl is now 386k, still under 400... anyways, if anyone can make a suggestion on why this crashes it could really help...
$Name: GTB Medusa Adv
$Short name: TBomb4a
$Species: Terran
+Type: XSTR("Heavy Bomber", 3011)
+Maneuverability: XSTR("Good", 3012)
+Armor: XSTR("Heavy", 3013)
+Manufacturer: XSTR("Han-Ronald Corp.", 3014)
+Description: XSTR(" ", 3015)
$end_multi_text
+Tech Description:
XSTR("The GTB Medusa Adv is a joint Terran-Vasudan development project for the past 3 years. The Advanced version is faster, stronger, and
more manuverable then the standard Medusa. Currently, production of the Medusa is Adv is extremly limited.", 3016)
$end_multi_text
+Length: 36 m
+Gun Mounts: 2
+Missile Banks: 3
$POF file: bomber04.pof
$Detail distance: (0, 180, 300, 1300)
$Show damage: YES
$Density: 1
$Damp: 0.15
$Rotdamp: 0.25
$Max Velocity: 0.0, 0.0, 250.0
$Rotation time: 2.5, 2.0, 2.5
$Rear Velocity: 0.0
$Forward accel: 1.0
$Forward decel: 0.5
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 50.0
$Expl outer rad: 100.0
$Expl damage: 25.0
$Expl blast: 2000.0
$Expl Propagates: NO ;; If set to Yes, then when the ship dies, the explosion
propagates through it.
$Shockwave Speed: 0.0 ;; speed shockwave expands at, 0 means no shockwave
$Allowed PBanks: ( "Subach HL-7" "Prometheus S" "Prometheus R" "Lamprey" "Circe" "Maxim")
$Allowed Dogfight PBanks: ( "Subach HL-7" "Prometheus S" "Prometheus R" "Lamprey" "Circe" "Maxim")
$Default PBanks: ( "Prometheus R" )
$Allowed SBanks: ( "Rockeye" "Hornet" "Tornado" "Trebuchet" "Stiletto II" "Piranha" "Cyclops" "EMP Adv." "Infyrno" "Rebel Bomb"
"HeliosAdv" "TAG-B" )
$Allowed Dogfight SBanks: ( "Rockeye" "Hornet" "Tornado" "Trebuchet" "Stiletto II" "Piranha" "Cyclops" "EMP Adv." "Infyrno" "Rebel
Bomb" "TAG-B" "HeliosAdv" )
$Default SBanks: ( "TAG-B" "HeliosAdv" "HeliosAdv" )
$SBank Capacity: ( 40, 80, 80 )
$Shields: 1700
$Shield Color: 100 100 255
$Power Output: 4.0
$Max Oclk Speed: 65.0
$Max Weapon Eng: 100.0
$Hitpoints: 850
$Flags: ( "player_ship" "default_player_ship" "bomber" "in tech database")
$AI Class: Captain
$Afterburner: YES
+Aburn Max Vel: 0.0, 0.0, 100.0
+Aburn For accel: 0.3
+Aburn Fuel: 300.0
+Aburn Burn Rate: 5.0
+Aburn Rec Rate: 25.0
$Countermeasures: 95
$Scan time: 2000
$EngineSnd: 127 ;; Engine sound of ship
$Closeup_pos: 0.0, 0.0, -51
$Closeup_zoom: 0.5
$Shield_icon: shield-b04
$Ship_icon: iconbomber04
$Ship_anim: ssbomber04
$Ship_overhead: loadbomber04
$Score: 10
$Trail:
+Offset: 11 -3.4 -2.93
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 120
+Bitmap: Contrail01
$Trail:
+Offset: -11 -3.4 -2.93
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 120
+Bitmap: Contrail01
$Subsystem: turret01a,5,1.0
$Default PBanks: ( "Prometheus R" )
$Subsystem: communications, 10, 0.0
$Subsystem: navigation, 10, 0.0
$Subsystem: weapons, 20, 0.0
$Subsystem: sensors, 10, 0.0
$Subsystem: engine, 35, 0.0
HeliosAdv is a custom weapon that I know works from using it before.
-
The max table size is 380kb that's why its crashing.
-
Heh, and if anyone knows the limits to the tbls, it's Woosey. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif)
Get the clean ships.tbl here: http://www.3dap.com/hlp/staff/setekh/cleanships.zip ("http://www.3dap.com/hlp/staff/setekh/cleanships.zip") (Shrike, I put it in mine, because I think you deleted it from yours)
Its reduced size will allow space for the extra ships you want. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
-
That is kind of strange, since one of my really old ships.tbl versions went up to somewhere around 395k without having any problems. Maybe it varies from computer to computer?
[This message has been edited by CP5670 (edited 12-14-2001).]
-
It shouldn't... I know Shrike and I both experienced the 380k limit, and Woosey has so many ships that he has to keep a sharp eye on it. Don't know, really. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif)
-
It's 380 for me, also.
-
yup, it is 380k, which kinda sucks, i had to delete spacehunk, and the SJD Sathanas. O well.
-
Just delete all the comments.
Open it in word or something, scroll down to the
;; Comments on what this operation does
Copypaste that into the find/replace and replace it with one space.
You'll delete 30 chars or so with the longer lines.
------------------
~Space Kitsuné
6-tailed modder.
-
Deleting comments is the best way to do it and if you want comments for modded ships, supply them outside of the game.
-
380K...I just hit it again today in testing.
-
Guys, just use the cleanships.tbl - all the work has been done for you already (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
-
Ice told me he ran into a few...uh.... undocumented features with mine.
I have to go through it and make sure all the entries match up with [V] ones. I thought I had, but some of the capship HP totals might be a bit high.
BTW, my cleanships is buried in the mods folder on our FTP, if you're looking for it Setekh.
-
Originally posted by Shrike:
Ice told me he ran into a few...uh.... undocumented features with mine.
Heh, undocumented features. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
Well, I guess you could just start from a clean ships.tbl again and then do the good old search and replace. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
-
*curses profusely*
I could. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif) It's probably faster to sweep through and check the entries tho.
-
Makes sense. If there are any funky errors, post 'em. Like giving the Orion 1,000,000 hitpoints instead of 100,000. (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)