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

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 2 users and 188 guests online.

Online users

  • Astroshak
  • Aquila

Languages

  • English English
  • French French

Browse archives

« July 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      
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

a little help needed please. "weapon ranges"

Scottmm78's picture
Submitted by Scottmm78 on Tue, 2007-02-20 16:16. SE:V MODs

where in the component details can i change a weapons range either longer or shorter i see formula after formula for damage but not range, i see %range% variable but nowhere to set it.

I liked SEIV's range and damage i know it had its weeknesses but i was able to make a weapon that did more damage at long range (think Battletech's PPC and its min range)

‹ How to make a Base component increase planet pop limit/ facility limit FQM 5.00 Beta 4 ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Captain Kwok's picture
Mod Designer

Re: a little help needed please. "weapon ranges"

Submitted by Captain Kwok on Tue, 2007-02-20 20:38.

You can use SE:IV style weapon damage entries in the "Weapon Space Min Damage At Range" and "Weapon Space Max Damage At Range" fields.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments
Psieye's picture

Re: a little help needed please. "weapon ranges"

Submitted by Psieye on Wed, 2007-02-21 05:26.

It's pretty much the "- iif([%Range%] > Insert Max Range, 10000, 0)" part that dictates max weapon range. Where,

Insert Max Range = Min(80, (([%Level%] - 1) * 10) + 40)
which in this case translates to "Max range = 40, 50, 60, 70, 80, 80, 80, ..." as you go up in level.

---Sig---
Playing Touhou games (Go here if interested . No, nobody else is that good/insane as that replay). No rush for SE V bug fixing.

» login or register to post comments
ekolis's picture
Mod Designer

Re: a little help needed please. "weapon ranges"

Submitted by ekolis on Wed, 2007-02-21 09:35.

Captain Kwok wrote:
You can use SE:IV style weapon damage entries in the "Weapon Space Min Damage At Range" and "Weapon Space Max Damage At Range" fields.

Wait... you mean I can do this, for some sort of "gravitonic coherence blaster":
Weapon Space Min Damage At Range := 50 100 200 100 50 100 200 100 50
Weapon Space Max Damage At Range := 50 100 200 100 50 100 200 100 50
And it would give me a choppy linear approximation to a wave function? (Presumably each entry would correspond to 10km, or whatever settings.txt tells the weapon report to display each increment as?)
Those aren't formula fields by chance, are they? Where you can put in a formula for each range increment? Because that would be really nifty... 8-O
(I always left those two fields just set to zero and messed with the modifier formula, because that's how stock did it and I figured those fields were either ignored or just added on to the damage at all ranges!
I mean, a wave function isn't all that cool (just put sin([%Range%] * SomeConstant) into your formula somewhere), but there are other things like sawtooth functions that are not so easily modelled! Perhaps a weapon where the minimum and maximum start out at 50 but diverge to 0 and 100 as range increases?

~~~
The power of the ancients is now yours to command. You are truly the Master... of the obvious Sticking out tongue

» login or register to post comments

Re: a little help needed please. "weapon ranges"

Submitted by Alpedar on Wed, 2007-02-21 11:56.

Imo strange (wawe/saw/gausian/...) damage functions are not good idea, becose:
AI cannot use them (if AI would be unlucky enough to be on worst possible range, but IN range, it would not try to get to better range), and for player who can do it, it would be too hard to do (hard to know exact range to target).

So anything more complex than minimal range, increase and then decreas and max range is imo unplayable.

» login or register to post comments
Mod Designer

Re: a little help needed please. "weapon ranges"

Submitted by Phoenix-D on Wed, 2007-02-21 16:43.

1000, 0 is the cutoff. What its saying is "If the weapon is out of range, subtract 10000 from its damage. If its in range subtract 0."

Weapons don't actually have "maximum ranges" per se. They just have ranges where they hit 0 damage.

» login or register to post comments
Scottmm78's picture

Re: a little help needed please. "weapon ranges"

Submitted by Scottmm78 on Wed, 2007-02-21 16:43.

Psieye wrote:
It's pretty much the "- iif([%Range%] > Insert Max Range, 10000, 0)" part that dictates max weapon range. Where,

Insert Max Range = Min(80, (([%Level%] - 1) * 10) + 40)
which in this case translates to "Max range = 40, 50, 60, 70, 80, 80, 80, ..." as you go up in level.

---Sig---
Playing Touhou games (Go here if interested . No, nobody else is that good/insane as that replay). No rush for SE V bug fixing.

= Min(80, (([%Level%] - 1) * 10) + 40), 10000, 0)
Ok i get that "80" is max range and "(([%Level%] - 1) * 10) + 40)"is range for this level but what about "10000, 0"

PS thanks for the help

» login or register to post comments
Psieye's picture

Re: a little help needed please. "weapon ranges"

Submitted by Psieye on Thu, 2007-02-22 04:47.

Phoenix-D answered your question above - "subtract 10000 if over range".

---Sig---
Playing Touhou games (Go here if interested . No, nobody else is that good/insane as that replay). No rush for SE V bug fixing.

» login or register to post comments
Scottmm78's picture

Re: a little help needed please. "weapon ranges"

Submitted by Scottmm78 on Thu, 2007-02-22 10:36.

Opps sorry did not see it looks like they where posted at the same time is why again thanks

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

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

Popular content

Today's:

  • Tweaking the planet art without going all the way to FQM
  • Space Empires V 1.74
  • Babylon 5 Vorlon ship set
  • Babylon 5 Earth Alliance ship set
  • Intelligence

All time:

  • 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

Last viewed:

  • DevnullMod 1.0.0
  • error reports
  • TDirect3DxFile.start not found 1.08
  • Where did the Explorer and Scout design type go?
  • Disable Spying: Playing without Espionage
(c) Strategy First, Inc. All rights reserved.