Hi there Guest,  
Sign in here: Login through Steam



  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
[Change] Class perks

#7
(09-21-2018, 02:13 PM)Kheyre Wrote:  That would work, I was thinking of something similar to rollspeed, Br_Classperk or something like that, just to say to the server "hey use the ability if you have a class"

Convars are either on the client OR the server, and not attached to players unless ON client. Even then networking has to be done at a non-priority rate to get any changed involving them. br_rollspeed is a convar. Concommands, which run code when executed, also have to be one or the other. When you type a server concommand from your console, it executes said code on the server, and not the client. I can't have it execute code on both without networking from one to the other using GMOD's net library, which has less priority over movement/player updates.

The 'press ability buttons to do said movement action' is SHARED and PREDICTED for a smooth experience. If I do what you said, as I stated above, a NOTICEABLE input delay would occur making it feel clunky and awkward to use. Thus the only option is to use the keys that are networked with the movement updates, using sources prediction system.
Find
Reply



Messages In This Thread
[Change] Class perks - Kheyre - 09-20-2018, 07:37 PM
RE: [Change] Class perks - AnthemPartThree - 09-20-2018, 10:09 PM
RE: [Change] Class perks - Brassx - 09-21-2018, 08:50 AM
RE: [Change] Class perks - tobiasxz-usagi - 09-21-2018, 10:18 AM
RE: [Change] Class perks - Dreadark - 09-22-2018, 02:47 AM
RE: [Change] Class perks - Brassx - 09-21-2018, 11:28 AM
RE: [Change] Class perks - Kheyre - 09-21-2018, 02:13 PM
RE: [Change] Class perks - Brassx - 09-21-2018, 02:19 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)