Help - Search - Members - Calendar
Full Version: Editing the Super Weapons
SWR Productions Forum > SWR Projects > ShockWave > ShockWave Support
StormWind
Hi. I'm new here, and I'd like to say that Shockwave is the best game mod I've ever seen! Congratulations!
Now, to the point: I've been trying to disable the super weapons somehow (changing their price, reload time) so that battles are only based on strategy with units, but with no success so far. So, I'm here asking you for some help on this matter.
Maybe a tutorial (short and simple) explaining how to properly edit the INIZH.big file (if this is the right file to edit), or maybe extract the .ini files and edit them. I don't know.
I've tried a few things, but the game never lauches (a "serious error" occurs). Thanks in advance.

StormWind
XAttus
Hello and welcome aboard! smile.gif

The first thing you should keep in mind about superweapons is that they are designed to end games that are just taking too long and too annoying to finish. For instance - they allow you to screw up that annoying opponent that has been turtling for over one hour and ruined all your attempts at breaking into his base.

However, if you are making a mision or your wish is a small but tactical map where only skill should matter - it's easy to remove them. You don't need to edit the INI files, while that is also an option, the game will desync (mismatch error) if you play with people who don't have the same edited files.

So here is the way to go: Load your map in worldbuilder and open the scripts tab. In the neutral folder create a new script and a window with some options will show up. Click on the Actions if True tab and click New. Expand the Scripting category. Look for the Remove a command button from an object type command. This removes a button from an object of your choosing.

So for example if you want to remove the nuke silo from china's dozer, it'll look like this:
IF
True.
THEN
Command button: 'Command_ConstructChinaNuclearMissileLauncher' is removed from all objects of type 'ChinaVehicleDozer'.

Obviously you'll have to do this for all 15 factions if you wish to completely remove all superweapons. Don't forget that Shockwave's new factions have different superweapons and Airforce general can also build a particle cannon with a skycrane.
Rohan
You should also remember that many Chinese Upgrades like Nuclear Engines, etc can only be purchased from the Nuclear Missile. If you remove Superweapons, you might have to move the respective upgrades to the Propaganda Center.
StormWind
QUOTE (XAttus @ 8 Mar 2014, 0:51) *
Hello and welcome aboard! smile.gif

The first thing you should keep in mind about superweapons is that they are designed to end games that are just taking too long and too annoying to finish. For instance - they allow you to screw up that annoying opponent that has been turtling for over one hour and ruined all your attempts at breaking into his base.

However, if you are making a mision or your wish is a small but tactical map where only skill should matter - it's easy to remove them. You don't need to edit the INI files, while that is also an option, the game will desync (mismatch error) if you play with people who don't have the same edited files.

So here is the way to go: Load your map in worldbuilder and open the scripts tab. In the neutral folder create a new script and a window with some options will show up. Click on the Actions if True tab and click New. Expand the Scripting category. Look for the Remove a command button from an object type command. This removes a button from an object of your choosing.

So for example if you want to remove the nuke silo from china's dozer, it'll look like this:
IF
True.
THEN
Command button: 'Command_ConstructChinaNuclearMissileLauncher' is removed from all objects of type 'ChinaVehicleDozer'.

Obviously you'll have to do this for all 15 factions if you wish to completely remove all superweapons. Don't forget that Shockwave's new factions have different superweapons and Airforce general can also build a particle cannon with a skycrane.



Thanks for your reply.

I managed to solve this problem by increasing the ReloadTime of the superweapons. Now it takes them 3 hours to be ready to be used. It's long enough for a good battle, and it doesn't create the "nuke silo upgrades" problem.
XAttus
Not the most clever solution but yea it works. xD

Increasing the reload time takes pretty much the same effort as deleting and moving a few command buttons.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.