Jan 27, 2012, 02:02 PM | |
Online Event Updating
So I am have finished planning work to do some maps again, but I forgot how event updating works online for triggers, scenery, etc. What is Locally updated? What is updated when the Host updates? What is Universally updated. I am curious about:
-Trigger Scenery -Trigger Crates -Destruct Scenery -Bomb Scenery -Collapse Scenery -Animations (all players in sync?) -Exploding TNT crates, or MCE crates that fire lazers? |
Jan 27, 2012, 05:40 PM | |
Trigger Scenery is dependent on whether or not Trigger Crate or Trigger Zone is used. A Trigger Crate, when hit, affects the trigger scenery for all players, including the host (which of course means that all players joining the server thereafter continue to be affected by the trigger), while a Trigger Zone, when touched, only affects the player touching it. I'm guessing why this happens is because a Trigger Crate is spawned as an object, and objects in MP, when taken or destroyed, is updated for everyone in the server.
Destruct Scenery is supposed to be a server wide event, but during many games of Ground Force it's not at all uncommon to see someone standing on air. My guess is that the server sends information about what blocks have been destroyed, the client misses it due to packet loss, then the server stops sending information, leaving blocks available to the client. My take on the other two Sceneries is that they function more or less the same way as Destruct Scenery. Bomb Scenery is rarely used for actual destruction, but as a wall of sorts to prevent ammo going through walls and taking power ups which are meant to be physically visited. Animations start when a player loads a level, so these are not in sync. MCE Events and other generated objects have their presence announced to the clients by the server, and are probably treated like any other object.
__________________
drop by my SoundCloud or something if you want, it's my life's pride Last edited by Sean; Jan 28, 2012 at 02:48 AM. |
Jan 28, 2012, 01:14 AM | ||||
Quote:
Quote:
Quote:
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement. |
Jan 28, 2012, 02:54 AM | ||||
Quote:
Quote:
Quote:
__________________
drop by my SoundCloud or something if you want, it's my life's pride |
Jan 28, 2012, 08:06 AM | ||
Quote:
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement. |
Jan 28, 2012, 03:05 PM | ||
Quote:
then i opened it in jcs and realized i had already done it like 5 months ago and forgotten about it forgetting things makes me feel bad |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 02:23 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.