Disable Super Weapons

Hello.

I know there are threads on this topic, but they all are vague on how to do this.

I am not a modder.  Much of what is said in them is foreign to me.

I enjoy slow, long drawn out games, but the constant bombardment of superweapons gets annoying and I'd like to know how to disable them.

The best solution I've seen is to make the tech requiremnts 99.  But I have no idea how.

Please help.

36,228 views 9 replies
Reply #1 Top

You could just go to the GalaxyScenariodef file, hit CTRL+F, type in the text "_TECHORBITALCANNON", "PSIORBITALCANNON", and "PHASEORBITALCANNON" and just delete those.  You would have to revise the planetItemType count, but that is easy.

Reply #2 Top

Quoting ImperatorPavel, reply 1
You could just go to the GalaxyScenariodef file, hit CTRL+F, type in the text "_TECHORBITALCANNON" and just delete those. You would have to revise the planetItemType count, but that is just counting.

The GalaxyScenarioDef controls nothing about what players can build. All it does is control what sorts of objects get spawned at the start of the map.

 

The real way to do it is to do the following.

1. Get the reference data.

2. Make a new folder in your mod folder called "No Super Weapons". In that folder create another folder called "GameInfo". In the reference data you downloaded, find a file called "PLANETMODULE_TECHORBITALCANNON.entity". Copy it into the GameInfo folder you just made.

3. Open the "PLANETMODULE_TECHORBITALCANNON" file in notepad. You can change all the stats of the Novalith cannon here. I recommend finding the line "planetUpgradeSlotCount" and changing it to 99, as it doesn't seem to cause the AI any trouble.

4. Repeat with the PLANETMODULE_PSI and PLANETMODULE_PHASE Orbital Cannons.

5. Enable your mod and it should be impossible to actually play superweapons.

 

Technically the best way might be to just disable the research for the superweapons, but you may run into some AI issues as it probably expects to find a superweapon research available to it.

+2 Loading…
Reply #3 Top

I opened the first one with notepad, and this is what is says. 

What did I do wrong?

BIN
   P l a n e t M o d u l e S t a n d a r d   @?   A b i l i t y P h a s e O r b i t a l C a n n o n               –C   ?              V e r y H e a v y '   H U D I C O N _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N ,   H U D I C O N S M A L L _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N ,   I N F O C A R D I C O N _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N    T a c t i c a l   A  úE  D  úC  C(   I D S _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N _ N A M E (   I D S _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N _ D E S C    C A N N O N    M o d u l e C a n n o n    .   R E S E A R C H S U B J E C T _ P L A N E T M O D U L E A C C E S S _ C A N N O N P H A S E      zE   @   @              C  @?$   W E A P O N _ P H A S E O R B I T A L C A N N O N R O T A T E _ L O O P    I n v a l i d                           -   P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N _ O N S E L E C T I O N _ 0        P l a n e t M o d u l e _ P h a s e O r b i t a l C a n n o n    P l a n e t M o d u l e L a r g e ,   M A I N V I E W I C O N _ P L A N E T M O D U L E _ P H A S E O R B I T A L C A N N O N &   P L A N E T M O D U L E P I C T U R E _ P H A S E O R B I T A L C A N N O N       €? 

Reply #4 Top

I found Harpo's converter and was able to change the files into something I could edit.

My head hurts. :blush:

+1 Loading…
Reply #5 Top

My head hurts too.  Don't worry, it gets worse if you keep going.

Reply #6 Top

hehe

I thought I was wrong.

Reply #7 Top

Quoting GoaFan77, reply 2

Quoting ImperatorPavel, reply 1You could just go to the GalaxyScenariodef file, hit CTRL+F, type in the text "_TECHORBITALCANNON" and just delete those. You would have to revise the planetItemType count, but that is just counting.

The GalaxyScenarioDef controls nothing about what players can build. All it does is control what sorts of objects get spawned at the start of the map.

 

The real way to do it is to do the following.

1. Get the reference data.

2. Make a new folder in your mod folder called "No Super Weapons". In that folder create another folder called "GameInfo". In the reference data you downloaded, find a file called "PLANETMODULE_TECHORBITALCANNON.entity". Copy it into the GameInfo folder you just made.

3. Open the "PLANETMODULE_TECHORBITALCANNON" file in notepad. You can change all the stats of the Novalith cannon here. I recommend finding the line "planetUpgradeSlotCount" and changing it to 99, as it doesn't seem to cause the AI any trouble.

4. Repeat with the PLANETMODULE_PSI and PLANETMODULE_PHASE Orbital Cannons.

5. Enable your mod and it should be impossible to actually play superweapons.

 

Technically the best way might be to just disable the research for the superweapons, but you may run into some AI issues as it probably expects to find a superweapon research available to it.

 

Hello,

 

it do not work for me. when i press apply change, then my game freezes. Any Ideas?

 

Must the Planetmodule files be converted back( now they are TXT)? Are these the only files needed?

My mod ordner is empty, besides of the no super weapons mod.

 

I saw it to late, but i want no superweapons in diplomacy 1.34 (trinity edition)

 

Reply #9 Top

Hey there, S2K1985

Having followed GoaFan77's instructions I ran into the same problem as you (the game freezing when trying to apply changes), the problem for me was that , out of the reference data which I had download, the PLANETMODULE_TECHORBITALCANNON file is found in the reference date for both vanilla version of the game and entrenchment. If you're trying to make this mod for the steam version of the game (trinity) diplomacy 1.34, you'll want to be using and editing the PLANETMODULE_TECHORBITALCANNON file that is in the entrenchment 1.053 folder, not the 1.193 folder.

Hope this helps, and many thanks to GoaFan77 for posting this so that know-nothings like myself could make this edit to the game. You're awesome.

Regards,