Jump to content

Favorite code comments


traenol

Recommended Posts

Just a fun little topic, post your favorite comments you have found in Firaxis' code

 

XGMission.uc

var localized string m_strChicken; // I just want to use "Chicken" every once in a while

every once in a while is apparently rand(500) == 0 heh

Link to comment
Share on other sites

I have bupkiss knowledge of the "code" of XCOM 2 or how to view it, but I'm positive that the Advent Soldiers cuss like sailors all the time, but the dialogue is distorted, just enough, to avoid the censors cracking down on it. I swear I've heard the F bomb and "Argh, s**t" when I've shot some of them.

Link to comment
Share on other sites

  On 3/8/2016 at 12:56 AM, Perraine said:

I have bupkiss knowledge of the "code" of XCOM 2 or how to view it, but I'm positive that the Advent Soldiers cuss like sailors all the time, but the dialogue is distorted, just enough, to avoid the censors cracking down on it. I swear I've heard the F bomb and "Argh, s**t" when I've shot some of them.

 

You're not the only one. I love it when I can almost make out a line from one of them.

Link to comment
Share on other sites

And I'm sure they are calling my soldiers (particularly the female ones) some VERY unflattering names or making quite lewd, and possibly illegal, suggestions, when they do that "hand pointing" thing (the Jean Luc Picard "Make it so" gesture)

Link to comment
Share on other sites

X2AbilityTag.uc

 

------------------------

if (AbilityTemplate != none)
{
if (AbilityTemplate.AbilityCooldown != none)
{
// subtract 1 because that is for the "current" turn.
// an ability with a 1 turn cooldown would finish cooling down at the end of the same turn.
// so it could only be used once that turn, but could be used on the immediate next turn.

OutString = string(AbilityTemplate.AbilityCooldown.iNumTurns - 1);
}
}
break;

---------------------

 

How many turns is that?! I mean like -- my head is spinning & eventually will cool down too. :D

Link to comment
Share on other sites

  • 1 month later...
  On 4/18/2016 at 11:26 PM, FxsRMcFall said:

 

  On 4/17/2016 at 7:44 PM, davidlallen said:

Necro, I suppose, but this is my new fav:

UIAfterAction.uc:

//Delay by a slight amount to let pawns configure. Otherwise they will have Giraffe heads.

 

In case you are curious...

 

http://i.imgur.com/gFQzK0Y.jpg?1

 

this is beautiful! i HAVE to release a mod that does that

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...