Author Topic: FRED 2 Improvements  (Read 10970 times)

0 Members and 1 Guest are viewing this topic.

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
BUT! One possibility is that you could have different wing names and loadout screens. Example, for the SW mod we'd like the player to be able to choose loadouts and keep an eye on Red, Blue, Gold, Green, and Gray wings instead of Alpha, Beta, Gamma, Delta, and Epsilon wings. This would need editing of the ANIs somehow, or it would have to be re-coded so it used the font to represent the wing names on the HUD.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
The Alpha/Beta/Delta/Gamma/Epsilon/Zeta wings are hardcoded in the game in many places for various things. Changing them would be a major task and screw up backwards compatability. (They are especially used in the multi-player code, and it's hard to track down where each is used since there are often unrelated variables with the same name as a wing.) Zeta is only found in 16 files of the original source code, but Alpha is in 185 files.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
A minor but useful FRED2 suggestion: Enable the grant medal/promotion/etc. SEXPs that exist but are currently not listed in the menu for release builds of FRED2. Doesn't look very hard. Here is the code in question from FRED2/Sexp_tree.cpp:

Code: [Select]
#ifdef NDEBUG
switch (Operators[i].value) {
case OP_WAS_PROMOTION_GRANTED:
case OP_WAS_MEDAL_GRANTED:
case OP_GRANT_PROMOTION:
case OP_GRANT_MEDAL:
case OP_TECH_ADD_SHIP:
case OP_TECH_ADD_WEAPON:
j = Num_op_menus;  // don't allow these operators in final release
}
#endif


Just comment out the #ifdef and #endif.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
One Program, Separate Entities
The FRED2 code is, I agree, one ugly chunk of code.  What I suggest, to be easier on MODders, is to integrate PCS and MODELVIEW32 into FRED2 as separate entities.  FRED2 would have an option to edit a selected ship's model and then open it in PCS.

Also on another note, in several missions I have used Alpha 2 as main player and I received NO ERROR MESSAGES!

  

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Re: One Program, Separate Entities
Quote
Originally posted by Rampage
The FRED2 code is, I agree, one ugly chunk of code.  What I suggest, to be easier on MODders, is to integrate PCS and MODELVIEW32 into FRED2 as separate entities.  FRED2 would have an option to edit a selected ship's model and then open it in PCS.
Modelview maybe, but I wouldn't let PCS touch Fred with a ten foot pole unless and until someone actually makes it stable.  Putting something as buggy and crash-prone as PCS into Fred is just asking for trouble.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting