Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on March 29, 2009, 01:56:50 am

Title: armor type info in the target box
Post by: Nuke on March 29, 2009, 01:56:50 am
i was wondering how hard it would be to add armor type info to a target box which is available either immediately or after a scan of the hull/subsystem. it would be cool for recon missions where you have to scan the ships systems to determine what kind of weapons to back against it in the next mission.
Title: Re: armor type info in the target box
Post by: CarmenA1 on March 29, 2009, 02:00:03 am
Yes, i agree to that. That would be cool great.
Title: Re: armor type info in the target box
Post by: Dilmah G on March 29, 2009, 02:00:24 am
Hmmmm, would this be a mod only thing?

I don't think the HP Value of a target would assist the average joe pilot trying to take on a ship.

And besides, it's really only the Cyclops and the Helios if you're lucky.

But if you can get it to display "HEAVY" if the HP Value is over 80,000 or whatever  or something similar I'm all for it.
Title: Re: armor type info in the target box
Post by: FUBAR-BDHR on March 29, 2009, 02:24:54 am
You could fake it by making the cargo the type of armor. 
Title: Re: armor type info in the target box
Post by: Wanderer on March 29, 2009, 02:37:44 am
Well.. or you could try making use of alt subsystem name option and change it in the fly with sexp 'change-subsystem-name'

And then use the multiline target subsystem name thing i added to wanderer branch :P
Title: Re: armor type info in the target box
Post by: Nuke on March 29, 2009, 12:14:48 pm
t work but nukemods new armor system might make it complicated. 12 kinds of armor and 12 kinds of damage :D
Title: Re: armor type info in the target box
Post by: Solatar on March 29, 2009, 02:32:28 pm
Hmmmm, would this be a mod only thing?

I don't think the HP Value of a target would assist the average joe pilot trying to take on a ship.

And besides, it's really only the Cyclops and the Helios if you're lucky.

But if you can get it to display "HEAVY" if the HP Value is over 80,000 or whatever  or something similar I'm all for it.

I think he is referring to having it display the ship's armor as defined in armor.tbl, not just as a linear correlation to its hit points.
Title: Re: armor type info in the target box
Post by: Mobius on March 29, 2009, 03:31:10 pm
Only a limited number of the entries in armor.tbl would work if displayed on the HUD. I don't see the point in showing "Terran Cruiser - Heavy", "Shivan Cruiser - Light" and stuff like that.

I for one find Wanderer's idea an interesting one.
Title: Re: armor type info in the target box
Post by: Nuke on March 29, 2009, 04:03:18 pm
might be better implemented through mission design. im a crappy mission designer so im not really sure of the full capabilities of fred. probibly could stick info about the armor in the debriefing, or mayby weapon suggestions in the briefing of the following mission. im not a freder so id have no idea how to do that.
Title: Re: armor type info in the target box
Post by: Mobius on March 29, 2009, 04:40:32 pm
I see...

An option that doesn't require major FREDding skill is the use of training messages. As soon as the scan of a ship and/or subsystem is complete, use the training-msg SEXP to send something like this:


Scan complete.  Armor with low beam resistance detected.  Anti-kinetic parameters high.  No apparent weakpoints have been spotted.

Obviously, that's only an example. Write whatever you want as the situation demands. :)
Title: Re: armor type info in the target box
Post by: Dilmah G on March 30, 2009, 05:01:24 am
I see...

An option that doesn't require major FREDding skill is the use of training messages. As soon as the scan of a ship and/or subsystem is complete, use the training-msg SEXP to send something like this:


Scan complete.  Armor with low beam resistance detected.  Anti-kinetic parameters high.  No apparent weakpoints have been spotted.

Obviously, that's only an example. Write whatever you want as the situation demands. :)

That's a good idea actually :)
Title: Re: armor type info in the target box
Post by: FUBAR-BDHR on March 30, 2009, 01:54:18 pm
I have a little looping FRED event somewhere that I tossed together awhile back.  Basically what it does is when the scan is complete it displays a looping message in the cargo window.  I this case is was some sort of scanning malfunction but it would probably work just as well for what you are trying to do. 
Title: Re: armor type info in the target box
Post by: karajorma on March 30, 2009, 04:46:52 pm
I did something similar with the alt-subsystem-name SEXP to make that into a scrolling message once. :D