Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Apollo on August 14, 2012, 02:33:07 pm

Title: Interface Art SOLVED
Post by: Apollo on August 14, 2012, 02:33:07 pm
Ok, so I was trying to make a reskin of the Athena from fsport (Originally I was going to use TrashMan's Athena MKII. but it was too buggy.). I got it ingame and made a light swarm torpedo for it. Both of these seem to be working fine. However, when I try to import the interface art for the Athena and the Stiletto, most of it doesn't work. The only thing that shows up ingame is the selection icons.

Highlander's table entry
Code: [Select]
; ----------------------------------------------------------------------------------
; Highlander
;
$Name: GTB Highlander
$Short name: TFastBomb
$Species: Terran
+Type: XSTR("Advanced Strike Bomber", -1)
+Maneuverability: XSTR("Good", -1)
+Armor: XSTR("Medium", -1)
+Manufacturer: XSTR("Kraken Systematics", -1)
+Description: XSTR("", -1)
$end_multi_text
+Tech Description:
XSTR("Built to engage enemy cruisers with little or no escort, the Highlander combines the firepower of six gunmounts with speed and manuverabilty that is impressive even by fighter standards. The result is

an interceptor pilot's worst nightmare: a bomber that can dogfight almost as well as a light fighter while having far more firepower. Unfortunately, while the Highlander's payload is very respectable,

Kraken Systematics was unable to equip it with the Cyclops torpedo, leaving it with the weaker Stilleto X missile. This seriously reduces its effectiveness, making it less effective against warships than

almost any other GTVA bomber. The Highlander is also more expensive than the Artemis D.H., its main rival.", -1)
$end_multi_text
+Length: 20 m
+Gun Mounts: 4
+Missile Banks: 2
$POF file: bomber01x.pof
$Detail distance: (0, 180, 300, 1100)
$Show damage: YES
$Density: 1
$Damp: 0.2
$Rotdamp: 0.55
$Max Velocity: 0.0, 0.0, 70.0
$Rotation time: 3.4, 3.4, 3.4
$Rear Velocity: 0.0
$Forward accel: 4.0
$Forward decel: 2.0
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 50.0
$Expl outer rad: 75.0
$Expl damage: 25.0
$Expl blast: 1500.0
$Expl Propagates: NO
$Shockwave Speed: 0.0
$Allowed PBanks: ( "Subach HL-7" "Prometheus S" "Prometheus R" "Lamprey" "Circe" "Maxim" "Morning Star" "UD-8 Kayser")
$Allowed Dogfight PBanks: ( "Subach HL-7" "Prometheus S" "Prometheus R" "Lamprey" "Circe" "Maxim" "Morning Star" "UD-8 Kayser")
$Default PBanks: ( "Prometheus S" "Maxim" )
$Allowed SBanks: ( "Rockeye" "Hornet" "Harpoon" "Tornado" "Trebuchet" "Stiletto II" "Stiletto X" "Piranha" "Hornet#Weak" "EMP Adv." "Infyrno" )
$Allowed Dogfight SBanks: ( "Rockeye" "Hornet" "Harpoon" "Tornado" "Trebuchet" "Stiletto II" "Stiletto X" "Piranha" "Hornet#Weak" "EMP Adv." "Infyrno" )
$Default SBanks: ( "Harpoon" "Stiletto X" )
$SBank Capacity: ( 80, 100 )
$Shields: 600
$Shield Color: 100 100 255
$Power Output: 5.0
$Max Oclk Speed: 85.0
$Max Weapon Eng: 125.0
$Hitpoints: 300
$Flags: ( "player_ship" "default_player_ship" "bomber" "in tech database" "in tech database multi" )
$AI Class: Captain
$Afterburner: YES
    +Aburn Max Vel: 0.0, 0.0, 120.0
    +Aburn For accel: 0.7
    +Aburn Fuel: 400.0
    +Aburn Burn Rate: 50.0
    +Aburn Rec Rate: 25.0
$Countermeasures: 30
$Scan time: 2000
$EngineSnd: 193
$Closeup_pos: 0.0, 0.0, -33
$Closeup_zoom: 0.5
$Shield_icon: shield-b01
$Ship_icon: iconbomber01
$Ship_anim: ssbomber01
$Ship_overhead: loadhighlander
$Score: 15
$Trail:
    +Offset: 8.54 -1.08 -3.49
    +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: -8.54 -1.08 -3.49
    +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: 0 4.57 -12.27
    +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: communications, 10, 0.0
$Subsystem: navigation, 10, 0.0
$Subsystem: weapons, 20, 0.0
$Subsystem: sensors, 10, 0.0
$Subsystem: engine 2, 15, 0.0
$Subsystem: engine 1, 15, 0.0

Stiletto X's table entry
Code: [Select]
; ----------------------------------------------------------------------------------
; Stiletto X
;
$Name:                                 @Stiletto X
+Title:                                XSTR("GTM-12a Stiletto X", -1 )
+Description:
XSTR(
"Special Issue
Damage: 1000/5/2000 KT/shot
Range: 5500m
Size: 3.0", -1 )
$end_multi_text
+Tech Title:    XSTR("GTM-12a Stiletto x", -1 )
+Tech Anim:    Tech_GTM-43a-Stiletto_II
+Tech Description:
XSTR(
"Unlike its predecessors, the Stiletto X is a swarm torpedo designed to destroy warships rather than disarm them. With half the payload of a Cyclops torpedo, it can be quite effective against cruisers. Against corvettes and destroyers, however, it is best used to disarm turrets.", -1 )
$end_multi_text
$Tech Model: Stiletto_tech.pof
$Model File: Stiletto.pof
$POF target LOD: 0
$Mass:                                 10.0
$Velocity:                             220.0
$Fire Wait:                            20.0
$Damage:                               250                                           
$Blast Force: 1000.0
$Inner Radius: 50.0
$Outer Radius: 100.0
$Shockwave Speed: 80.0                                             
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor: 2.0
$Lifetime:                             25.0
$Energy Consumed: 0.0
$Cargo Size: 3.0
$Homing: YES
+Type:                              ASPECT
+Turn Time:                         1.0
+Min Lock Time: 5.0
+Lock Pixels/Sec: 35
+Catch-up Pixels/Sec: 70
+Catch-up Penalty: 12
$Swarm: 4
$LaunchSnd:                            95
$ImpactSnd:                            88
$FlyBySnd:                             -1
$Rearm Rate: 1.2
$Flags:                                ( "Huge" "player allowed" "No Dumbfire" "Bomb" )                     
$Trail:
    +Start Width: 0.4
    +End Width: 0
    +Start Alpha: 1.0
    +End Alpha: 0.0
    +Max Life: 2.2
    +Bitmap: beam-dblue
$Icon:                                 icon_stiletto
$Anim:                                 stiletto
$Impact Explosion Radius: 21.3
$Piercing Impact Explosion: exp06
$Piercing Impact Radius: 10.65
$Piercing Impact Velocity: 20
$Piercing Impact Splash Velocity: -5
$Piercing Impact Variance: 0.1
$Piercing Impact Particles: 5
$Thruster Flame Effect: missilethruster03
$Thruster Glow Effect: missileglow03 ]

Debug log is attached.

[attachment removed and sold on the black market]
Title: Re: Interface Art
Post by: MatthTheGeek on August 14, 2012, 02:47:27 pm
Well, the first thing to check is whether you put em in the correct folder (should be Eos/data/interface). The debug log does say it didn't find what corresponds to your "loadhighlander" overhead image, however it is supposed to generate one from the model so it shouldn't be an issue.

According to the log, you haven't checked the "Use 3D models for ship/weapon selection" in the Feature/Gameplay tab of the launcher (correspond the the -ship_choice_3d and -weapon_choice_3d command line flags). Try to use those and see if it generates the views automatically.
Title: Re: Interface Art
Post by: Apollo on August 14, 2012, 02:52:49 pm
Well, the first thing to check is whether you put em in the correct folder (should be Eos/data/interface). The debug log does say it didn't find what corresponds to your "loadhighlander" overhead image, however it is supposed to generate one from the model so it shouldn't be an issue.

They are in the correct folder. Although, the "loadhighlander" overhead image is made from a screenshot I took ingame because the Athena's overhead image wasn't working.

According to the log, you haven't checked the "Use 3D models for ship/weapon selection" in the Feature/Gameplay tab of the launcher (correspond the the -ship_choice_3d and -weapon_choice_3d command line flags). Try to use those and see if it generates the views automatically.

It works fine with those on, but I turned it off because I want to fix this.
Title: Re: Interface Art
Post by: MatthTheGeek on August 14, 2012, 02:55:32 pm
the "loadhighlander" overhead image is made from a screenshot I took ingame because the Athena's overhead image wasn't working.
Make sure it's the correct format and resolution. FSO can be a little... nitpicky when it comes to interface files.

And to be honest, everyone use 3d selection icons now. It's not '99 anymore :p
Title: Re: Interface Art
Post by: Apollo on August 14, 2012, 03:07:15 pm
"loadhighlander" is a pcx file with the same dimensions as the overhead files found in root.vp. Anyway, I'm not so concerned about that one. What I need is to get the original Athena overhead image to work so I can change its color. I also need the animations for the Athena and the Stiletto to work.
Title: Re: Interface Art
Post by: Apollo on August 14, 2012, 04:47:43 pm
I just deleted the fields from ships.tbl and weapons.tbl that specify icons and animations for the Highlander and Stiletto X. And, I didn't encounter any errors in a debug build. So, I guess I'll be using the automatically generated icons and animations instead of ones from the fsport.