Author Topic: Ship table entry problems..  (Read 1112 times)

0 Members and 1 Guest are viewing this topic.

Offline LeGuille

  • Formerly known as Rejindo
  • 27
  • I made a box for you! Now, think outside of it.
Ship table entry problems..
I am getting that annoying message
Code: [Select]
Error: Can't open file
File:C:\projects\freespace2\code\Model\ModelRead.cpp
Line: 1198

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------


I have just tried entering a ship based on the serapis design, with a different skin...it's giving me issues and not recognizing it in FRED. BTW, I am using the HOTU version of FS2.

Here is the table entry:

Code: [Select]

$Name: HLF Camros
$Short name:            HLFight1
$Species: None
+Type: XSTR("Advanced Interceptor", -1)
+Maneuverability:       XSTR("Unknown", -1)
+Armor: XSTR("Unknown", -1)
+Manufacturer:          XSTR("Hammer of Light", -1)
+Description: XSTR(" ", -1)
$end_multi_text
+Tech Description:
XSTR(
"The Camros, in simple terms, is a Serapis body, stripped to the basic hull, and refitted with some kind new armor developed by the Hammer of Light. The Camros is faster, stronger, and more manuverable than it's Serapis counterpart. This fighter is to be considered to be dangerous, and eliminated at all costs. It is beleived that there are only a few hundred of these fighters produced.", -1)
$end_multi_text
+Length: 14 Meters
+Gun Mounts: 2
+Missile Banks: 2

$POF file: camros.pof
$Detail distance:       (0, 70, 200, 700)
$Show damage:           YES
$Density: 1
$Damp: 0.2
$Rotdamp: 0.3
$Max Velocity:          0.0, 0.0, 90.0
$Rotation time:         2.0, 2.1, 2.1
$Rear Velocity:         0.0
$Forward accel:         3.0
$Forward decel:         1.5
$Slide accel:           0.0
$Slide decel:           0.0
$Expl inner rad:        65.0
$Expl outer rad:        85.0
$Expl damage:           45.0
$Expl blast:            1110.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:        ( "Mekhu HL-7" "Akheton SDG" "Morning Star" "Prometheus S" "Prometheus R" "Circe" "Lamprey" "Maxim")
$Allowed Dogfight PBanks:        ( "MorningStar D" "Prometheus D" "Maxim D" "Circe" )
$Default PBanks:        ( "Prometheus R" "Akheton SDG" )
$Allowed SBanks:        ( "Rockeye"  "Tempest" "Harpoon" "Hornet" "TAG-B" "Tornado" "Hornet#Weak" "EMP Adv." )
$Allowed Dogfight SBanks:        ( "Tempest D" "Harpoon D"  "Tornado D" )
$Default SBanks:        ( "Harpoon" "Harpoon")
$SBank Capacity:        ( 60, 30 )
$Shields:               450
$Shield Color: 255 100 100
$Power Output:          3.4
$Max Oclk Speed:        78.0
$Max Weapon Eng:        170.0
$Hitpoints:             330
$Flags: ( "fighter" )
$AI Class: General
$Afterburner:           YES
+Aburn Max Vel: 0.0, 0.0, 205.0
+Aburn For accel: 0.75
+Aburn Fuel: 550.0
+Aburn Burn Rate: 55.0
+Aburn Rec Rate: 35.0
$Countermeasures:       40
$Scan time: 3550
$EngineSnd: 129                   ;; Engine sound of ship
$Closeup_pos:           0.0, 0.0, -27
$Closeup_zoom:          0.5
$Shield_icon:           shieldfv-01
$Ship_icon: iconfighter2v-01
$Ship_anim: ssfighter2v-01
$Ship_overhead: loadfighter2v-01
$Score: 110
$Trail:
+Offset: 9.9 -0.2 2
+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: -9.9 -0.2 2
+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: weapons,        15,0.0
$Subsystem: sensors,        5,0.0
$Subsystem: communications, 5,0.0
$Subsystem: navigation,     5,0.0
$Subsystem: engine, 35,0.0

« Last Edit: March 23, 2005, 01:23:50 am by 2570 »
4 "Beware of the truth.... Although much sought after, truth can be dangerous to the seeker." -- God-Emperor Leto II, God Emperor of Dune

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Ship table entry problems..
It looks like something wrong with the model.  If it was just the table then you'd get a parser error rather than a modelread error.  Try replacing the model reference in your tables with the original Serapis model and see if Fred loads it.  If it does, then it's the model.  If it still fails, then it's the tables.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

  

Offline LeGuille

  • Formerly known as Rejindo
  • 27
  • I made a box for you! Now, think outside of it.
Ship table entry problems..
I tested it, and found it must be my model. Any suggestions?
4 "Beware of the truth.... Although much sought after, truth can be dangerous to the seeker." -- God-Emperor Leto II, God Emperor of Dune

 

Offline LeGuille

  • Formerly known as Rejindo
  • 27
  • I made a box for you! Now, think outside of it.
Ship table entry problems..
AGH!! Nevermind... :hopping:
I fixed it... *slaps hismelf* Thanks for the reply.
4 "Beware of the truth.... Although much sought after, truth can be dangerous to the seeker." -- God-Emperor Leto II, God Emperor of Dune

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Ship table entry problems..
No problem, glad you got it sorted :)
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM