Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weapon and Lightning Gun Testing

#1
In my efforts to get the Arc (lightning gun) and weapon system updates ready for merge, a test server has been started for players to test, give suggestions and report bugs.

The server name is (SMB) Weapons/Lightning Gun Testing - Denver, chat is linked with IRC on the SMB duel channel (#smb.1v1 on QuakeNet).
Arc replaces machine gun spawns on the map. This option is for testing, and will probably be removed when system is merged to master.
[Image: 230.jpg]
Reply

#2
Test a little LG, kinda cool thing in general, but sound not best part of this weapon Smile
<machine> dude, i know i suck Smile
<OHSNAP! Mossepo> but you dont like finko-suck, u have potential to be good
Diomedes: Finko: You are the most intelligent guy in this community.
Reply

#3
I also played around with the Lightning Gun quite a bit. It does good damage, but it feels terrible to use. Not only is the sound underwhelming, as Finko pointed out, but the beam is also inconsistent and unresponsive. I often saw the beam unexpectedly disappear while it was still firing, which actually cost me a frag on the test server (I almost said "a frag or two", but let's be honest, the other one was my fault) as the lack of beam distracted me mid-fight.

Now this is probably me assming, but I noticed that it takes the 3 slot. Now, the machine gun is by far one of my favorite weapons. It feels really powerful and its alt fire makes it usable both over short and long range. If the Lightning Gun is going to replace the machine gun, I'll be very disappointed, even if it is made to feel more potent.

Anyways, I also had a good time playing with the new Electro, which has always been my second-favorite weapon. I like the change to the alt fire. Although the damage numbers have probably changed, I really appreciate the leeway it offers, and I also like the visual changes. So solid work on that one!
Reply

#4
Lg as new crylink secondary? (Just random thought Big Grin)
Reply

#5
I was also already asked by someone if this is to replace the MG, since it essentially does the same (keep the crosshair on enemy as long as possible and spray). No idea on that one, but I feel that'd be a step backward at this time, since the MG actually has a good wepon model, has been balanced, and code which works.

Anyway, I dedicated Friday to add some effects to the gun, as I so shortsightedly volunteered to Mario.
Now I don't know at all what this weapon was envisioned to be, so I tried to add some LG-like particle effects, though the result fell short of what I was trying for.

While doing that, I found the code still somewhat flawed, and I'm not sure we can fix it without divVerent's help.
The intended effect is great (a beam trail that behaves realistically, like a water hose) by using stiched-together vertexes instead of (just) particle effects,
and it has, afaik, the most complex weapon code in the game so far as a result.

But the beam drawing is done all client-side, as is the hit indication, making it pretty much a guessing game that doesn't at all indicate a verified hit by the server, as divVerent already pointed out in the code.
You can see how that fails when you pause the game or use slowmo -- the beam will still behave as if in realtime.
Without particle effects it's not as obvious, but once I added some to the trail it is, since they keep getting spawned while the game is paused; which looks truly atrocious.

In reality the beam should freeze while paused, or slow down in slowmo, as does every other wepons shot. I can't say how much work it would be to fix that.

Some screenshots to close with:

The beam as of now:
   
   

Added particle effects, sadly looks more like electro discharge than fizzling lightning :|
   
   
   

I haven't figured out yet where that muzzleflash comes from, or I'd have removed/changed it Tongue

And where it fails...
   
Reply

#6
The muzzle flashing is handled around line 1014 in w_arc.qc.
I'm not entirely sure how slowmo issue can be fixed, it doesn't look like the client code has anything to do with slowmo.
[Image: 230.jpg]
Reply

#7
I REALLY wanna try it out,but my connection don't wants me to play xon.And definetely not on a american server,there i am just teleporting around.But the screenshots look good!I am excited about the new weapon!
[Image: 22172.png]
Reply

#8
(11-09-2014, 04:11 AM)Mario Wrote: The muzzle flashing is handled around line 1014 in w_arc.qc.
But `self.beam_muzzleeffect = FALSE;` so I don't really understand.
Also I tried commenting out this block and it doesn't make a lick of difference.
(Recompiled of course)
Reply

#9
Thanks to all who tested, the weapon updates have been loaded on the regular duel servers (without arc).

For muzzle flash, make sure you set every instance to FALSE, as there are multiple places where it is set.
[Image: 230.jpg]
Reply

#10
I was just looking at the Denver SMB Duel Server, but I was kinda ... surprised about the physics there - is that something considered for official?
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#11
(11-09-2014, 09:26 PM)Mario Wrote: For muzzle flash, make sure you set every instance to FALSE, as there are multiple places where it is set.

Thanks for your vote of confidence in my code reading abilities Confused

But as I don't have enough knowledge to really dig into that code and figure out how to fix that beam to paint serverside anyway, I didn't look any harder for the solution.
I'll push my work on the effects though once I know where to.
Reply

#12
(11-10-2014, 08:07 AM)Halogene Wrote: I was just looking at the Denver SMB Duel Server, but I was kinda ... surprised about the physics there - is that something considered for official?

Denver uses the reversion tourney settings.


Drawing the lightning gun beam on the server would probably waste more bandwidth than would be worth it, and would make the beam laggy.
I can take a look and see if there really is no way to fix the slowmo issue client side later.
[Image: 230.jpg]
Reply

#13
Can you post some kind of changelog of these "weapon updates" please?

As for Arc: Healing is OP (atm), spectator bug and weaponreplace seems to be bugged as well.
I will elaborate in the team channel later.

My thoughts on secondary (what is Arc Burst?): Does not really need one, could be just zoom like with Nex.
Reply

#14
A rough changelog is available here: https://github.com/MarioSMB/esk-modpack/...-changelog

The arc burst will eventually be a more powerful version of primary, which uses more charge (weapon will eventually have an electric charge counter or something, maybe). Zoom as a temporary fix could be nice.

I haven't seen any bugs with spectators/weaponreplace, but I should be able to fix them once they've been pointed out.
[Image: 230.jpg]
Reply

#15
Semi-OT: Why the rename of Nex and uzi?
Reply

#16
I have fixed the spectator issue and some bug with weaponarena and bots.

machine!: The weapon name changes were voted upon, I think the discussion was here: http://forums.xonotic.org/showthread.php?tid=142
[Image: 230.jpg]
Reply

#17
Okey, thanks for clarifying!
Reply

#18
Mario is providing a test server for EU located in Paris: 94.23.24.92:26001
Reply

#19
Jumped on one of the servers in Europe that had it and save the expected issues with it, the Arc is pretty damn cool. I shocked to see it didn't lag at all with my ping (probably because it's client side). A little tweaking and it will be a proper machine gun replacement. Now the next major issue after this weapon gets sorted out will be redistributing the ammo so that all the ammo types have the weapons evenly distributed to them.
ECKZBAWKZ HUGE LIST OF ACHIEVEMENTS GOES HERE....


Oh wait.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Where are Weapon skins? NoClue 0 1,832 07-07-2022, 01:26 PM
Last Post: NoClue
  Can I adjust the weapon model size and stuff? Molnija 1 2,586 03-13-2019, 12:28 AM
Last Post: BuddyFriendGuy
  weapon size Molnija 0 2,382 12-03-2018, 05:22 AM
Last Post: Molnija
  Custom Weapon Balance - Live on /v/ server Antares* 30 21,853 09-30-2016, 11:52 AM
Last Post: Antares*
Rainbow curvegun (custom weapon) dingus 8 9,645 08-03-2016, 02:35 PM
Last Post: dingus
  Weapon models WIP help. Beagle 1 3,771 05-17-2015, 06:52 PM
Last Post: Beagle
  any unit testing? soukaina 3 4,424 01-12-2014, 05:24 PM
Last Post: Mr. Bougo
Question Hello and Offering Coding/Testing Help But Having Probs darrell_l 1 3,399 11-07-2013, 01:50 PM
Last Post: Mepper
  weapon with different effects according to team soukaina 23 20,921 06-06-2013, 01:20 PM
Last Post: Mr. Bougo
Information Spawn Weapon Concept: "Blaster" Samual 85 91,708 03-27-2013, 01:18 PM
Last Post: Samual

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-