Projectiles and prediction
MOOtant
Join Date: 2010-06-25 Member: 72158Members
Are projectiles predicted at all in NS2? From what I've seen in Projectile, Projectile_Client and Projectile_Server it seems that only server moves objects around. Is that true? That seems very unlikely because that'd be incredibly stupid way to structure things - that many networked ents going through the wire practically kill any server there is.
I can't see any place that'd update ent on client though I didn't read much.
My mod had networked missiles stolen from HL2 rocket launcher and 20 slots server practically died after firing just a few rockets per per person each seconds. After moving to predicted missiles that send starting conditions and nothing else we were able to host 60 slot servers with lots of tanks and rockets and have tickrate around 33. My dumb missiles aren't inheriting CBaseEntity (in NS2 case I think it's ScriptActor), that'd be retarded.
I can't see any place that'd update ent on client though I didn't read much.
My mod had networked missiles stolen from HL2 rocket launcher and 20 slots server practically died after firing just a few rockets per per person each seconds. After moving to predicted missiles that send starting conditions and nothing else we were able to host 60 slot servers with lots of tanks and rockets and have tickrate around 33. My dumb missiles aren't inheriting CBaseEntity (in NS2 case I think it's ScriptActor), that'd be retarded.
Comments