X-Morph: Defense

X-Morph: Defense

37 ratings
Modding: Altering a few aspects (Cheaty)
By Copper Boltwire
Free towers, faster rate of fire for basic tower, as well as range.
   
Award
Favorite
Favorited
Unfavorite
Foreword & Disclaimer
In so far as I know, modding the game this way is NOT supported by the devs, but it is possible, so either have fun or move on.

Yes, this is a cheat, get over it...
Basic mod, but no one seems to even talk about this, so here is my guide for how to do this.

Have fun...

Oh and thanks EXOR Studios for making this game THIS easy to mod.
LOVE IT!
Hope your new game (The Riftbreaker) is just as moddable!
Requirements
I recommend the following 2 programs:

7Zip - https://www.7-zip.org/
Notepad++ - https://notepad-plus-plus.org/downloads/

I also recommended you learn the concept of how to backup files BEFORE you edit them ;)
How to make 'em free
I will, for the sake of shortening this guide down a bit, assume that you have little more then basic knowledge of navigating Windows folders, making backups, and opening/closing a .zip file.

Navigate to:
.. \ Steam \ steamapps \ common \ X-Morph Defense \ packs

Open file: 00_win32_data.zip

Navigate to:
.. \ scripts \ towers

Extract/copy towers.tower to a place you wish to use as the backup folder.
Now copy same file to the work folder and open that with Notepad++.

Divide the cost of the build_cost with 100 (so 300 will be just 3)
Do that with all the build_cost.

Do the same with upgrade_cost.

Now replace (drag&drop) the towers.tower file in the .zip with your modded version.

Voilá! You now made towers free!!!

NOTE: Don't play Multiplayer/Co-Op with this kind of modification unless your partner also got this modification, or you my experience severe instabilities...

If you want to restore the default settings, just replace (drag&drop) the backup towers.tower file in the .zip and done.
Making Basic Tower OP
Now before i tell you how to, just need to let you know that this can also be done to most other towers. But all you really need is the Basic Tower, Flame Thrower and SAMs.

Just as before, Open file: 00_win32_data.zip

Navigate to:
.. \ entities \ units \ alien

Extract/copy tower_ground_basic.ent to a place you wish to use as the backup folder.
Now copy same file to the work folder and open that with Notepad++.

Scroll down to line 502 (About 7th of 8 way down.)
Locate range_max and change it to 32.
Change aiming_range's value to 37.

Scroll a bit further down to about line 549 and locate fire_rate
Change it's value to 0.075

Now just Drag&Drop the tower_ground_basic.ent you just worked with back into the .zip file from where you got it and enjoy super fast, long range basic turrets.

NOTE: Due to their crappy tracking and prediction abilities, they aren't the "end all, be all" turrets,
just great all round turrets.

This Mod just makes them more useful - If i find a way to make them shoot, for instance, homing bullets, then they will replace pretty much ANY tower :D
10 Comments
Copper Boltwire  [author] 3 Mar, 2022 @ 7:44pm 
Looks like bullet hell, i did some pretty crazy mods towards the end, forgot to update this guide as a result.

Left my computer running for about 3 hours straight while i went to shop with my mom. When i got back, game was chugging along at about 8 fps when a round was in effect ;)
This was back in late 2020. I dodn't remember all the edits, but hopefully, this guide helps you get the idea of how and what to edit.

I cannot help you much more then this guide.
EXOR got an official discord where you can talk about modding XMD.
People are very friendly on EXOR.
LunarMeeko 3 Mar, 2022 @ 3:52pm 
Thanks for the walk-through! I might try this in the future. This seems like it will make Survival break itself. I wonder what the highest round before my computer explodes.looks like?
Copper Boltwire  [author] 29 Nov, 2021 @ 10:56am 
no clue, ask on the EXOR Discord ;)
EPGAH 29 Nov, 2021 @ 9:41am 
Is there a way to make it bounce target to target?
Wraith Knight 25 Apr, 2021 @ 2:30pm 
but it is great
Wraith Knight 25 Apr, 2021 @ 2:29pm 
THIS IS GREAT but i cant use it :steamthumbsup:
Copper Boltwire  [author] 15 Dec, 2020 @ 1:32am 
Will update the Guide with this info sometime soon - thanks for the info!
This will help a lot when just mocking about with the game.
Kôri no Arashi 14 Dec, 2020 @ 8:29pm 
For an easier one and no need to download anything, you can also open the conf folder in the X-Morph Defense folder, and open the 'Initial_config_win32' file then scroll down to 'set money_from_debris "0.1", and change the "0.1" to what ever you like.

Or for a less "Cheaty" one, you can change the 'set part_collectable_lifetime' and 'set collectable_part_max_number' to a higher number, as this only makes the Collectable Debris last longer and increase(or decrease) the number of Debris that can be on the ground(I would not recommend setting it to too high, as it might crash your game).
Copper Boltwire  [author] 8 Aug, 2020 @ 4:11am 
It's been a long time since i did this, and I DID eventually find out how to make bullets homing, BUT I forgot to update this guide, and now I don't remember how... I'm not that interested in re-playing this game - so I will leave it to someone else to figure out how to making homing bullets.

When they become homing bullets, they literally rip&tear EVERYTHING.
It's like having God mode and then some.
Quite damn fun.
bite monster 7 Aug, 2020 @ 6:35pm 
Didn't even know I could do this! Great! I already completed the campaign on switch and this'll make it so I can have some real fun!

haven't tinkered with moving fire effects yet.