by MarkusNemesis » 18 Aug 12, 6:36 pm
On another note.
0.4v will feature time dilation. Benny half-assedly implemented a time dilation script but never used it anywhere, so I'm going to make it properly and have it affect all server-side actions.
When the server is running at shit-for-FPS, buildings take for ever to build, so with time dilation, it'll compensate the lag by making the construction time scale with how long an actual servertime second is.
You can also see this in commander votes, where three real life seconds will translate to 1 server second, so, this means that with time dilation, each "second" will actually be 0.33 seconds.
I'm also making a few optimisations on the lines of removing totally pointless sleeps, eg. "sleep (random 1)" which serve absolutely no purpose but to consume server CPU time.
Another optimisation is to change how camps change hands. Currently, each camp has a script that initializes them, and then sleeps until the town is captured. This means ~(3 x 15) = 45 scripts are sitting idle on the server, plus the 15 scripts for the town capture point, = 60 scripts. What I'll change it to will be that when the town is waiting to be captured (15 scripts sleeping), and when the town changes hands, it'll call a script to go through and change that town's camps ownership also.
These changes are not to change how game mechanics work, but to make them more server-side friendly and make the game APPEAR smoother, as well as hopefully gain some additional performance out of GON's current server hardware.
Thoughts?
Also, the official 0.4v feature list so far is this:
Chinook HC4 increased by 2k (Radar beep)
AH-1z increased to 84k (120 flares)
AH-1 (Brit) increased by 4k (Radar beep, better rockets?)
AH-6J to 18k
Price swap MI-24D with Mi-8 Rockets (Even though tests suggest the Mi-8 is more resilient to engine failure after 1 stinger)
UH-1Y to 20k
Disallow saving of gear outside your current gear level
No-collide campfires
Make porta-loos buildable under the "startegic" menu - Maybe not
Give Stryker MEV a horn (truck horn)
Turn the stryker into a LAV HQ
Make lockpicked vehicles appear on the map
Give OPFOR IEDs - Discuss balance, investigate damage figures.
Make it so aircraft don't spawn towns unless flying < 100 KM/h and at altitudes of < 150m (Get type, if it's a jet, don't trigger, but what script is this?)
Ambulance marker text set to "+"
Fuel truck marker set to "F"
Ammo truck set to "A"
Mi-17 Medevac given 120 flares
Stop selling of base buildings if the HQ is dead
Add more vickers ammo
Implement time dilation for ALL server-side sleeps.
Investigate why limit missile range script runs on all clients when the missile doesn't belong to you.
Make a 40 players version.
Give ambulances a siren (transplant from a life mod) - maybe not.
Fix Init_Camp.sqf to not sit and wait for the camp to be captured.
Fix time dialation Common_GetSleepFPS.sqf
Last edited by
MarkusNemesis on 18 Aug 12, 7:01 pm, edited 2 times in total.