Page 5 of 5

Re: WeaponTypes

Posted: 21 Aug 2010, 22:44
by KDR_11k
Tobi wrote:Changed lightingcannon->lightningcannon in the original post.
In the code too?

Re: WeaponTypes

Posted: 22 Aug 2010, 06:21
by jK
read changelog.txt?

Re: WeaponTypes

Posted: 22 Aug 2010, 18:19
by KDR_11k
Not recently.

Re: WeaponTypes

Posted: 20 Nov 2010, 23:28
by raaar
Howdy

I wanted to disable dynamic damage for beam lasers

I tampered with the following weapon attributes
dynDamageExp
DynDamageMin
DynDamageInverted
DynDamageRange

as indicated in
http://springrts.com/wiki/Weapon_Variables

but it did nothing. The wiki says it should be disabled by default (dynDamageExp=0;), but on the game they do about half the damage at max range... And nothing i do seems to change this.

Am i doing something wrong, or is it a bug?

Re: WeaponTypes

Posted: 21 Nov 2010, 02:33
by FLOZi
Random guess;

are BeamDecay or FallOffRate tags being used?

Re: WeaponTypes

Posted: 21 Nov 2010, 14:17
by raaar
Beamdecay=0.9 on some, but using the default on others. Falloffrate is using the default.

EDIT: tampered with those and it seems to have no effect whatsoever (tried to set them to 0, to 10.0, and to 0.001)


EDIT2: also tampered with duration and beamtime tags, but no effect (the beam fades quicker or slower, but still does roughly half damage at max range)

Re: WeaponTypes

Posted: 01 Dec 2010, 19:40
by raaar
so..?

Is it a bug? Is the wiki missing some variables? who has the answer to my questions?

Re: WeaponTypes

Posted: 01 Dec 2010, 19:48
by KingRaptor
minIntensity = 1, as noted in the BeamLaser description

S44 may not use beamlasers, but I'm still surprised you didn't remember that tag FLOZi <_<

Re: WeaponTypes

Posted: 01 Dec 2010, 20:15
by FLOZi
KingRaptor wrote:minIntensity = 1, as noted in the BeamLaser description

S44 may not use beamlasers, but I'm still surprised you didn't remember that tag FLOZi <_<
Can't win 'em all, even I'm not perfect. :wink: :mrgreen:

(But yeah, I dunno how I missed that in the wiki :()

Re: WeaponTypes

Posted: 01 Dec 2010, 22:54
by raaar
I'm not perfect either. Also read the wiki several times and missed it...dah

anyway, setting it to 1 makes the beam do 90% dmg at all ranges, not 100%, which is weird. I got it to deal approximately 100% by setting minintensity to 1.1.


EDIT:
with minintensity=1.0 i tried beamdecay=0, 1 and something in between, and it still did 90% dmg at max range instead of 100%

Btw, are weapon attribute names and values case-sensitive?
(i think most are not)

Re: WeaponTypes

Posted: 13 Apr 2015, 13:53
by 8611