Author Topic: Exporting the events list  (Read 2150 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Exporting the events list
How hard would it be to export the events and messages lists (that you can get to in-game by pressing F4) to a file?

I see it being a very useful funtion for playtesters and FREDders. I've lost count of the number of times a bug has slipped past me because one I was out of the mission I didn't remember it. I've jumped out of a mission only to wish I'd checked the event list a similarly large number of times)

Can someone check? Cause I've got a horrible feeling that this might turn out to be a few lines of code that everyone will kick themselves for not thinking of/adding earlier :D
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Exporting the events list
:mad:

*kicks karajorma*

Yes, this is a few lines of code.  But you realize that I'm going to be the one who adds this, right? :p

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Exporting the events list
only since you're the only one that can complile fred.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Exporting the events list
This doesn't need FRED at all.  It can be activated with a command-line that dumps text to a file.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Exporting the events list
Quote
Originally posted by Goober5000
:mad:

*kicks karajorma*

Yes, this is a few lines of code.  But you realize that I'm going to be the one who adds this, right? :p


Yeah but the playtesters working for TVWP and FSPort will love you for it. :nod:

Hell you'll probably use it yourself next time you playtest :D

Quite frankly I'm surprised no one thought of this one before. I didn't think of it myself. It was Singh complaining that FS2 couldn't do it that got me wondering why the hell it didn't :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
Exporting the events list
Quote
Originally posted by karajorma


Yeah but the playtesters working for TVWP and FSPort will love you for it. :nod:

Hell you'll probably use it yourself next time you playtest :D

Quite frankly I'm surprised no one thought of this one before. I didn't think of it myself. It was Singh complaining that FS2 couldn't do it that got me wondering why the hell it didn't :)


Actually, FSCZ did ask for this a long time ago, as it would help with keeping track of the kills/scores in a MP session and over the long term :D
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Exporting the events list
Quote
Originally posted by Goober5000
This doesn't need FRED at all.  It can be activated with a command-line that dumps text to a file.


hmm must have been thinking of the other events list then.  although if you can print both of them, you can check off whether an sexp worked correctly or not
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Exporting the events list
:bump:

I just found out that this is already in the source, saving me some work. :) Just run a debug build, enter cheat mode, and hit ~E.

 

Offline ShadowWolf_IH

  • A Real POF Guy
  • 211
    • CoW
Exporting the events list
Damn, and we were hoping to make you do some ACTUAL work :lol:
You can't take the sky from me.  Can't take that from me.

Casualties of War

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Exporting the events list
Quote
Originally posted by Goober5000
:bump:

I just found out that this is already in the source, saving me some work. :) Just run a debug build, enter cheat mode, and hit ~E.


Useful. Any chance you could enable it from the command line too? Like I said the most annoying times are when you've just jumped out and then wish you'd checked something.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Not really.  Even if I went with my original idea, I'd only enable it in debug builds.  It's a lot of extra computation.

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
what does ~E do?

should it be hit after the mission or before?

Will it spew out evil coding lingo at me or actual events and stuff?
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Use it during the mission, like any cheat key.  It displays a list of events (with their status) that you can scroll through.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Quote
Originally posted by Goober5000
Not really.  Even if I went with my original idea, I'd only enable it in debug builds.  It's a lot of extra computation.


Fair enough :) I might give it a try myself when I finally get some free time and finally get around to learning some more C++ though.

Would it really be that big an overhead? I suppose the I/O might slow things down now I think about it.

Now I need to go look up the cheat mode (I only tried it a couple of time and never could get it to work) :D
« Last Edit: January 18, 2005, 03:18:58 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
i don't think the player would notice if the events list gets dumped as the player enters debriefing.  even if its a 20 minute mission, the I/O should be significantly less than taking a screenshot.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

  

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
This happens during the mission.