Home » MODDING HQ 1.13 » v1.13 General Development Talk » Any way to remove tanks entirely? (I hate fighting tanks)
Any way to remove tanks entirely?[message #356716] Sat, 16 February 2019 03:22 Go to next message
orcam3

 
Messages:103
Registered:August 2011
Location: The Netherlands
Hi! is there anything i can to do the settings to stop tanks from existing at all in my game?

Thanks!

Josh
Re: Any way to remove tanks entirely?[message #356718 is a reply to message #356716] Sat, 16 February 2019 12:42 Go to previous messageGo to next message
silversurfer

 
Messages:2508
Registered:May 2009
Sure, you can disable all tank related settings in JA2_Options.ini and modify the maps where tanks are pre-placed.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Any way to remove tanks entirely?[message #356786 is a reply to message #356718] Thu, 21 February 2019 13:03 Go to previous messageGo to next message
3iff

 
Messages:65
Registered:July 2001
Location: Birmingham, UK
A quicker and easier option is to enter the sector, switch on cheats, ctrl-H on the tanks until they blow up then switch off the cheats.

You may need to show all enemies - is that Alt-E ?? I can't remember. It's on my cheat sheet documentation but I don't have it to hand.

If I ever bother going to the end city that's what I have to do because I really-really hate the jump in difficulty at the game end. I've killed off Diedranna a few dozen times so I know what happens.

I just hate tanks (and sandbanked positions defended with machine guns!)...and sometimes I'm just really useless at playing this game.
Re: Any way to remove tanks entirely?[message #356822 is a reply to message #356786] Wed, 27 February 2019 00:30 Go to previous messageGo to next message
orcam3

 
Messages:103
Registered:August 2011
Location: The Netherlands
Thanks boys, i'll dive into the ini tomorrow. If that doesn't get me anywhere i'll do the ctrl+h thingy. Might be back with follow-up questions on the ini business.

Cheers!
Re: Any way to remove tanks entirely?[message #356837 is a reply to message #356718] Wed, 27 February 2019 21:20 Go to previous messageGo to next message
orcam3

 
Messages:103
Registered:August 2011
Location: The Netherlands
silversurfer wrote on Sat, 16 February 2019 12:42
Sure, you can disable all tank related settings in JA2_Options.ini and modify the maps where tanks are pre-placed.


Okay, where can i remove the tanks from maps (the pre-placed tanks), cuz it's not in Ja2_options.ini, and i'm afraid of breaking something.

Cheers!
Re: Any way to remove tanks entirely?[message #356838 is a reply to message #356837] Wed, 27 February 2019 21:31 Go to previous messageGo to next message
silversurfer

 
Messages:2508
Registered:May 2009
You'd need to modify the maps with the map editor. A manual for the map editor is in the "Docs\Manuals" folder.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Any way to remove tanks entirely?[message #356839 is a reply to message #356838] Thu, 28 February 2019 00:10 Go to previous messageGo to next message
orcam3

 
Messages:103
Registered:August 2011
Location: The Netherlands
I don't seem to have the map editor...

I guess i'll use ctrl+h for now,

cheers!
Re: Any way to remove tanks entirely?[message #356840 is a reply to message #356839] Thu, 28 February 2019 13:48 Go to previous messageGo to next message
townltu

 
Messages:340
Registered:December 2017
Location: here
Isnt it less effort to change some values of data that i assume the game takes to "assemble" tanks?
Or is that simply a wrong guess how it works,
respectively would have flaws remaining like e.g. tank_transformed_to_soldier still occupies multiple tiles?
Re: Any way to remove tanks entirely?[message #356841 is a reply to message #356840] Thu, 28 February 2019 18:42 Go to previous messageGo to next message
silversurfer

 
Messages:2508
Registered:May 2009
Actually the map editor can be used to change "some values of data" to transform a tank into a soldier or remove it completely.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Any way to remove tanks entirely?[message #356843 is a reply to message #356841] Fri, 01 March 2019 00:25 Go to previous messageGo to next message
townltu

 
Messages:340
Registered:December 2017
Location: here
Player who does not want tanks at all would have to use map editor on a big number of sectors for different mods,
if there are "some lua commands" which make the game transform any tank to a soldier with e.g. a mortar,
(as that appears to make sense in the sandbag fortress),
the specific section could easily be pasted into the lua script of another 1.13 mod, if it supports the commands.

Even a solution which replaces anim, armour&dmg resistance, gun, etc in the various files where they are probably stored
appears to be easier(in terms of effort) transferable to other mods or an updated mod version with changed maps
than working on every map with tank(s) in a couple of mods, even more if the user is not familiar with map editor
and/or does not already have an idea which sectors contain tanks.


So my question would be, is it possible to remove or transform tanks
by already supported .lua commands, and if so, how;),
or will that come out as a byproduct of the soon released new set of NPC script related lua commands? ;)

[Updated on: Fri, 01 March 2019 00:26]

Re: Any way to remove tanks entirely?[message #356844 is a reply to message #356716] Fri, 01 March 2019 01:59 Go to previous messageGo to next message
Gorro der GrĂ¼ne

 
Messages:1543
Registered:March 2009
Location: Broadwurschd-City
why crippling the game, hell if tanks are achallenge - if - they are just sittig ducks



I don't like users who edit posts after they've gotten an answer.

A lot of people start panicing when told to use their brains

Commander in Croc, OFBA

Founder and Leader of the GDTS
Re: Any way to remove tanks entirely?[message #356846 is a reply to message #356843] Fri, 01 March 2019 19:11 Go to previous messageGo to next message
silversurfer

 
Messages:2508
Registered:May 2009
townltu wrote on Thu, 28 February 2019 23:25

if there are "some lua commands" which make the game transform any tank to a soldier with e.g. a mortar,

Currently this is not possible as there is no lua code that is run after the enemy troops have been generated so you can't even check if there is a tank present.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Any way to remove tanks entirely?[message #356847 is a reply to message #356846] Fri, 01 March 2019 21:17 Go to previous messageGo to next message
edmortimer

 
Messages:1200
Registered:January 2015
Location: Home Free
If the question of tanks boils down to balance - why not add some anti-tank weapons to v1.13?




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum


Re: Any way to remove tanks entirely?[message #356848 is a reply to message #356847] Fri, 01 March 2019 22:29 Go to previous messageGo to next message
Flugente

 
Messages:3456
Registered:April 2009
Location: Germany
I don't see what new, conceptually different weapons there would be to add. We have one-shot launchers, RPGs, mortars, anti-material rifles, american pensioners that make for splendid suicide bombers, antitank mines, artillery...



You gotta wash your hands before picking up a baby. They can see the bacteria burning into their flesh.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: Any way to remove tanks entirely?[message #356855 is a reply to message #356848] Sat, 02 March 2019 14:18 Go to previous message
townltu

 
Messages:340
Registered:December 2017
Location: here
Thank you silversurfer for clarification.
So I guess we can not use lua to e.g. give a "double left handed" merc an additional 5% chance to jam his/her gun whenever it is fired?
Thats too bad ;)


Personally i dont really have difficulty issues with tanks,
unless they appear before my teams have anything available that works against them,
(therefore I usually increase progress required for tanks to appear if on very low item progress speed)
so I see no reason to add more AT weapons, or to remove tanks from the campaigns I play,
but if someone else does not want them for whatever reason, why not help to make it an easy job.
Previous Topic: edit battle reports?
Next Topic: ja2MapTool
Goto Forum:
  


Current Time: Fri Mar 22 12:33:03 EET 2019

Total time taken to generate the page: 0.01354 seconds