Yelo Debug Output

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
Fleabag77




Commentator

Posts: 544
Joined: Sun Dec 31, 2006 5:12 am

Yelo Debug Output

Post by Fleabag77 »

What exactly is it? I guess it shows skulls you pick up and whatnot, but what else?
User avatar
killgore333





Posts: 54
Joined: Sat Mar 31, 2007 1:46 pm
Location: LouEvil, Kentucky
Contact:

Post by killgore333 »

Actually, it shows what current script is running as it starts. Something as simple as music being started and stopped, to events happening, activating or being terminated, or character dialog being activated as they are supposed to say it. You will notice that the dialog text will cut off. That is because of the 80 character limit that almost all C++ programs and scripts should keep each line of code to a minimum of.

If I am wrong in any way, please correct me.
Image
Fleabag77




Commentator

Posts: 544
Joined: Sun Dec 31, 2006 5:12 am

Post by Fleabag77 »

So it does show scripts? Great, that's exactly what I need. Thanks alot!
User avatar
ali954
Readers Club





Posts: 150
Joined: Mon Oct 11, 2004 1:20 pm
Location: VA
Contact:

Post by ali954 »

no ur wrong sorry =]. there is a command called "print"

Code: Select all

(print "THIS SHOWS ON THE SCREEN WHERE IT SAYS 'YOU KILLED DEFAULT' ETC...")
doesnt work for the mainmenu tho idn y
User avatar
killgore333





Posts: 54
Joined: Sat Mar 31, 2007 1:46 pm
Location: LouEvil, Kentucky
Contact:

Post by killgore333 »

No no no no no no no no no no, It shows what script is being run. It will execute the code, then it will "print" the which means display text of which script is running on screen.

Edit: The 10 "no's" were for fleabag. Ali described what I was saying.
Image
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Post by kornman00 »

Its for allowing easier debugging of your scripts in your custom maps, however not limited to that [debugging].

It doesn't show what script is being ran, it only displays what you want it to display via the string argument. However if you say (print scripts_name_poop) and that is actually the name of the script the print macro is in, then yes it will print the script that is running (scripts_name_poop)
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

killgore333 wrote:Actually, it shows what current script is running as it starts. Something as simple as music being started and stopped, to events happening, activating or being terminated, or character dialog being activated as they are supposed to say it. You will notice that the dialog text will cut off. That is because of the 80 character limit that almost all C++ programs and scripts should keep each line of code to a minimum of.

If I am wrong in any way, please correct me.
The "debug output" option simply enables the print script...I actually hijack the call and substitute my own print code since the original stuff is nonexistant in retail builds. The text is limited to 64 chars for no particular reason, it's surely not a programming limitation :?
Fleabag77




Commentator

Posts: 544
Joined: Sun Dec 31, 2006 5:12 am

Post by Fleabag77 »

Oh, alright. :?
Post Reply