Hard Light Productions Forums

Announcements => Getting Started => Topic started by: Revan227 on September 02, 2013, 09:32:20 pm

Title: Hello all
Post by: Revan227 on September 02, 2013, 09:32:20 pm
Hello all;


I am a new guy to this community. I heard about FreeSpace a while ago and i have been trying to do something.

I want to port the FS-STR (FreeSpace - Silent Threat: Reborn) hades into the FS 2 game. I have been sucessful in doing so, but it still has the weapons setup of the FS 2 version. i want to permanently change this to be more like the FS-STR weapon setup. is there a way to do this other than to go edit the weapon turrets on FRED for every mission?
Title: Re: Hello all
Post by: Goober5000 on September 02, 2013, 10:06:15 pm
:welcome:

I'm not sure how you were "successful" in porting the Hades to FS2, since the Hades already is in FS2.  If you want to use the FSPort version, you can simply make some TBM files containing the data from FSPort, like so...

hades-shp.tbm
Code: [Select]
#Ship Classes

$Name: GTD Hades
$Short name: THades
$Species: Terran
+Tech Description:
The GTD Hades is a new class of Terran destroyer constructed under the authority of the GTI.  Not much is known of its design or purpose, but it appears to be an attempt to recreate the SD Lucifer.  All available data on the Hades has been highly classified by Terran Command.

The Hades should be considered more dangerous than a class A threat.
$end_multi_text
$POF file: capital05.pof
$Detail distance: (0, 7000, 10000, 25000)
$Show damage: NO
$Density: 1
$Damp: 0.2
$Rotdamp: 1.5
$Max Velocity: 0.0, 0.0, 15.0
$Rotation time: 200.0, 200.0, 200.0
$Rear Velocity: 0.0
$Forward accel: 20.0
$Forward decel: 10.0
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 100.0
$Expl outer rad: 4000.0
$Expl damage: 1000.0
$Expl blast: 4000.0
$Expl Propagates: YES
$Shockwave Speed: 600.0
$Shockwave Count: 4
$Default PBanks: ()
$Default SBanks: ()
$SBank Capacity: ()
$Shields: 0
$Power Output: 100.0
$Max Oclk Speed: 25.0
$Max Weapon Eng: 100.0
$Hitpoints: 800000
$Flags: ( "capital" "big damage" "in tech database multi" )
$AI Class: Captain
$Afterburner: NO
$Countermeasures: 0
$Scan time: 6000
$EngineSnd: 61
$Closeup_pos: 0.0, 0.0, -3500
$Closeup_zoom: 0.5
$Score: 5000
$Subsystem: turret01a, 1.0, 6.5
 $Default PBanks: ( "SSLBeam" )
$Subsystem: turret02a, 1.0, 6.5
 $Default PBanks: ( "SSLBeam" )
$Subsystem: turret03a, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret04a, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret05a, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret06a, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret07a, 1.0, 6.5
 $Default PBanks: ( "SSLBeam" )
$Subsystem: turret08, 0.5, 0.5
 $Default SBanks: ( "Shivan Cluster" )
$Subsystem: turret09, 0.5, 6.5
 $Default SBanks: ( "FighterKiller" )
$Subsystem: turret10, 0.5, 0.5
 $Default SBanks: ( "Shivan Cluster" )
$Subsystem: turret11, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret12, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret13, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret14, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret15, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret16, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret17, 1.0, 0.5
 $Default PBanks: ( "SSLBeam" )
$Subsystem: turret18, 1.0, 0.5
 $Default PBanks: ( "SSLBeam" )
$Subsystem: turret19, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret20, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret21, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: turret22, 0.5, 0.5
 $Default PBanks: ( "Shivan Turret Laser" )
$Subsystem: communication, 8.0, 0.0
$Subsystem: navigation, 8.0, 0.0
$Subsystem: sensors, 8.0, 0.0
$Subsystem: weapons, 12.0, 0.0
$Subsystem: engines, 8.0, 0.0
 $Engine Wash: Default1500
