.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old April 19th, 2008, 05:14 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: MOD: Space Empires V - Babylon 5

Quote:
Ragnarok-X said:
I will be more sensitive next time, sorry about that.
I was actually asking a serious question. I wasn't offended or anything.

Quote:
Ragnarok-X said:
But what about the Damage Percent ? Should it be it 70 or 100 ?
Damage Percent is multiplied against the damage done to the armor component (IIRC after the Penetration Percent is removed). Setting it to 0 means no damage at all is done. Setting it to 70 means 30% of the damage will be dropped (in addition to the 30% that passes on to the next component). You should probably set it to 100.

Quote:
Ragnarok-X said:
I have various different things, but in fact NEVER was damaage spread to the internals without the armor being first 100% destroyed.
As stated previously, damage has to go through every armor component, in the order they were added to the ship, before anything gets to the internals. If you have 10 armor components, a 30% penetration percent will not get all the way through. Assuming Damage Percent is set to 100, Armor 1 will take 70% of the hit's damage. Armor 2 will take 21% of the hit's damage. Armor 3 will take 6.3% of the damage, and so on.

If you want really leaky armor, try setting the penetration to a high value, like 90.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old April 20th, 2008, 02:21 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old April 20th, 2008, 08:16 AM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default 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.
Reply With Quote
  #4  
Old April 20th, 2008, 01:00 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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)
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old April 20th, 2008, 01:46 PM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: MOD: Space Empires V - Babylon 5

Quote:
Fyron said:
Quote:

However, i want it to be capped at 25 or what.
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)
As he wants a cap, he would need a MAX function .. if there's any (dunno, never read that doc). ;-)
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #6  
Old April 20th, 2008, 03:05 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: MOD: Space Empires V - Babylon 5

Max would provide a minimum value. (It never goes below X)
Max( X , SomeValue) Returns the bigger of the two.

Min provides a maximum value. (It never goes above X)
Min( X , SomeValue) Returns the smaller of the two.
Reply With Quote
  #7  
Old April 20th, 2008, 05:01 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: MOD: Space Empires V - Babylon 5

Arralen said:
"As he wants a cap, he would need a MAX function .. if there's any (dunno, never read that doc)."


Ah, the trap of function naming. Catches up everyone when they first think about using Min and Max functions. Gotta love reverse logical thinking.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.