|
ToolBoks has a character editor but that's in a very early stage and barely functional (I think it just loads the first character in a save and that's it). I know there are cheatengine tables which allow soldier editing though.
|
# ? Aug 2, 2013 20:13 |
|
|
# ? Jun 15, 2024 07:10 |
|
Any programmers here? I need help trying to understand something. I found, at the 2K Forums, the code for the chance to find a psionic soldier: if(IsOptionEnabled(14)) { iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.SW_RARE_PSI); iChance /= float(1 + BARRACKS().GetNumPsiSoldiers()); } else { iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.PSI_GIFT_CHANCE); iTraineeRank = arrCandidates.Find(kSoldier); if(iTraineeRank >= 0 && (iTraineeRank < 6)) { iChance += Max(0, 75 - iTraineeRank * 20 - iGiftedSix * 40); } } return Roll(iChance); It's from: http://forums.2kgames.com/showthread.php?163411-Probability-of-Psionic-potential There they translate the second part of the code, but I wanted to understand the first part, before the ELSE, because there is the explanation for the probabilities of getting a psionic soldier with "More Than Human" enabled (IsOptionEnabled(14)). I'm playing a game with that Second Wave option and MAN! It is indeed EXTREMELY rare! Can anyone explain just how rare it is? Is it possible to infer from that piece of code there?
|
# ? Aug 2, 2013 20:18 |
|
The only thing that seems relevant is the second part of the code here:code:
The portion above it seems just the standard psi. If you mess with the "1 +", you could change how often you get psi soldiers. I don't know if BARRACKS().GetNumPsiSoliders() includes retired/dead ones, though. Editing: Clarification Edit 2: Looking at that, I wonder if that means that the Iron Will promotion means you'll get more psionics. Is Iron Will promotion in the Officer Training School retroactive? TalonDemonKing fucked around with this message at 20:28 on Aug 2, 2013 |
# ? Aug 2, 2013 20:23 |
|
It takes the will of the trainee, divides it by a constant (SW_RARE_PSI), then takes the result of that, and divides it by (1+number of psionics) Not really possible to infer exactly how rare it is without knowing what SW_RARE_PSI, but your odds of geting your second psionic is half of what it took to get your first, and your third is a third of what it took to get the first.
|
# ? Aug 2, 2013 20:29 |
|
TalonDemonKing posted:The only thing that seems relevant is the second part of the code here: It doesn't include dead ones. Those are in the Memorial. This code is obtaining the base chance by taking the trainee's Will, and dividing it by the base, unchanging base chance for psionics. It then further divides it by the number of psionic soldiers you currently have. /= is shorthand. The following two statements are identical: Foo = Foo / Bar Foo /= Bar
|
# ? Aug 2, 2013 20:32 |
|
So, as I feared, without knowing the values of the constants, it's impossible to infer how hard it is to get a psionic soldier with Second Wave on?
|
# ? Aug 2, 2013 20:38 |
Andre Banzai posted:So, as I feared, without knowing the values of the constants, it's impossible to infer how hard it is to get a psionic soldier with Second Wave on? Indeed. You won't get a hard number without knowing the constant, and the exact chance that each soldier will be psionic will still be affected by how big that soldier's Will stat (extra will from OTS upgrade included, which isn't retroactive) is at the time you put them in for psi screening
|
|
# ? Aug 2, 2013 20:57 |
|
When you see class'XGTacticalGameCore'.default.XXX, that is retrieving the class default value for a variable. In XCom's case, many of these are set by config vars (INI file settings). The values for those variables is in the DefaultGameCore.ini: PSI_GIFT_CHANCE=4, SW_RARE_PSI=8
|
# ? Aug 2, 2013 21:04 |
|
Henry Scorpio posted:When you see class'XGTacticalGameCore'.default.XXX, that is retrieving the class default value for a variable. In XCom's case, many of these are set by config vars (INI file settings). The values for those variables is in the DefaultGameCore.ini: PSI_GIFT_CHANCE=4, SW_RARE_PSI=8 Hhhmm half the chance! Very nice, thanks!
|
# ? Aug 2, 2013 21:13 |
|
I think I've hit some kind of bug. I am on the mission where you meet the Ethereal for the first time. I open the door to the room where the 2 mutons and the Ethereal is. The guy then proceeds to mind control one of my soldiers, after that nobody can hit anything. The enemies can't hit me, he can't mind control me. The only thing that seems to do damage are explosions, but I only have 1 rocket left and no grenades. Has anyone experienced this before, is there a fix or am I totally boned? I did enter the ship from the behind, is there some kind of trigger that I need to hit for this mission to work correctly? Edit: It seems to be totally broken, I have killed 5 units this mission, then there are the 3 units inside that room. That means there must be more enemies left to spawn outside the ship but I just ran around the map without anything spawning. Has anyone seen this before, is there any fix? Edit again: seems a couple of game restarts and reloads fixed the problem. Could have stunned that piece of poo poo but I just wanted the mission done with, time to murder some more aliens. TjyvTompa fucked around with this message at 21:56 on Aug 2, 2013 |
# ? Aug 2, 2013 21:35 |
|
Andre Banzai posted:Hhhmm half the chance! Very nice, thanks! Okay, two questions here: Andre Banzai posted:iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.PSI_GIFT_CHANCE); Andre Banzai posted:iChance = int
|
# ? Aug 3, 2013 01:00 |
|
MechPlasma posted:What? iChance is probably a float and they just wanted to use integer division for that first statement.
|
# ? Aug 3, 2013 01:06 |
|
MechPlasma posted:is TraineeRank the unit's rank? Are your soldiers less likely to be gifted the higher-ranking they are? It looks that way. Or maybe they did something weird and inverted the ranking scale? I.e. rank 0 = Colonel, rank 5 = rookie? Emong posted:iChance is probably a float and they just wanted to use integer division for that first statement. I don't really work in strongly-typed languages (I'm a web developer) - and for that matter I don't even know what language we're looking at here - but isn't it kind of a convention in some programming styles to preface variable names with a letter indicating type? So iChance would be an int, fChance would be a float, etc. FWIW, presumably 'float(1 + BARRACKS().GetNumPsiSoldiers())' would always return an integer value anyway, regardless of how it's being cast.... Supraluminal fucked around with this message at 01:16 on Aug 3, 2013 |
# ? Aug 3, 2013 01:12 |
|
My bet, it was originally something other than the number of psi soldiers there and nobody caught the unneeded cast since it worked.
|
# ? Aug 3, 2013 01:33 |
|
Supraluminal posted:but isn't it kind of a convention in some programming styles to preface variable names with a letter indicating type? So iChance would be an int, fChance would be a float, etc. This skirts close to being a near religious argument depending on who you talk to. So lets just go with, it depends on the codebase and who you're working with. In any case, this code is likely decompiled.
|
# ? Aug 3, 2013 02:05 |
|
Calling it. It's going to be a rogue organization where you fight highly trained soldiers who are probably misguided or cultists. Enemy Within.
|
# ? Aug 3, 2013 02:19 |
|
Fargin Icehole posted:Calling it. It's going to be a rogue organization where you fight highly trained soldiers who are probably misguided or cultists. Enemy Within. That's not really XCOM then =(
|
# ? Aug 3, 2013 02:35 |
Early-bird cameo for the Cult of Sirius, perhaps?
|
|
# ? Aug 3, 2013 03:38 |
|
I'd really like it if they don't immediately dump everything humanity achieved under your watch in the first game. The Uber Etheral said there was something else out there, something that regarded even the Etherals as unworthy failures. Throw us against that, where we need the Titan armor and plasma guns and psychic powers just to have a foot in the door.
|
# ? Aug 3, 2013 03:52 |
|
CapnAndy posted:I'd really like it if they don't immediately dump everything humanity achieved under your watch in the first game. The Uber Etheral said there was something else out there, something that regarded even the Etherals as unworthy failures. Throw us against that, where we need the Titan armor and plasma guns and psychic powers just to have a foot in the door. Like, say, Cthulhu? And the creatures under his tentacles that have utterly free reign over 7/10's of the world's surface with no decent way to combat them? Seriously, we've had an international space station up for yonks, but no so much as a sniff of an underwater research station of the same scale.
|
# ? Aug 3, 2013 04:10 |
|
CapnAndy posted:I'd really like it if they don't immediately dump everything humanity achieved under your watch in the first game. The Uber Etheral said there was something else out there, something that regarded even the Etherals as unworthy failures. Throw us against that, where we need the Titan armor and plasma guns and psychic powers just to have a foot in the door. Keep in mind that if this is TFTD (oh god please be true ), then that door is a five foot thick steel vault door that has already crushed your foot 100 times. Oh and lobstermen spawned behind you, you are out of cover because your mangled foot is caught in the door and they seem tickled by your panicked plasma fire. You had a good metaphor it just needed touching up.
|
# ? Aug 3, 2013 05:17 |
|
I've got a question about the Implassic mod; does it increase the chance of aliens using grenades? I'm playing my second C/I run, but the aliens seem to almost never throw them, if you don't do something stupid like bunching up your guys. I remember reading that the aliens are supposed to be more grenade happy on impossible, can someone confirm that?
|
# ? Aug 3, 2013 15:20 |
|
Hannibal Rex posted:I've got a question about the Implassic mod; does it increase the chance of aliens using grenades? I'm playing my second C/I run, but the aliens seem to almost never throw them, if you don't do something stupid like bunching up your guys. I remember reading that the aliens are supposed to be more grenade happy on impossible, can someone confirm that? All Implassic does it make Impossible difficulty use classic stats. I've never seen them throw more or less grenades depending on the difficulty myself.
|
# ? Aug 3, 2013 15:38 |
|
Hannibal Rex posted:I've got a question about the Implassic mod; does it increase the chance of aliens using grenades? I'm playing my second C/I run, but the aliens seem to almost never throw them, if you don't do something stupid like bunching up your guys. I remember reading that the aliens are supposed to be more grenade happy on impossible, can someone confirm that?
|
# ? Aug 3, 2013 16:50 |
|
Brainamp posted:All Implassic does it make Impossible difficulty use classic stats. I've never seen them throw more or less grenades depending on the difficulty myself. Since all Impclassic does is lower alien stats (HP, aim, etc) to their Classic values, that setting is likely not altered.
|
# ? Aug 3, 2013 17:07 |
|
I thought I'd fire this up after a hiatus of 8 months or so and uh, I can't run the game without crashing within the first minute. Anyone have any suggestions besides "update your drivers" and "verify the game cache through steam?" I've already done all the usual things, my drivers are all up to date and the game is excluded from ffdshow - the game install itself is completely stock, no tweaks whatsoever. I know people were having issues with Realtek sound, mine's already disabled - I have a USB DAC/Headphone amp that I use as my sound card. My machine is otherwise stable, hell, everything runs fine except XCOM. All of the crashes end like this in the log: code:
o muerte fucked around with this message at 17:11 on Aug 3, 2013 |
# ? Aug 3, 2013 17:07 |
|
Emong posted:iChance is probably a float and they just wanted to use integer division for that first statement. The will is cast to a float, and then divided, and then the result is cast to an int. It's float division here.
|
# ? Aug 3, 2013 17:09 |
|
I just started a second wave game, and I'm wondering if there's any way to tell what the move of a rookie is without taking them on a mission and manually counting?
|
# ? Aug 3, 2013 18:31 |
|
LLSix posted:I just started a second wave game, and I'm wondering if there's any way to tell what the move of a rookie is without taking them on a mission and manually counting? Sadly, nope.
|
# ? Aug 3, 2013 18:51 |
|
So I just finished my 5th playthrough and got to try out that In the Zone perk for snipers that I saw some people talking about earlier in this thread. I'd have to say it's pretty drat impressive, and if setup right can do a mean amount of damage. I didn't use it alongside Double Tap so I still have to do that to determine which I find better, but man am I kicking myself for not trying In the Zone sooner.Fargin Icehole posted:Calling it. It's going to be a rogue organization where you fight highly trained soldiers who are probably misguided or cultists. Enemy Within. I hope not, because that sounds rather lame. There are enough games out there where you fight some secret shady organization with more power than it ought to have.
|
# ? Aug 3, 2013 20:38 |
|
Possibility: you're fighting the bureaucracy. That's totally it! XCOM has now gone public, but it turns out the aliens are back again (That one ship was just piloted by an angsty teenager Ethereal and his gang, there's loads more). So now as well as fighting them off, you've now got to deal with lots of red tape and paperwork, while trying to get around all the alien-loving hippy protesters. It's like a difficulty above Impossible! In a surprise plot twist, it's all deliberate and the council is run by Lobstermen.
|
# ? Aug 3, 2013 20:52 |
|
Hannibal Rex posted:I've got a question about the Implassic mod; does it increase the chance of aliens using grenades? I'm playing my second C/I run, but the aliens seem to almost never throw them, if you don't do something stupid like bunching up your guys. I remember reading that the aliens are supposed to be more grenade happy on impossible, can someone confirm that? Regardless of difficulty, not doing something stupid like bunching up your guys is your A+++ #1A way to avoid having grenades thrown at you. By the time you start seeing Mutons regularly they'll probably also be toting plasma rifles which have a good chance to hit and generally do more damage than a grenade and if it doesn't hit will probably destroy your cover which is the other big reason to use grenades ever.
|
# ? Aug 3, 2013 21:04 |
|
Yureina posted:There are enough games out there where you fight some secret shady organization with more power than it ought to have. Thing is, in X-COM, that secret shady organization with more power than it ought to have? That's you. If it's TFTD 2, maybe the game starts in coastal locations, oil rigs, cruise ships, etc, and you're fighting early amphibious aliens as well as brainwashed/altered residents. Maybe even starting with plasma/titan armor. But you have to develop the technology to start going underwater and either adapt your existing weapons and armor to work underwater or start developing new tech like gauss and sonic weapons. Move from simply responding to enemy attacks in your own environment to taking the offensive in theirs.
|
# ? Aug 3, 2013 21:19 |
|
Darkhold posted:The Bureau would be a terrible heir to the XCom franchise. The tactical fighting parts of fallout games were never that good anyway, so the transition away from isometric combat seemed smooth. Atleast to me.
|
# ? Aug 3, 2013 21:29 |
|
Protip: If you're playing Marathon, don't get your singular sniper Gravely Wounded. Not having a sniper for literally months is pretty lovely. On the other hand, rolling rolling with three heavies and just blowing the poo poo out of everything can be pretty satisfying.
|
# ? Aug 4, 2013 01:20 |
|
On the same turn, two cyberdisks mobbed one of my soldiers and a sectopod gets discovered off in the distance. RNG, you're not even pretending to not be out for blood. edit: I just killed them all in addition to a squad of mutons in two turns, and that was all the aliens for the mission. That may have been the most successful terror mission ever. I guess sometimes when you unload all your firepower on a couple targets, everything goes down without a hitch. SlothfulCobra fucked around with this message at 03:06 on Aug 4, 2013 |
# ? Aug 4, 2013 02:57 |
|
Just beat the game. Killed off all the hostiles, wondered why the mission didn't end and I realize i have a muton mind controlled. Okay, cool, go wander off and blow yourself up with your grenade. Last thing I see before the cutscene starts? "Col. Vandermeer has panicked!"
|
# ? Aug 4, 2013 06:12 |
|
I stopped playing for a few months while I went to other games/other stuff. Before I quit, I was exclusively playing Impossible Ironman because it was just the only thing that could give me my fix. Today, with the game freshly reinstalled, I decide to flip it on Classic Ironman instead Was...was it always this easy? I feel like I could just waltz through the missions without a care, firing in the general direction of sectoids and still getting kills while safely ensconced between the impenetrable wall of full cover. Its unbelievable.
|
# ? Aug 4, 2013 06:37 |
|
Classic isn't hard at all until you start seeing Thin Men, Chryssalids and Mutons. Try playing Implassic.
|
# ? Aug 4, 2013 06:39 |
|
|
# ? Jun 15, 2024 07:10 |
|
Did you keep playing until thin mans show up? Because gently caress those guys.
|
# ? Aug 4, 2013 06:40 |