Author Topic: making shivan bombers/fighters flyable thru table hacks  (Read 2197 times)

0 Members and 1 Guest are viewing this topic.

Offline Polpolion

  • The sizzle, it thinks!
  • 211
making shivan bombers/fighters flyable thru table hacks
I am planning on having the player in my campiagn fly in the SB Seraphim (mayby some other shivan craft, too). So I spent forever trying to edit the tables (with a backup, of course) to make an exact copy of that ship (along with the Shivan Light Laser), except player useable. When I try it, It crashes. I'm stumped. I looked at that one guide to tables somewhere (sorry, I forget where) but that didn't help. Any suggestions?

ohh yeah, heres a copy of the table entry that I made:
Code: [Select]
$Name: SB Seraphim (terrans)
$Short name:            SBomb10
$Species: Terran

+Type: XSTR("Heavy bomber", 2993)
+Maneuverability:       XSTR("Nothing to brag about", 2994)
+Armor: XSTR("Very Heavy", 2995)
+Manufacturer:          XSTR("The Shivans", 2996)
+Description: XSTR(" A Shivan bomber ", 2997)
$end_multi_text
+Tech Description:
XSTR( "This is a version of the SB Seraphim modified to accomadate Terran Piolts.", 2998)
$end_multi_text
+Length:          16 m
+Gun Mounts:      3
+Missile Banks:   4
$POF file:              bomber10.pof
$Detail distance:       (0, 250, 400, 1200)
$Show damage:           YES
$Density:               2
$Damp:                  0.2
$Rotdamp:               0.5
$Max Velocity:          19.0, 19.0, 90.0
$Rotation time:         6.0, 6.0, 6.0
$Rear Velocity:         12.0
$Forward accel:         2.5
$Forward decel:         2.0
$Slide accel:           2.0
$Slide decel:           2.0
$Expl inner rad:        75.0
$Expl outer rad:        150.0
$Expl damage:           25.0
$Expl blast:            1500.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: ( "Shivan Light Laser" "UD-8 Kayser" )
$Allowed Dogfight PBanks: ( "Subach HL-7" "UD-8 Kayser" "UD-8 Kayser" )
$Default PBanks:        ( "Shivan Light Laser" "Shivan Light Laser" "Shivan Light Laser" )
$Allowed SBanks:        ( "Trebuchet" "Rockeye" "Tempest"  "Hornet" "Tornado" "Hornet#Weak" "Harpoon" "Harpoon#Weak" "EMP Adv." "TAG-A" "Cyclops" )
$Allowed Dogfight SBanks:        ( "Trebuchet" "Rockeye" "Tempest"  "Hornet" "Tornado" "Hornet#Weak" "Harpoon" "Harpoon#Weak" "EMP Adv." "TAG-A" )
$Default SBanks:        ( "Trebuchet" "Cyclops" "Cyclops" "Trebuchet" )
$SBank Capacity:        ( 40, 40, 80, 80 )
$Shields:               900
$Shield Color: 255 92 92
$Power Output:          4.0
$Max Oclk Speed:        90.0
$Max Weapon Eng:        100.0
$Hitpoints:             500
$Flags:                 ( "player_ship" "default_player_ship" "bomber" )
$AI Class:              Captain
$Afterburner:           YES
+Aburn Max Vel: 0.0, 0.0, 150.0
+Aburn For accel:   0.7
+Aburn Fuel:        300.0
+Aburn Burn Rate:   50.0
+Aburn Rec Rate:    25.0
$Countermeasures:       75
$Scan time:             2000
$EngineSnd: 133                   ;; Engine sound of ship
$Closeup_pos:           0.0, 0.0, -45
$Closeup_zoom:          0.55
$Shield_icon:           shieldbs-02
$Ship_icon:                     iconbomber05
$Ship_anim:                     ssbomber05
$Ship_overhead: loadfighter2s-02
$Score: 14
$Trail:
+Offset: 0.0 -8.43 -4.03
+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.98 1.32 -5.39
+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.98 1.32 -5.39
+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: -16.15 -18.25 -9.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: 16.15 -18.25 -9.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:                     turret01,5,1.0
$Default PBanks:        ( "Shivan Light Laser" )
$Subsystem:                     turret02,5,1.0
$Default PBanks:        ( "Shivan Light Laser" )
$Subsystem:                     sensors,                        10,0.0
$Subsystem:                     communication,  10,0.0
$Subsystem:                     engine,                 35,0.0
$Subsystem:                     weapons,                        15,0.0
$Subsystem:                     navigation,              5,0.0

