![]() |
Re: MOD: Space Empires V - Babylon 5
Quote:
|
Re: MOD: Space Empires V - Babylon 5
Figured everything out, thanks for the link Fyron. As a matter of fact i did not notice the detailed article regarding weapon formulas.
|
Re: MOD: Space Empires V - Babylon 5
Its linked from the relevant field names in the Components article. Is that not clear enough? Not sure how to make it clearer.
|
Re: MOD: Space Empires V - Babylon 5
I will be more sensitive next time, sorry about that.
Now, a more important question. I cant seem to get the damage system to work. I have this piece of armor: Number Of Abilities := 2 Ability 1 Type := Component - Damage Resistance Ability 1 Description := Negates any damage of [%Amount1%]kT or les Ability 1 Scope := Space Object Ability 1 Range Formula := 0 Ability 1 Amount 1 Formula := 4 Ability 1 Amount 2 Formula := 0 Ability 2 Type := Component - Is Armor Type Ability 2 Description := Provides armor protection. Ability 2 Scope := Space Object Ability 2 Range Formula := 0 Ability 2 Amount 1 Formula := "Normal Armor" Ability 2 Amount 2 Formula := 0 It is armor, therefor soaks up damage. In addition, it negates small bits of damage. Now, as mentioned i want a bit of the damage to leak into the hull. Im using a weapon with dmg type "normal". DAMAGETYPES Armor Type 1 Name := Normal Armor Armor Type 1 Penetration Percent := X Armor Type 1 Damage Percent := X Now, how should those 2 values be set up ? If i want a gun which does 100 damage to do 30 % of its damage to the internals, i obviously should set penetration percent to 30. But what about the Damage Percent ? Should it be it 70 or 100 ? I have various different things, but in fact NEVER was damaage spread to the internals without the armor being first 100% destroyed. |
Re: MOD: Space Empires V - Babylon 5
Quote:
Quote:
Quote:
If you want really leaky armor, try setting the penetration to a high value, like 90. |
Re: MOD: Space Empires V - Babylon 5
To calculate how much damage will be absorbed by the armor:
(penetration factor) ^ (number of layers) For example: 5 layers of armor that each leak 70% of the damage through (70% penetration = 0.7) 0.7 ^ 5 = 0.168 Therefore, only 17% of the damage will make it all the way through those 5 layers. |
Re: MOD: Space Empires V - Babylon 5
Regarding the weapon to hit modifier formula. How would i go about capping it at some point ?
I want a gun that gets a to hit bonus when being away from the target: [%Range%] / 2 However, i want it to be capped at 25 or what. |
Re: MOD: Space Empires V - Babylon 5
If you look on page 53 of the modding doc, you will see some useful functions. Min is what you want in this case. It will return the smaller of the two values.
Min([%Range%] / 2, 25) |
Re: MOD: Space Empires V - Babylon 5
Quote:
|
Re: MOD: Space Empires V - Babylon 5
Quote:
|
All times are GMT -4. The time now is 11:04 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.