Author Topic: Ship Stat editor  (Read 4740 times)

0 Members and 1 Guest are viewing this topic.

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
I was wondering if it would be possible to set something up so that within fred you can tweak some ship settings normally controlled by the tables so you can create a 1 time variant of a ship without having to create a near duplicate in the ships tbl/tbm.  For example I am working on a training drone which in the blurb can be used to simulate any fighter scale craft.  Now as it is I will have to create near carbon copies of this drone tweaked for each role it plays even if it is only used once in the campaign.  Obviously if the variant is to be used in several missions then I would probably be better creating the tbl/tbm entry but it would be worth it.

Should it be implemented the things I would like to be changeable are:

The class name as it appears in the mission
Shield Points
Hit Points
Ship speeds
Afterburner speed, capacity and usage rate
Rotation speed
Rotation and speed dampening
Primary and secondary bank compatibility
Primary and secondary bank capacity

Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Use ship templates. I'm not sure how they work, but I'm pretty sure this is what they do.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Use ship templates. I'm not sure how they work, but I'm pretty sure this is what they do.

Those need alternate table entries, however.

The class name as it appears in the mission

Use alt names for that. :)

Shield Points
Hit Points

Special hitpoints will handle both.

Ship speeds
Afterburner speed, capacity and usage rate
Rotation speed
Rotation and speed dampening

Uhm, these are tricky unless the feature you're proposing is added or you rely on alternate table entries. Rotation speed should be easy to handle via AI profiles, though.

Primary and secondary bank compatibility

You don't need this if you don't want the player and/or his wingmen to fly drones: just make the table entry compatible with all needed weapons, and select specific loadouts in FRED.

Primary and secondary bank capacity

You should be able to handle that by editing the loadout. If you want a drone to carry 5 Harpoons per bank instead of 10, do it. :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Actually you can't do the weapons restrictions unless you make the mission a scramble or always lock down every fighter.  The player could simply slide another ships weapons to his.  Also if there were to be multiplayer involved there is no way to even lock the player ai.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
His request suggests that the drones are not meant to be used by the player, which helps a lot when it comes to loadout.

I might be wrong, however.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
You reread it it was just an example of what he wants.  That does not mean it would not be used for other things.

Also the part team loadout still applies if he puts the drones in a starting wing. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Yeah, true.

I have been wanting a feature like this for quite some time. Let's let the coders have their say. :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Yeah, true.

I have been wanting a feature like this for quite some time. Let's let the coders have their say. :)


You've been talking to one.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
2+ coders. :p
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Something like that isn't hard to write. Hell, I guess you could even set up an excel/OOo spreadsheet to do this stuff.

Which, incidentally, is probably why noone has bothered to write it. It's boring and tedious work that is not at all interesting.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
E you do realize he's talking about in FRED not just editing the table?  There has always been resistance (and I agree with it) to the idea of allowing FREDders to change table data in such a manner. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
No, I didn't realize that. Point still stands though.
« Last Edit: September 06, 2010, 02:00:31 pm by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Yea it's not a hard change but it crosses the line between modding and FREDding.  A big taboo.  You are no longer letting the mod or TC control the data but the FREDder. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Yeah, I sort of agree
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Yea it's not a hard change but it crosses the line between modding and FREDding.  A big taboo.  You are no longer letting the mod or TC control the data but the FREDder. 

Ignorance time: Can I ask why it is such a taboo?

especially when taking into account that with the easy to use mod structure we have, tbm files and the Wiki it would take a competent FREDder something like half an hour to an hour and a VP extractor like VPView to lean how to create a tbm that overrides the Mod/TC creators settings for a ship in the ways I suggest.
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Problem is that good FREDer != good Tabler.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
fair enough.

though the system I had in mind was that FRED would create a separate file referenced by the mission file which stored all the alterations to ship data used in that mission thus avoiding the need to touch the original tbl/tbm and minimising the changes to the mission file structure.  It was with the use of the additional file that is loaded after the game compiles the ship table where I thought the difficulties in implementation would appear
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Wow that would be even worse.  Imagine dropping such a file in the mediavps and firing up multiplayer.  Instant super ships for one player and there is no validation check like for tables.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
You know you could get most, though not quite all, of the effects you wanted by simply swapping ship AI classes. It would work on non-player vessels.

  

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Wow that would be even worse.  Imagine dropping such a file in the mediavps and firing up multiplayer.  Instant super ships for one player and there is no validation check like for tables.

The multi issue would only crop up if the host is using a modified mission file with the entry calling the modification file or you could code multi mode to ignore the additional file

You know you could get most, though not quite all, of the effects you wanted by simply swapping ship AI classes. It would work on non-player vessels.

I made the suggestion to try and avoid using tables for tweaked versions of ships used for a single mission. (yes I know I'm lazy)
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art