Author Topic: Ship energy output  (Read 3335 times)

0 Members and 1 Guest are viewing this topic.

Offline Valrog

  • 25
I've seen some references that suggest that the ships you fly in FreeSpace 2 have different energy outputs.

Is this true? If so, where can I view the energy outputs? The Wiki pages seem to have all information about the different ships, except energy outputs.

 

Offline Lepanto

  • 210
  • Believes in Truth
    • Skype
If you want to know a ship's energy regen rate and max energy, you can check its table entry under ships.tbl in Root.vp.
"We have now reached the point where every goon with a grievance, every bitter bigot, merely has to place the prefix, 'I know this is not politically correct, but...' in front of the usual string of insults in order to be not just safe from criticism, but actually a card, a lad, even a hero. Conversely, to talk about poverty and inequality, to draw attention to the reality that discrimination and injustice are still facts of life, is to commit the sin of political correctness. Anti-PC has become the latest cover for creeps. It is a godsend for every curmudgeon and crank, from fascists to the merely smug."
Finian O'Toole, The Irish Times, 5 May 1994

Blue Planet: The Battle Captains: Missions starring the Admirals of BP: WiH
Frontlines 2334+2335: T-V War campaign
GVB Ammit: Vasudan strike bomber
Player-Controlled Capship Modding Tutorial

 

Offline Valrog

  • 25
If you want to know a ship's energy regen rate and max energy, you can check its table entry under ships.tbl in Root.vp.

Thanks, Lepanto! This is very useful.

It seems to be the $Power Output values in the Root_fs2.vp file. E.g. 2.5 for Thoth.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
$Power output literally does nothing. It sit rights with the "stream" flag in the useless clutter box.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Lepanto

  • 210
  • Believes in Truth
    • Skype
Retail ships seem to recharge weapon/shield/burner energy at a fixed percentage depending on ETS; the only difference between them power-wise is their max weapon/shield/burner energy.

I may or may not have any clue what I'm talking about.
"We have now reached the point where every goon with a grievance, every bitter bigot, merely has to place the prefix, 'I know this is not politically correct, but...' in front of the usual string of insults in order to be not just safe from criticism, but actually a card, a lad, even a hero. Conversely, to talk about poverty and inequality, to draw attention to the reality that discrimination and injustice are still facts of life, is to commit the sin of political correctness. Anti-PC has become the latest cover for creeps. It is a godsend for every curmudgeon and crank, from fascists to the merely smug."
Finian O'Toole, The Irish Times, 5 May 1994

Blue Planet: The Battle Captains: Missions starring the Admirals of BP: WiH
Frontlines 2334+2335: T-V War campaign
GVB Ammit: Vasudan strike bomber
Player-Controlled Capship Modding Tutorial

 

Offline FIZ

  • 26
Worth noting that difficulty level effects the recharge rate as well.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
$Power output literally does nothing. It sit rights with the "stream" flag in the useless clutter box.
It does something by being nonzero. If $Power Output: is 0, the ship can't regenerate shield or weapon energy. Given that "$Power Output:" is an optional string, and it defaults to 0, I'm actually a little surprised nobody ever asked why their ship couldn't regen.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Valrog

  • 25
Hmm then what should we look at in the Root_fs2.vp file?

Here's a sample for the Thoth. If regeneration is constant and only maximum energy varies, where's the maximum energy defined?


