Jump to content

Step by Step - how to mod. number of aliens in missions?


flankengott

Recommended Posts

Hi,

 

is there a way to modificate the number of aliens in the Missions?

 

i am playing Classic/Ironman and i want more Aliens in the missions.

 

Can somebody explain it to me how to do that?

 

Step by Step please... :)

(dont want to damage files...)

 

 

in the very first mission ther are 6 sectoids.

 

easy: 4 aliens --> Change to 6 or higher

normal: 6 Aliens --> Change to 8 or higher

hard: 8 Aliens --> Change to 10 or higher

very hard: 10 Aliens --> Change to 12 or higher

 

 

Thank you

 

regards

Link to comment
Share on other sites

This is actually pretty simple, though you'll need a Hex Editor like HxD and then you'll need Toolboks to enable your changes to be read.

 

In HxD, open up XComStrategyGame.upk (which is in your blahblah/SteamApps/Common/XCom-Enemy-Unknown/XComGame/CookedPCConsole and do a find/replace for the following hex line.

 

Mission Difficulty 0 (Easy)

 

Find: 2C 02 0F 00 EC 43 00 00 2C 04

 

2C 02 here defines the number of pods (spawns) and the 2C 04 towards the end defines the maximum number of aliens. Integers are almost always preceded by the '2C' or '24' token in hex here (and are of course hexadecimal).

 

So, this line means 2 pods and 4 aliens, which is why you're seeing 2 pods of 2 aliens. Pods will be built according to these values, so if you set 3 pods and 8 aliens then you will see 2 pods of 3 aliens and one pod of 2 aliens. (3 + 3 + 2 = 3 pods, 8 aliens). You wanted 6 aliens at the easy level, so that would look like:

 

Replace: 2C 02 0F 00 EC 43 00 00 2C 06

 

This will give you 2 pods of three aliens = 6 aliens.

 

The other difficulty thresholds and the changes you want are below (I simply added +2 aliens at each threshold)

 

 

  Reveal hidden contents

 

 

The very first mission is actually defined independently so the changes I wrote only affect Abduction missions (UFO's are handled elsewhere on a per type of UFO basis)

 

You can also increase the number of pods too but in my experience 5 is probably the highest you'll want. Most of the maps only have four spawn points, so you can risk some nasty insta-spawns when you exceed it.

 

Another vital program for browsing the decomplied code of the upks is called UE Explorer.

You might like to try either the Warspace, Merciless or Long War overhaul mods and tweak them to taste as they're all very feature rich and have done all of this sort of thing (and much more) already. The mods are moddable, so if there's something you don't like and you're willing to get under the hood anyway, you might find that tweaking one of the mods I mentioned is the best way to go. If you've only played Vanilla so far, you're doing it wrong. :D

 

Happy hexificating.

 

 

Link to comment
Share on other sites

Hm,

 

What's wrong is maybe that I've forgot what Vanilla's settings actually are. . .

 

Sorry for the inconvenience and lack of exact of exact vanilla-friendly hex values.

 

This is the complete function (mine at the moment) and this will help you make the changes you're looking for:

 

 

  Reveal hidden contents

 

 

Do a search for the the one you successfully changed (the one I must have gotten right, "Easy"). The others will be nearby in the same location following the same format. If you're having trouble finding any of the lines I posted, you might pin point the location by searching for

 

00 EC 43 00 00 2C

 

Because the complete call for each threshold is

 

2C ## 00 EC 43 00 00 2C ##

 

Compare to the spoiler hex to ensure you're in the right place before making changes.

 

When I get the correct Vanilla values I will update my post so as not to confuse anyone else.

 

Let me know if that works for you.

 

Z

Link to comment
Share on other sites

  • Recently Browsing   0 members

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