So in our first actual game of CT since making a lot of muzzleflare CEGs, we noticed that sometimes, for no apparent reason, a CEG would flash across the screen at about a hundred times the size it should be. Wondering if anyone has any input on this, if its a common problem that can be remedied, or what.
Not sure what other info I could provide, I guess ask and I'll try and provide.
Here is a link to our issue for this, for no good reason:
Happened for both snoop and I at least. We were on Mumble during the game.
Attached replay.
Build is 1369, map is ye olde Tropical.
First to notice was the drone's binderbeam CEG (actually not supposed to be in the game...), and later noticed the muzzle flares off of cruisers, I think anyways... happens very fast.
I have NEVER seen this. Paste the offending ceg please.
Probably the most assuring thing I could hear.
Well, after watching the replay for the first time, I was sad to see it wasn't actually happening. Then, my poptarts popped so I paused the replay to go get them, and BAM! All of the CEGs on the screen popped up real big, and then returned to normal as the game was paused. I was able to make it repeat this each time I paused the game; the CEGs did their thing.
Which makes me wonder, maybe the cause for this before was little moments of lag in the game. Almost seems like if the game stops, the CEGs continue in their grow tag for a second longer or something.
I briefly tried but of course got nothing. Do any of your units fire a CEG that's not weapon related? The binderbeam is a constantly running CEG, like this:
Code:
local function binderbeam() Turn(binderbeampiece, y_axis, 1.5, 10) while (true) do EmitSfx(binderbeampiece, ct_binderbeam) Sleep(1) end end
function script.Create(unitID) StartThread(binderbeam) end
That is running 1000 times a second, unless LUS is updated only every frame itself - and in that case, Sleep(30) would be no different to Sleep(1), or no more than a single frame different anyway.
Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
Quote:
Which makes me wonder, maybe the cause for this before was little moments of lag in the game. Almost seems like if the game stops, the CEGs continue in their grow tag for a second longer or something.
pretty sure it is this.
There is/was def. something strange with effects and fps lag/pause etc. In old spring all debris and particles would continue flooding in their direction when the game had ended. Smoke clouds would grow superlarge because they did not died after game end. On pausing they would continue to grow for a moment and then "snap back." And I think in e&e I sometimes noticed that when pausing, the smoke clouds over powerplants would become very large for a brief moment. I guess it is something like that.
sizegrowth = 1, ttl = 1, maybe try sizegrowth = 0, effect is only alive for 1 frame so i dont see how it should have time to grow anyway.
Anyway, when posting replays..at least give time and position. otherwise nobody watches them.
That is running 1000 times a second, unless LUS is updated only every frame itself - and in that case, Sleep(30) would be no different to Sleep(1), or no more than a single frame different anyway.
I remember doing tests for this and Sleep() is indeed updated once per frame so that Sleep(1) = Sleep(30).
I had to listen to this multiply times because I could not hear you over my laughing. I don't know why you did this but it was hilarious and we should be friends. On a serious and on topic note. This is still happening.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum