Author Topic: Axem does battle with FRED, re-organizes SEXP categories  (Read 6211 times)

0 Members and 1 Guest are viewing this topic.

Offline Axem

  • 211
Axem does battle with FRED, re-organizes SEXP categories
Hey, so FRED's been bugging me since like... forever.

I want to lock my fighter's weapons, naturally I look for lock-primary-weapons in the... subsystem menu.

And I want to set a death message. Why that's in Special, because the messages menu thinks that sexp smells funny.

Well, NO MORE.

Equipped with a version of Visual Studio that can compile FRED, I dove in and fixed this silly organizational nightmare to the best of my ability! Now things make slightly more sense than before!



ship- sexps in Ship Status! Subsys- sexps in Subsystems! It's a miracle!

Generally how its laid out now is ship related categories, then mission related, then back-end related (variables). Within each subcategory, the sexps are grouped the best I could to their function. Protect sexps are bunched together, lock weapons are grouped together and so on.

http://pastebin.com/0bqcJWEa

Here's a patch of my work. If you have a better organizational method, I'd love to hear it!


(Aaaaaand cue the "But I'm so used to old way" comments!)
« Last Edit: September 14, 2012, 07:28:37 pm by Axem »

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Axem does battle with FRED, re-organizes SEXP categories
might as well add a textual lisp editor with markup while your at it. :D
i hate coding by menu.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Axem does battle with FRED, re-organizes SEXP categories
I'm used to the old way... however, this is much, much cleaner. Someone had to do it at some point and I vote we adopt it.

Also worth noting that of anyone I would trust to reorganize the FRED menus, Axem is one of them... given is experience with it.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 
Re: Axem does battle with FRED, re-organizes SEXP categories
I like it  :)
It might be unusual for anyone used to the old way but for someone like me who only uses FRED occasionally it would be a real improvement. I can't remember how often I sat there searching a SEXP which was in some category I didn't expect it to be in.
Here goes scripting and copy paste coding
Freespace RTS Mod
Checkpoint/Shipsaveload script

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Axem does battle with FRED, re-organizes SEXP categories
Axem already knows I like this. Now you all do too. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Axem does battle with FRED, re-organizes SEXP categories
Axem already knows I like this. Now you all do too. :)
+1
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 Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Axem does battle with FRED, re-organizes SEXP categories
Looks very good. I'm not a very experienced FREDer, and I hate looking for a SEXP through the entire menu, only to find it at the last place I check, usually a completely illogical one. This is something I'd really like to see adopted.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Axem does battle with FRED, re-organizes SEXP categories
I'm used to the old way... however, this is much, much cleaner. Someone had to do it at some point and I vote we adopt it.

Also worth noting that of anyone I would trust to reorganize the FRED menus, Axem is one of them... given is experience with it.

Agreed on all points. :yes:

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Axem does battle with FRED, re-organizes SEXP categories
This has my seal of approval. Not that I matter much.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Re: Axem does battle with FRED, re-organizes SEXP categories
Whooo-Hoo! Finally! Thanks a lot Axem, I've spent hours searching for that right sexp and there it was, right in the least place I expected it to be. :yes:
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: Axem does battle with FRED, re-organizes SEXP categories
Did you add an 'electric boogaloo' button? Because frankly, FRED is in sore need of one of those.
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Axem does battle with FRED, re-organizes SEXP categories
Did you add an 'electric boogaloo' button? Because frankly, FRED is in sore need of one of those.

What would it do? Turn on...DISCO SEIZURE MODE!?
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Axem does battle with FRED, re-organizes SEXP categories
Did you add an 'electric boogaloo' button? Because frankly, FRED is in sore need of one of those.

What would it do? Turn on...DISCO SEIZURE MODE!?

That would make FREDing JAD missions a lot easier...
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Axem does battle with FRED, re-organizes SEXP categories
Had to be done someday. Will abide gladly.
el hombre vicio...

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: Axem does battle with FRED, re-organizes SEXP categories
Everytime i wanna do some simple test mission for something i wanna test i always have to look for some sexp for 5 minutes cause its in some unintuitive submenu so this gets my seal of approval.
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Axem

  • 211
Re: Axem does battle with FRED, re-organizes SEXP categories
I am very disappointed in all of you!

Back where I come from, we ridicule code patches that make sense. Now if ya'll don't start bickering, I'm going to have to just quit!

 

Offline FireSpawn

  • 29
  • Lives in GenDisc
Re: Axem does battle with FRED, re-organizes SEXP categories
I am very disappointed in all of you!

Back where I come from, we ridicule code patches that make sense. Now if ya'll don't start bickering, I'm going to have to just quit!

Alrighty then, lets do this ****.

"Derek Smart". Come at me bros!
If you hit it and it bleeds, you can kill it. If you hit it and it doesn't bleed...You are obviously not hitting hard enough.

Greatest Pirate in all the Beach System.

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.

 

Offline Axem

  • 211
Re: Axem does battle with FRED, re-organizes SEXP categories
'Kay, so turns out I didn't re-order the sexps. I had just fit them into new categories. But with this latest patch, stuff is now actually re-ordered.

http://pastebin.com/0bqcJWEa

Also, I actually wrote my first (very basic) original code! If you're one of three people who noticed that the tooltip when you hover over a ship has the angles in silly radians well... now they're in degrees! Much more readable and now... maybe usable for something...

http://pastebin.com/D2x3THAh

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Axem does battle with FRED, re-organizes SEXP categories
this is cool, but

might as well add a textual lisp editor with markup while your at it. :D
i hate coding by menu.

THIS PLZ :P
(´・ω・`)
=============================================================

  

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Re: Axem does battle with FRED, re-organizes SEXP categories
THIS PLZ :P

Axem gives you a man-made miracle and you want the divine. :p
"Load sabot. Target Zaku, direct front!"

A Feddie Story