And heres the Shivan Light Laser in case it's that:
Code: [Select]
; ----------------------------------------------------------------------------------
; Shivan Laser
;
$Name:                                  @Shivan L. Laser (terrans) ;;      the anti-subsystem weapon
+Title:                                 XSTR("Shivan small laser", 3258)
+Description:
XSTR(
"Shivan gun
Shoot things", 3259)
$end_multi_text
+Tech Title:     XSTR("Shivan small laser", 3260)
+Tech Anim:     Tech_Akheton_SDG
+Tech Description:
XSTR(".", 3261)
$end_multi_text
$Model File: none ;  laser1-1.pof
@Laser Bitmap: laserglow01
@Laser Glow:    2_laserglow03
@Laser Color:    250, 30, 30
@Laser Color2:    250, 30, 30
@Laser Length: 7.0
@Laser Head Radius: 0.90
@Laser Tail Radius: 0.30
$Mass:                                 0.2
$Velocity:                             450.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                            0.3                             ;; in seconds
$Damage:                               10                               ;; Note, as a puncture weapon, hull damage is reduced by 75%.  Base amount done to subsystems.
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 1.0
$Lifetime:                             2.0
$Energy Consumed: 0.30 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing:                               NO
$LaunchSnd:                            100                              ;; The sound it makes when fired
$ImpactSnd:                            85                              ;; The sound it makes when it hits something
$Flags:                                ("in tech database" "player allowed" "")
$Icon:                                 iconScalpel
$Anim:                                 Scalpel
$Impact Explosion: none




Thanks in advance.

 

Offline knn

  • 28
Re: making shivan bombers/fighters flyable thru ta
$Ship_overhead: loadfighter2s-02

It may be this one. I believe this is the picture displayed in weapons selection, and IIRC, shivan ships don't have them (the s in 2s means it's a shivan ship, btw, and the first 2 means it's from FS2, not FS1). Try loadfighter2t-01. There's also a launcher option to render the ship in 3d in ship and weapon selection. I also think you should change ShipAnim, I doubt the Shivan ships have animations. Just replace it with an animation from another ship, or use the 3d ship selection option. Hope this helps
"Don't try to be a great man, just be a man and let history make its own judgments." -- Zefram Cochrane

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: making shivan bombers/fighters flyable thru ta
Still crashes. Ill compare these tbls to some working frendly ships and see if I can see anything.

Ill bet its something obvious. thats ALWAYS my luck.
Just like how I only win embarasing contests, not any of the cool ones.

 

Offline knn

  • 28
Re: making shivan bombers/fighters flyable thru ta
Try removing the laser completely, to see what is causing the crash, the weapon or the ship
Edit: Also try a debug build or try loading Fred, it should warn you about some table errors (at least retail Fred did)
« Last Edit: March 09, 2006, 06:45:01 pm by knn »
"Don't try to be a great man, just be a man and let history make its own judgments." -- Zefram Cochrane

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: making shivan bombers/fighters flyable thru ta
the laser... hmm... You gave me an Idea...

EDIT: It's the ship. removed my copy of the Shivan Light Laser and it's still broke.

EDIT EDIT: I got retial FS2 (got an ISO) and not the SCP.
                        And FRED doesn't complain about anything either.
« Last Edit: March 09, 2006, 06:54:45 pm by thesizzler »

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: making shivan bombers/fighters flyable thru ta
Definitely use the SCP if you're going to play with stuff like this.   This is EXACTLY what -ship_choice_3d was put in for.  Always use it if you don't have a loadout ani, period.   

Oh, and IIRC the Serephim also will have major issues with the player using it, because it has no dockpoint (so you can't call in support), has one too many primary and one too many secondary banks for retail to handle.
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 Polpolion

  • The sizzle, it thinks!
  • 211
Re: making shivan bombers/fighters flyable thru ta
dang. Can't use SCP yet. gonna get a graphics card in april or may.

lets see... dock point isn't a problem, I could just beef up the little missle bank size.
one too many gun points, big problem.

would it work if I just didn't use a point?

 

Online Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: making shivan bombers/fighters flyable thru ta
Found your problem:

Code: [Select]
XSTR( "This is a version of the SB Seraphim modified to accomadate Terran Piolts.", 2998)
You misspelled "accommodate" and "pilot".  That'll screw up the whole thing right there.

 
Re: making shivan bombers/fighters flyable thru table hacks
You are triying to do this?:



Why not a Shivan Support Ship (it's not completely Shivan actually):



A - I have made a modified Nephilim with Dockpoints and 3SBanks, you will get a warning with the actual model which has 4.

This is for use with Shivans as the Species, not Terran modified in any way...I also have modified, better, fixed other Shivans Dockpoints and Paths.

If you just want this specific Model:

http://www.fileh.com/Shadow00000/Nephilim2.rar

I renamed it to Nephilim2, because it should need an additional entry in the Ships.tbl, so don't replace it for the normal Nephilim, otherwise enemies will end with 3SBanks while they use 4SBanks. I'll recommend that you just make the Nephilim SBank Capacity that is used for the Nephilim ( 40, 40, 40, 40) to ( 55, 55, 55) for the Nephilim used for the player. I actually named it "SB Nephilim (Terrans)" in the Ships.tbl as volition made with the SF Mara

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: making shivan bombers/fighters flyable thru ta
Looks neat. I'll be sure to give it a try. Also, I just got the SF Dragon to work as a player flyable ship. Of course, It needs to be a scramble or red alert mission because it has no selector model and I can't use 3d ship selection Because I don't have the SCP (yet).

 

Offline knn

  • 28
Re: making shivan bombers/fighters flyable thru ta
Use a different loadout picture
"Don't try to be a great man, just be a man and let history make its own judgments." -- Zefram Cochrane

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: making shivan bombers/fighters flyable thru table hacks
Lets see, I used the HERC mk II for the Nephilim, so I will use the... Loki for the Dragon.

EDIT: dang! bug. Can you guys get anything from this?
Code: [Select]
Error: Error parsing 'ships.tbl'
Error code = 1.

File:C:\projects\freespace2\code\Ship\Ship.cpp
Line: 1709

Call stack:
------------------------------------------------------------------
    fred2.exe 0064ec0e()
    fred2.exe 0064ec88()
    fred2.exe 0063a544()
    fred2.exe 00639528()
    fred2.exe 00639731()
    USER32.dll 77d48734()
    USER32.dll 77d4d05b()
    USER32.dll 77d4b4c0()
    USER32.dll 77d4fd29()
    ntdll.dll 7c90eae3()
    USER32.dll 77d501f7()
    USER32.dll 77d50291()
    fred2.exe 00639c3e()
    fred2.exe 0064ebdb()
    fred2.exe 0064edeb()
------------------------------------------------------------------
 

another one:
Code: [Select]
Error: Error parsing 'ships.tbl'
Error code = 1.

File:C:\projects\freespace2\code\Ship\Ship.cpp
Line: 1709

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

and a 3rd one that was the same as the 2nd one
« Last Edit: March 11, 2006, 12:59:12 pm by thesizzler »

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: making shivan bombers/fighters flyable thru table hacks
Use a debug build.
The Trivial Psychic Strikes Again!

 
Re: making shivan bombers/fighters flyable thru table hacks
Take this is the Icon Ani, the Ship_Overface for the Weapon Loadout, and a static Bitmap for the Ship Animation for the Ship Loadout screen for the Nephilim I made for Inferno (that means I have also made the same for the Nahema, the only Shivan Bomber models from FS2 that INF use):

http://www.fileh.com/Shadow00000/NephilimInterface.rar

Take care with not adding too much of the Ship Loadout Screen ANIs (the files named ss or 2_ss), there is a Cfile limit in both FS2 Retail and the SCP, which make the SCP Debugger crash, and the releases (and FS2 retail) just make some models become invisible models (there seems there is no enough Cfile blocks, and the models textures can't load, or something like that).

 

Offline Starks

  • 29
Re: making shivan bombers/fighters flyable thru table hacks
How is making a Shivan craft flyable any different from a modeled ship?
Formerly of the Dark Wings and Legion of Apocalypse

  

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: making shivan bombers/fighters flyable thru ta
The interface doesn't exist for (most) shivan craft, therefore you cannot edit your loadout in 2d.  If you add the interface, then you can push the bmpman limits harder and risk nasty consequences.  The 3d loadout code makes that a moot point though, as the only real problem is the shield icons.  Which exist even if you're not looking at a player-flyable craft.
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