June 29, 2022, 08:26:33 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: 1 2 3 [4] 5 6

Author Topic: [Client-side] Delta time  (Read 17753 times)

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #45 on: October 25, 2017, 10:21:55 am »

uggghh moving platforms use hspeed/vspeed gross
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #46 on: October 25, 2017, 01:34:02 pm »

literally can't get it to replace user event 1 of the moving platforms via plugin
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #47 on: October 25, 2017, 03:36:14 pm »

this fixes moving platforms on a local game, please test it with a client/server setup
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Pasiv01

  • Full Member
  • ***
  • Karma: 15
  • Offline Offline
  • Posts: 332
  • A
Re: [Client-side] Delta time
« Reply #48 on: October 25, 2017, 08:32:57 pm »

No worries.
Logged
Afk for the next few months - studying

Pasiv01

  • Full Member
  • ***
  • Karma: 15
  • Offline Offline
  • Posts: 332
  • A
Re: [Client-side] Delta time
« Reply #49 on: October 25, 2017, 11:22:08 pm »

ERROR in
action number 1
of  Step Event
for object MovingPlatform:

Error in code at line 3:
       _hspeed = cos(_direction)*_speed;
                    ^
at position 19: Unknown variable _direction


I put the btime in the same folder as the .exe
I put the deltatime in the Plugins folder
I hosted my map with platforms
This is what came up before I was able to test it

I have a lot of platforms if that makes a difference, some with an up speed of 50 which can fuck with collision walls.
Logged
Afk for the next few months - studying

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #50 on: October 26, 2017, 06:26:14 am »

redownload from this post

or find these three lines:

    _vspeed = 0;
    _hspeed = 0;
    _speed = 0;

and add this one

    _direction = 0;
« Last Edit: October 26, 2017, 06:26:27 am by Phantom Brave »
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #51 on: October 30, 2017, 08:07:10 am »

^- did this fix the moving platform error?
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Pasiv01

  • Full Member
  • ***
  • Karma: 15
  • Offline Offline
  • Posts: 332
  • A
Re: [Client-side] Delta time
« Reply #52 on: October 30, 2017, 08:30:34 pm »

Ill test it tonight, sorry lost track of time with the exams.
Logged
Afk for the next few months - studying

Pasiv01

  • Full Member
  • ***
  • Karma: 15
  • Offline Offline
  • Posts: 332
  • A
Re: [Client-side] Delta time
« Reply #53 on: October 31, 2017, 06:34:51 am »

It works fine now :c1: good work

Logged
Afk for the next few months - studying

PrOF

  • Full Member
  • ***
  • Karma: 43
  • Offline Offline
  • Posts: 599
  • Sometimes a dev. Only sometimes
Re: [Client-side] Delta time
« Reply #54 on: November 03, 2017, 01:38:54 pm »

Eeeeh not really deltatime's fault but the Damage Indicator doesn't work for me when I use deltatime :yaymoney:


Edit:
Also the candy healbeam particles go really fast
« Last Edit: November 03, 2017, 02:17:20 pm by PrOF »
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #55 on: November 03, 2017, 02:26:03 pm »

yeah don't even bother reporting bugs with other plugins that don't use delta time properly
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Kevin Kuntz

  • Heroic Member
  • ****
  • Karma: -58
  • Offline Offline
  • Posts: 712
  • panda took the kids
    • Rav And Kill Bill
Re: [Client-side] Delta time
« Reply #56 on: November 11, 2017, 03:01:12 pm »

i don't know what the hell this mod does but somewhy i feel like it just makes my game better or something with lag



so great job
« Last Edit: November 11, 2017, 03:01:23 pm by Kevin Kuntz »
Logged
I PEAKED
I PEAKED

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12701
  • Another one --
Re: [Client-side] Delta time
« Reply #57 on: November 11, 2017, 03:36:44 pm »

yep that's exacty what it does, makes the game better with lag
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

Kevin Kuntz

  • Heroic Member
  • ****
  • Karma: -58
  • Offline Offline
  • Posts: 712
  • panda took the kids
    • Rav And Kill Bill
Re: [Client-side] Delta time
« Reply #58 on: November 11, 2017, 11:22:42 pm »

oh wow thanks man that's what i've been using it for, nice
Logged
I PEAKED
I PEAKED

Spazz

  • Seasoned Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 1933
  • Almost too much seasoning.
Re: [Client-side] Delta time
« Reply #59 on: November 14, 2017, 08:33:54 pm »

Noticed on 30 FPS, jump sounds are not always played and screenshot sounds are never played.
Logged

<3 Bustatunez
Pages: 1 2 3 [4] 5 6
 

Page created in 0.042 seconds with 37 queries.