$Name:                          GVF Thoth
$Short name:            VFight9
$Species:                       Vasudan
+Type:                          XSTR("Space Superiority", 3081)
+Maneuverability:       XSTR("Excellent", 3082)
+Armor:                         XSTR("Light", 3083)
+Manufacturer:          XSTR("Sahr Corporation", 3084)
+Description:         XSTR(" ", 3085)
$end_multi_text
+Tech Description:
XSTR(
"The GVF Thoth has been manufactured exclusively in the Sahr Corp.'s shipyards at Altair for over 40 years. During the heyday of the Hammer of Light, the HoL captured these yards and the Thoth became a primary fighter among HoL forces. When these shipyards were recaptured, the Thoth once again became an important component of the Vasudan navy. In the hands of a skilled pilot, the Thoth's maneuverability and small size make it a hard target to hit. A single missile bank means that a Thoth pilot relies on his primary weapons to make most kills.", 3086)
$end_multi_text
+Length:          17 Meters
+Gun Mounts:      4
+Missile Banks:   1
$POF file:                      fighter09.pof
$Detail distance:       (0, 70, 300, 700)
$Show damage:           YES
$Density:                       1
$Damp:                          0.2
$Rotdamp:                       0.4
$Max Velocity:          0.0, 0.0, 65.0
$Rotation time:         2.7, 2.7, 3.0
$Rear Velocity:         0.0
$Forward accel:         3.0
$Forward decel:         1.5
$Slide accel:           0.0
$Slide decel:           0.0
$Expl inner rad:        25.0
$Expl outer rad:        55.0
$Expl damage:           15.0
$Expl blast:            1000.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")
$Allowed Dogfight PBanks:        ( "Mekhu HL-7D" "Prometheus D" )
$Default PBanks:        ( "Prometheus R"  )
$Allowed SBanks:        ( "Rockeye"  "Tempest" "Harpoon" "Hornet" "TAG-B" "Tornado" "Hornet#Weak" "EMP Adv." )
$Allowed Dogfight SBanks:        ( "Tempest D" "Hornet D" )
$Default SBanks:        ( "Harpoon" )
$SBank Capacity:        ( 80 )
$Shields:               200
$Shield Color:      100 255 100
$Power Output:          2.5
$Max Oclk Speed:        78.0
$Max Weapon Eng:        150.0
$Hitpoints:             200
$Flags:                 ( "player_ship" "fighter" "in tech database")
$AI Class:              Captain
$Afterburner:           YES
   +Aburn Max Vel:      0.0, 0.0, 130.0
   +Aburn For accel:   0.7
   +Aburn Fuel:        300.0
   +Aburn Burn Rate:   50.0
   +Aburn Rec Rate:    25.0
$Countermeasures:       20
$Scan time:             2000
$EngineSnd:            129                   ;; Engine sound of ship
$Closeup_pos:           0.0, 0.0, -27
$Closeup_zoom:          0.5
$Shield_icon:           shield-f09
$Ship_icon:            iconfighter09
$Ship_anim:            ssfighter09
$Ship_overhead:         loadfightV09
$Score:               10
$Trail:
   +Offset:         -6.2 .20 -2.18
   +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:         6.2 .20 -2.18
   +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

 

Offline niffiwan

  • 211
  • Eluder Class
I believe these are the relevant energy maximum values:

Code: [Select]
$Shields:               200
...
$Max Weapon Eng:        150.0
...
   +Aburn Fuel:        300.0
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Thisisaverylongusername

  • 27
  • This is fine.
$Power output literally does nothing. It sit rights with the "stream" flag in the useless clutter box.

I can prove that it does something. The Ares, with all of its ETS energy in weapons, can fire quad-maxims continuously. However, the Erinyes, with all of its ETS energy in weapons, can't.
If the opposite of pro is con, then is the opposite of progress Congress?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Look at the post above yours, tho

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
$Power output literally does nothing. It sit rights with the "stream" flag in the useless clutter box.
It does something by being nonzero. If $Power Output: is 0, the ship can't regenerate shield or weapon energy. Given that "$Power Output:" is an optional string, and it defaults to 0, I'm actually a little surprised nobody ever asked why their ship couldn't regen.
Okay, so it does literally almost nothing!  :p

I can prove that it does something. The Ares, with all of its ETS energy in weapons, can fire quad-maxims continuously. However, the Erinyes, with all of its ETS energy in weapons, can't.
That's not power output doing anything, that's the difference in max weapon energy. The Ares has 180, the Eryines 150. With the default regen rate of 4% (assuming no increase because of difficulty) an Ares regens 7.2 points of energy wheras the Eryiness regens 6. None of these ships should be able to continuously fire a quad bank of maxims on a difficulty above easy. A maxim consumes a wooping 6.6 energy per second, if you fire four of them they eat 26.4 points of energy per second. On easy the player gets 4 times the weapon energy regeneration rate. Which would be 28.8 points of regen for the Ares and 24 for the Eryines.

I hope that explains it for you  :)
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Valrog

  • 25
Thanks, guys!

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
This is really helpful.  That part of modding is a little obtuse.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Okay, so it does literally almost nothing!  :p

Or it does something if it is nothing, and nothing if it is something. :p
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Hah, true  :D
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them