#delete research prequsitions from some technologies
1 messages · Page 1 of 1 (latest)
Making a thread cause of the other convo that is going on. Do you want to just edit the mod files (works okay if you're playing singleplayer and not updating the mod often) or make an extra mod that changes the techs?
overall me and my friend want to play legit 1v1 with some mods (mainly AAI vehicles) and the infintry mod
the thing is well
that with dm upgrades the game ends up in glass cannons
hence why we decided to mod it a bit, essencially making it semi balanced for pvp of our liking
sounds like you'll want an extra mod then. Do you know the basics of how to make that? Then I can just give you the code for the prereq removal
but well there are manny probblems we face... trying to figure it out for quite some time now and as we want to start to play today/tommorow we decided to find help here as some pople understand modding
emmm well... lets just say hes the it guy
and he esencially made me resolve that one problem
so I'm to dump for it essencially
I essencially want to mod only a mod, if that makes anny sense, as no vanila building need dm or fire rate upgrades
so we leaft vanila alone, plus we don't want to distibute it anywhere as its just for us 2 just so we can have some fun with killing each another bases, essencially combining rts with factorios amazing base building, rampant arsenall to be precise
Well you're in luck, I recently made a super simple mod for someone that also changed rampant arsenal things. So I can give you that and you just need to change some code
-
Find the internal name of the technologies. Easiest way is to open the tech tree in-game and use ctrl + shift + f while hovering the technology. A window with information will pop up, you're looking for "name"
-
Unzip this mod: https://cdn.discordapp.com/attachments/380176464546365453/1018872287778324520/cacho-turret-changes_0.1.0.zip Remove the code that is in the data.lua file and replace it with this:
local tech = data.raw.technology["the-technology-name-you-found-above"]
for i,prereq in pairs(tech.prerequisites) do
if prereq == "the-prereq-you-want-to-remove" then
table.remove(tech.prerequisites, i)
break
end
end```
Replace the names that are in quotes with the techs you want to change. You don't need to rezip the mod.
If you want to change a second tech, just copy the above code again, add it to the data.lua file and change the names to the second tech and prereq
oh wow thanks I'll try to make it work, again I'm not an it guy so I hope I don't break something 🙂
The good thing with using a separate mod is that if it's goes real broke, you can just delete the extra mod and pretend it never happened :p
yea I gues, well worst case scenario u can always reinstal the game from scratch... takes long time tho