Jump to content

Base generation


docnessuno

Recommended Posts

  • 2 months later...

I have now recreated the increased base size mod for Enemy Within

 

 

MOD_NAME=Increased Base Size and a free building
AUTHOR=Bertilsson
DESCRIPTION=Free building and base Size increased by 4 tiles by emulating a pre-built access elevator shaft outside the visible base on the left hand side.

Version: 2.1

Compatible with XCOM Enemy Within Patch 0:

UPK_FILE=XComStrategyGame.upk
OFFSET=3251506
[MODDED_HEX]
{Force XGBase.GenerateTiles function to respect the number of steam vents defined in DGC.INI}
2C 00

UPK_FILE=XComStrategyGame.upk
OFFSET=3251527
[MODDED_HEX]
{Continued force XGBase.GenerateTiles function to respect the number of steam vents defined in DGC.INI}
0B

UPK_FILE=XComStrategyGame.upk
OFFSET=3252246
[MODDED_HEX]
{Replace the elevator facility with a free 09 satellite uplink in tile 01 instead of tile 03 XGBase.GenerateTiles function}
2C 09 2C 01

UPK_FILE=XComStrategyGame.upk
OFFSET=3253780
[MODDED_HEX]
{Make XGBase.HasAccess function always return true}
06 0F

UPK_FILE=XComStrategyGame.upk
OFFSET=3253987
[MODDED_HEX]
{Make XGBase.GetAccessX function always return negative value to emulate elevator left of tile 0}
04 1D FF FF FF FF 0B 

 

 

The free building is included in order to make the mod as minimal as possible. If you don't like it, remove it ingame...

 

Edit: Added a small fix to force the game to respect the number of steam vents defined in DGC.ini.

Edited by Bertilsson
Link to comment
Share on other sites

Updated version for Enemy Unknown Patch 1

 

 

 

MOD_NAME=Increased Base Size and a free building
AUTHOR=Bertilsson
DESCRIPTION=Free building and base Size increased by 4 tiles by emulating a pre-built access elevator shaft outside the visible base on the left hand side.

Version: 2.2

Compatible with XCOM Enemy Within Patch 1:

UPK_FILE=XComStrategyGame.upk
OFFSET=3252079
[MODDED_HEX]
{Force XGBase.GenerateTiles function to respect the number of steam vents defined in DGC.INI}
2C 00

UPK_FILE=XComStrategyGame.upk
OFFSET=3252100
[MODDED_HEX]
{Continued force XGBase.GenerateTiles function to respect the number of steam vents defined in DGC.INI}
0B

UPK_FILE=XComStrategyGame.upk
OFFSET=3252819
[MODDED_HEX]
{Replace the elevator facility with a free 09 satellite uplink in tile 01 instead of tile 03 XGBase.GenerateTiles function}
2C 09 2C 01

UPK_FILE=XComStrategyGame.upk
OFFSET=3254353
[MODDED_HEX]
{Make XGBase.HasAccess function always return true}
06 0F

UPK_FILE=XComStrategyGame.upk
OFFSET=3254560
[MODDED_HEX]
{Make XGBase.GetAccessX function always return negative value to emulate elevator left of tile 0}
04 1D FF FF FF FF 0B

 

 

Link to comment
Share on other sites

  • 1 month later...

If I understand this right, it is possible to only get one steam vent, and for that to be covered up by the starting Uplink (or OTS)? How complicated would it be to change that?

 

I've also never seen more than 3 vents, are you sure this:

 

 

The actual number of steam vents generated is between 1 and (NUM_STARTING_STEAM_VENTS)+1

 

is correct?

Edited by Hannibal Rex
Link to comment
Share on other sites

  • 5 months later...
  • Recently Browsing   0 members

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