In the code too?Tobi wrote:Changed lightingcannon->lightningcannon in the original post.
WeaponTypes
Moderator: Moderators
Re: WeaponTypes
Re: WeaponTypes
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?
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
Random guess;
are BeamDecay or FallOffRate tags being used?
are BeamDecay or FallOffRate tags being used?
Re: WeaponTypes
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)
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
so..?
Is it a bug? Is the wiki missing some variables? who has the answer to my questions?
Is it a bug? Is the wiki missing some variables? who has the answer to my questions?
- KingRaptor
- Zero-K Developer
- Posts: 838
- Joined: 14 Mar 2007, 03:44
Re: WeaponTypes
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 <_<
S44 may not use beamlasers, but I'm still surprised you didn't remember that tag FLOZi <_<
Re: WeaponTypes
Can't win 'em all, even I'm not perfect.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 <_<
(But yeah, I dunno how I missed that in the wiki )
Re: WeaponTypes
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)
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)