Fix the beamlasers please

Fix the beamlasers please

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Fix the beamlasers please

Post by Forboding Angel »

I can set a beamlaser with a beamtime of 5 and 5000 damage, only about 1500 damage gets dealt even in close quarters.

Fix plox!
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

beamlasers by default dissipate with range. Test at close range.

There's a way to modify that behaviour - see minIntensity tag (setting it to 1 should fix your problem.) If it still doesn't work, then it's a bug.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

O_o By default? Why in the world was such a large change in average damage turned on by default?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Probably the same reason bonusshield is on by default. I think minIntensity should be 1 by default (overall I think a system with the least assumptions should be default so we don't need a forest of tags just to make a unit simple) but that would seriously break existing mods.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

You missed a key word in my post. This was a rather recent change turned on by default. Bonusshield was on because it had always been. And I'm all for tag(s) to go in modrules to remove all legacy wtfs.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Change? I didn't know the intensity stuff was a change, when did it happen?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

minIntensity was a change, yes, I added it when I tried to monkeypatch beamlasers into melee weapons when I noticed that damage isn't what I specified. Dissipation had been there a looong time before that.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

imbaczek wrote:Dissipation had been there a looong time before that.
Really? I had not once heard of it in that context, and mantis didn't show such. Oh well. :oops:
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

I've never reported this publicly, but minIntesity is there in a commit message together with one of targetBorder patches.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Fix the beamlasers please

Post by Forboding Angel »

Forboding Angel wrote:only about 1500 damage gets dealt even in close quarters.

Fix plox!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

did you try minintensity=1; ?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

KDR_11k wrote:did you try minintensity=1; ?
Why would I need that when the target is right next to the tower?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Who knows how the falloff formula works? Just do it.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

FA: to reduce the possibility space to the bare minimum.
Post Reply

Return to “Engine”