25mm for vehecles or Devterev's Warfare

Topics and discussion about specific mods
Devterev
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Apr 15, 2017 3:47 am
Contact:

25mm for vehecles or Devterev's Warfare

Post by Devterev »

* I apologize for the bad English, if somewhere something is not written correctly, please create a topic with a problem.
Mod Right here https://mods.factorio.com/mods/Devterev ... vs_Warfare


Added by:
25mm autocannon for the tank and car
Flamethrower for a tank and a car
Shotgun for the tank
Increased damage and firing range by projectiles

* This mod is designed for strong opponents from other mods.
* The mod can be somewhat unfinished

Works with Bob's mods.


UPD:
Changed description
UPD 14.04.17:
Changed the name of the mod, now it's called devterev's warfare;
Add new turrets: Vulcan and Vulcan mk2,used 20mm ammunition;
Was returned to an ordinary tank;
Mesh for the tank, you can install equipment from the armor;
Reduced damage and rate of fire for 25mm cannon;
Added technology to improve the characteristics of the weapons of the tank and turrets;
Improved the speed characteristics of the tank with 25mm;
The recipe of scientific packages has been changed - now they are crafted with 10 pieces;


Development of fashion.
Next I want to add:
New weapons for the player
Maybe new monsters.
New power plants
Maybe something else.
Tierre
Inserter
Inserter
Posts: 35
Joined: Sat Oct 14, 2017 3:44 pm
Contact:

Re: 25mm for vehecles or Devterev's Warfare

Post by Tierre »

If i try to load it in 0.16 i have an error saying that maximum wire distance of powerpoles must be =< than 64. Can you fix it?
Tierre
Inserter
Inserter
Posts: 35
Joined: Sat Oct 14, 2017 3:44 pm
Contact:

Re: 25mm for vehecles or Devterev's Warfare

Post by Tierre »

Anybody?
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: 25mm for vehecles or Devterev's Warfare

Post by steinio »

data-updates.lua (line 56++):

Code: Select all

-- Power Pole Reach and Service Area
		if (string.find(items.name, "-pole") or string.find(items.name, "substation")) and items.supply_area_distance and items.supply_area_distance > 0 and items.maximum_wire_distance and items.maximum_wire_distance > 0 then
			items.maximum_wire_distance = items.maximum_wire_distance + powerpole_reach_multiplier;
			items.supply_area_distance = items.supply_area_distance + powerpole_area_multiplier;
			if items.supply_area_distance % 1 == 0 then
				items.supply_area_distance = items.supply_area_distance - 0.5;
			end
		end
Maybe change it to:

Code: Select all

-- Power Pole Reach and Service Area
		if (string.find(items.name, "-pole") or string.find(items.name, "substation")) and items.supply_area_distance and items.supply_area_distance > 0 and items.maximum_wire_distance and items.maximum_wire_distance > 0 then
			if items.maximum_wire_distance + powerpole_reach_multiplier > 64 then
				items.maximum_wire_distance = 64
			else
				items.maximum_wire_distance = items.maximum_wire_distance + powerpole_reach_multiplier
			end
			items.supply_area_distance = items.supply_area_distance + powerpole_area_multiplier;
			if items.supply_area_distance % 1 == 0 then
				items.supply_area_distance = items.supply_area_distance - 0.5;
			end
		end
Not tested.
Image

Transport Belt Repair Man

View unread Posts
Tierre
Inserter
Inserter
Posts: 35
Joined: Sat Oct 14, 2017 3:44 pm
Contact:

Re: 25mm for vehecles or Devterev's Warfare

Post by Tierre »

Thanks a lot - it worked. I made a similar change for powerpole reach, as it has the same limit of 64? and bob brings it to 64 very fast :)
Hope author updates the mod himself.
zirty
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 09, 2018 9:52 am
Contact:

Re: 25mm for vehecles or Devterev's Warfare

Post by zirty »

steinio wrote:data-updates.lua (line 56++):

Code: Select all

-- Power Pole Reach and Service Area
		if (string.find(items.name, "-pole") or string.find(items.name, "substation")) and items.supply_area_distance and items.supply_area_distance > 0 and items.maximum_wire_distance and items.maximum_wire_distance > 0 then
			items.maximum_wire_distance = items.maximum_wire_distance + powerpole_reach_multiplier;
			items.supply_area_distance = items.supply_area_distance + powerpole_area_multiplier;
			if items.supply_area_distance % 1 == 0 then
				items.supply_area_distance = items.supply_area_distance - 0.5;
			end
		end
Maybe change it to:

Code: Select all

-- Power Pole Reach and Service Area
		if (string.find(items.name, "-pole") or string.find(items.name, "substation")) and items.supply_area_distance and items.supply_area_distance > 0 and items.maximum_wire_distance and items.maximum_wire_distance > 0 then
			if items.maximum_wire_distance + powerpole_reach_multiplier > 64 then
				items.maximum_wire_distance = 64
			else
				items.maximum_wire_distance = items.maximum_wire_distance + powerpole_reach_multiplier
			end
			items.supply_area_distance = items.supply_area_distance + powerpole_area_multiplier;
			if items.supply_area_distance % 1 == 0 then
				items.supply_area_distance = items.supply_area_distance - 0.5;
			end
		end
Not tested.

Sorry cant find the folder that this is in can you paste the file path?
Post Reply

Return to “Mods”