A question about weapon mounts |

Ive been trying to use a mount to reduce the size, supply usage, range and damage of every weapon, so they can fit in units. Everything works just fine, excepting the damage. I used the ability "Component - Weapon Damage Percent" and the value "-109" at it. I had previously used "-90" hoping it would result in on tenth of the original value but to no avail. I experimented several values untill "-109" apparently worked. It was one tenth of the damage. In game, however, it jumped to almost 1K damage. Has anyone else ever tried it?

Re: A question about weapon mounts
The weapon mounts or any mounts for that matter are always in relation to 100%, so a weapon that would do 10% more is 110%, or a weapon that only does 10% damage is -90%. Now the problem for seV is in the translation, sometimes it accepts the values, sometimes it doesn't and spits wierd numbers and ranges back at you due to the weapons formula in the components.txt vs the mount in the ComponentsEnhancement.txt. Just experiment to find what you like and remember that weapons are not the only mounts out there.
Example Mount (from my Mount Mod):
Long Name := Gatling Mount
Short Name := GAT Mount
Description := Small and up close versions of weapons. Made for multiple volleys. Can only be used on Direct Fire weapons.
Picture Number := 1
Code := gat
Maximum Level := 11
Can Be Placed On Vehicle Types := Ship, Base, Satellite, Troop, Weapon Platform, Drone
Number Of Abilities := 8
Ability 1 Type := Component - Weapon Damage Percent
Ability 1 Description := Decreases damage of weapon by +[%Amount1%]%.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := -88 + (([%Level%] - 1) * 1.5)
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Component - Tonnage Structure Percent
Ability 2 Description := Decreases tonnage structure for component by +[%Amount1%]%.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := -90 + (([%Level%] - 1) * 1)
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Component - Tonnage Space Taken Percent
Ability 3 Description := Decreases tonnage for component by +[%Amount1%]%.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := -80 - (([%Level%] - 1) * 0.5)
Ability 3 Amount 2 Formula := 0
Ability 4 Type := Component - Cost Percent
Ability 4 Description := Decreases cost for component by +[%Amount1%]%.
Ability 4 Scope := Space Object
Ability 4 Range Formula := 0
Ability 4 Amount 1 Formula := -85
Ability 4 Amount 2 Formula := 0
Ability 5 Type := Component - Supply Usage Percent
Ability 5 Description := Decreases use of supplies for component by +[%Amount1%]%.
Ability 5 Scope := Space Object
Ability 5 Range Formula := 0
Ability 5 Amount 1 Formula := -20
Ability 5 Amount 2 Formula := 0
Ability 6 Type := Component - Ordnance Usage Percent
Ability 6 Description := Decreases use of ordnance for component by +[%Amount1%]%.
Ability 6 Scope := Space Object
Ability 6 Range Formula := 0
Ability 6 Amount 1 Formula := -20
Ability 6 Amount 2 Formula := 0
Ability 7 Type := Component - Weapon Range
Ability 7 Description := Decreases range of weapon by [%Amount1%] ls.
Ability 7 Scope := Space Object
Ability 7 Range Formula := 0
Ability 7 Amount 1 Formula := -20 + (([%Level%] - 1) * 1)
Ability 7 Amount 2 Formula := 0
Ability 8 Type := Component - Weapon To Hit Percent
Ability 8 Description := Increases chance for weapon to hit by +[%Amount1%]%.
Ability 8 Scope := Space Object
Ability 8 Range Formula := 0
Ability 8 Amount 1 Formula := 15 + (([%Level%] - 1) * 0.5) + (1 + ((Get_Empire_Tech_Level("Combat Sensors"))) * 0.5)
Ability 8 Amount 2 Formula := 0
Number Of Requirements := 3
Requirements Evaluation Availability := 3
Requirements Evaluation Allows Placement := 1
Requirements Evaluation Allows Usage := 2
Requirement 1 Description := Component must be a Direct Fire Weapon.
Requirement 1 Formula := Get_Component_Weapon_Type() = "Direct Fire"
Requirement 2 Description := The vehicle size must be at least 5kT.
Requirement 2 Formula := Get_Vehicle_Size_Tonnage() >= 5
Requirement 3 Description := Empire must have at least tech level 1 in Ship Weapon Mounts.
Requirement 3 Formula := Get_Empire_Tech_Level("Ship Weapon Mounts") >= (1 + ([%Level%] - 1))
Example 2 Mount
Long Name := Military Engine Mount
Short Name := Military Engine Mount
Description := Engine mount available to the Military. Heavily armored and strengthened to withstand weapons.
Picture Number := 10
Code := Mil
Maximum Level := 11
Can Be Placed On Vehicle Types := Ship, Fighter, Drone
Number Of Abilities := 4
Ability 1 Type := Component - Tonnage Structure Percent
Ability 1 Description := Increases tonnage structure for component by +[%Amount1%]%.
Ability 1 Scope := Space Object
Ability 1 Range Formula := 0
Ability 1 Amount 1 Formula := 40 * (((Get_Empire_Tech_Level("Armor") - 1) * 0.1) + 1)
Ability 1 Amount 2 Formula := 0
Ability 2 Type := Component - Supply Usage Percent
Ability 2 Description := Decreases use of supplies for component by +[%Amount1%]%.
Ability 2 Scope := Space Object
Ability 2 Range Formula := 0
Ability 2 Amount 1 Formula := -50 * (((Get_Empire_Tech_Level("Environmental Sciences") - 1) * 0.1) + 1)
Ability 2 Amount 2 Formula := 0
Ability 3 Type := Component - Tonnage Space Taken Percent
Ability 3 Description := Decreases tonnage for component by +[%Amount1%]%.
Ability 3 Scope := Space Object
Ability 3 Range Formula := 0
Ability 3 Amount 1 Formula := -35 * (((Get_Empire_Tech_Level("Storage") - 1) * 0.1) + 1)
Ability 3 Amount 2 Formula := 0
Ability 4 Type := Component - Cost Percent
Ability 4 Description := Increases cost for component by +[%Amount1%]%.
Ability 4 Scope := Space Object
Ability 4 Range Formula := 0
Ability 4 Amount 1 Formula := 35 * (((Get_Empire_Tech_Level("Economics") - 1) * 0.1) + 1)
Ability 4 Amount 2 Formula := 0
Number Of Requirements := 3
Requirements Evaluation Availability := 3
Requirements Evaluation Allows Placement := 1
Requirements Evaluation Allows Usage := 2
Requirement 1 Description := Component must be an Engine.
Requirement 1 Formula := Get_Component_Weapon_Type() = "None"
Requirement 2 Description := The vehicle size must be at least 7kT.
Requirement 2 Formula := Get_Vehicle_Size_Tonnage() >= 7
Requirement 3 Description := Empire must have at least tech level 2 in Military Science.
Requirement 3 Formula := Get_Empire_Tech_Level("Military Science") >= (2 + ([%Level%] - 1))
Sometimes even 1 or 2 % difference is the key (ie, my gatling mount is great at -88% but at -95% was mostly useless and most weapons just gave back Zero's.

Re: A question about weapon mounts
Oh yeah, and remember that the Component.txt specifies WHAT ships/units etc can use certain components. Even if you specify its a fighter mount don't expect that Wave Motion Gun to fit unless you change the entry in the components as well.
Re: A question about weapon mounts
Why would you use -109%? At best it would result in 0, at worst it would result in value overflows (hence something in the thousands).




Re: A question about weapon mounts
formulas do not work well with negative numbers in this game. if you want to use one tenth the original value multiply by .10 instead.