$Subsystem: enginesupleft, 4.0, 0.0
 $Engine Wash: Default1000
$Subsystem: enginesupright, 4.0, 0.0
 $Engine Wash: Default1000
$Subsystem: enginesdownleft, 4.0, 0.0
 $Engine Wash: Default1000
$Subsystem: Enginesdownright, 4.0, 0.0
 $Engine Wash: Default1000
$Subsystem: fighterbay, 0.0, 0.0

#End

sslbeam-wep.tbm
Code: [Select]
#Primary Weapons

; ----------------------------------------------------------------------------------
;; SSLBeam - suggested range (8000)
;
$Name: SSLBeam
$Model File: none
@Laser Bitmap: laserglow01
@Laser Glow: 2_laserglow03
@Laser Color: 250, 30, 30
@Laser Length: 0.0
@Laser Head Radius: 0.30
@Laser Tail Radius: 0.30
$Mass: 100.0
$Velocity: 1000.0
$Fire Wait: 10.0
$Damage: 850
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 1.0
$Lifetime: 30.0
$Energy Consumed: 0.30
$Cargo Size: 0.0
$Homing: NO
$LaunchSnd: 125
$ImpactSnd: 88
+Weapon Range: 8000
$Flags: ( "Big Ship" "Huge" "beam" )
$Icon: iconSD4
$Anim: SD4
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 50.0
$BeamInfo:
 +Type: 0
 +Life: 3.0
 +Warmup: 3000
 +Warmdown: 1500
 +Radius: 80.0
 +PCount: 28
 +PRadius: 1.9
 +PAngle: 65.0
 +PAni: particleexp01
 +Miss Factor: 2.5 1.875 1.25 0.875 0.5
 +BeamSound: 178
 +WarmupSound: 184
 +WarmdownSound: 188
 +Muzzleglow: lucyglow
 +Shots: 0
 +ShrinkFactor: 0.1
 +ShrinkPct: 1.8
 $Section:
  +Width: 12.0
  +Texture: beam-white
  +RGBA Inner: 255 255 255 255
  +RGBA Outer: 150 150 150 10
  +Flicker: 0.1
  +Zadd: 4.0
 $Section:
  +Width: 55.0
  +Texture: lucybeam
  +RGBA Inner: 160 160 0 255
  +RGBA Outer: 60 60 0 10
  +Flicker: 0.3
  +Zadd: 3.0
;;FSO 3.3.0;; +Tile Factor: 5.0 0
;;FSO 3.3.0;; +Translation: -5.0
 $Section:
  +Width: 65.0
  +Texture: lucybeam
  +RGBA Inner: 255 0 0 255
  +RGBA Outer: 60 0 0 10
  +Flicker: 0.1
  +Zadd: 2.0
;;FSO 3.3.0;; +Tile Factor: 10.0 1
;;FSO 3.3.0;; +Translation: -3.0
 $Section:
  +Width: 70.0
  +Texture: beam-orange3
  +RGBA Inner: 255 0 0 255
  +RGBA Outer: 60 0 0 10
  +Flicker: 0.2
  +Zadd: 0.0

#End

These will need to go in your FreeSpace2/data/tables folder.  Note that you will also have to copy over some of the graphical effects into FreeSpace2/data/effects.
Title: Re: Hello all
Post by: Revan227 on September 03, 2013, 05:43:32 pm
sorry, my question was really unclear,

i have overwrote the old fs2 hades with the one made by vasuden admiral for Silent Threat: Reborn.

I want to know why the weapons are the same as the FS 2 model, and what the file is for changing what turret is what weapon.
Title: Re: Hello all
Post by: niffiwan on September 03, 2013, 07:07:24 pm
The .pof file (if that's what you overwrote) doesn't contain the weapons loadout.  The tables Goober5000 posted above do, so it should work if you put them in the places Goober mentioned.
Title: Re: Hello all
Post by: Revan227 on September 03, 2013, 07:16:16 pm
ok, thanks
Title: Re: Hello all
Post by: Revan227 on September 05, 2013, 09:06:18 pm
alright, i've done it

thanks guys!