Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 210 invités en ligne.

Utilisateurs en ligne

  • goduranus

Languages

  • English English
  • French French

Parcourir les archives

« December 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Formula Help

Soumis par StaticDet5 le Ven, 2006-11-24 12:41 SE:V MODs

I'm attempting to mod some different types of weapon damage. I'm working on a weapon that increases damamge over distance. I'm not looking for help on that score, but I can't seem to get this formula to work (Three iterations below):

Weapon Space Min Damage Modifier Formula := [%Level%] / (2 + 4 * (2.3 ^ (-.01 * ([%Range%]) - 50))))
Weapon Space Min Damage Modifier Formula := ([%Level%] / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50)))))
Weapon Space Min Damage Modifier Formula := (([%Level%] + 1) / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50)))))
Weapon Space Min Damage Modifier Formula := (([%Level%] + 1) / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50))))) + 1

I've even tried cutting and pasting the range limiting forumula from other weapons (The iif, min function) to the end of the forumula, to limit the range to 500.
The error I'm getting is "Cannot Parse". I know there are a ton of parentheses in the forumula, but I had to use an exponential curve instead of a logistic curve.

Anyway, I'm looking for some syntax help. Anyone see anything overtly wrong with the forumula itself?

‹ Weapon Modding: Lessons Learned Modding Manual? ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Mod Designer

Parse

Soumis par Phoenix-D le Ven, 2006-11-24 14:41

"Cannot parse" is a generic error that means it couldn't read the formula. Usually if you messed up the parentheses it'll tell you.

In this case it probably doesn't like the -.01. Try -0.01.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

That was it!

Soumis par StaticDet5 le Ven, 2006-11-24 15:48

That was it!

Thanks a ton.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • Babylon 5 Wars SEV Mod Update
  • Known SE5 v1.74 Bugs
  • Research By Percentage SUCKS
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Bad Bookkeeping

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • Space Empires V 1.08
  • AI: how do I make...
  • Militia Question
  • 1.20 Broken for PBEM??
  • (1.25) Strange Alliance
(c) Strategy First, Inc. All rights reserved.