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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old September 18th, 2006, 10:30 PM
Noble713's Avatar

Noble713 Noble713 is offline
Sergeant
 
Join Date: Aug 2000
Location: Garden-Variety State
Posts: 356
Thanks: 5
Thanked 0 Times in 0 Posts
Noble713 is on a distinguished road
Default Re: Modding SEV Thread Questions

Can anyone decifer the weapon damage and range formulas?

I'm referring to stuff like this:

Weapon Space Min Damage Modifier Formula := (5 + (([%Level%] - 1) * 2)) - iif([%Range%] > Min(30, (([%Level%] - 1) * 20) + 10), 10000, 0)

I'll try to explain my understanding, taking it piece by piece:
(5 + (([%Level%] - 1) * 2)) Gives a damage rate based on the level of the component.

Min(30, (([%Level%] - 1) * 20) + 10) Compares a number to the value of a function based on the weapon level and returns the lower of the two?

- iif([%Range%] > ..... ,10000, 0) If the range is greater than the value returned above, return 1st number. Otherwise return the 2nd number?


Geesh. I think I'm going to need Excel graphs to tweak damage formulas for my mods.
__________________
Hail Caesar!

L+ GdY $? Fr! C- SdS T!+ Sf+ Tcp A% M++ MpM R!- Pw+ Fq-- Nd-- RP+ G++
Reply With Quote
 

Bookmarks


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 08:49 AM.


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