Statistics: Posted by Resin_Smoker — 29 Apr 2014, 13:36
Statistics: Posted by Ze_PilOt — 29 Apr 2014, 07:48
Resin_Smoker wrote:Pilot...
This is how to test a mod: http://www.faforever.com/forums/viewtopic.php?f=45&t=7232&p=71412#p71412
Resin
Statistics: Posted by Resin_Smoker — 29 Apr 2014, 05:34
Resin_Smoker wrote:
Pilot...
This is how to test a mod: http://www.faforever.com/forums/viewtopic.php?f=45&t=7232&p=71412#p71412
Resin
Statistics: Posted by Sheeo — 28 Apr 2014, 20:48
Statistics: Posted by Resin_Smoker — 19 Apr 2014, 03:13
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 12:43
Statistics: Posted by Resin_Smoker — 14 Apr 2014, 12:28
Sheeo wrote:2. I'm concerned that the overhead of a ForkThread call per wreck shadows the potential performance gain of removing wrecks in the long run. I haven't yet tried running the profiling tools (There are some goodies in /lua/system/profile.lua), but I'll try and do some tests when I have time.
-- if wreck is in water, some of his mass is removed.
if self:GetCurrentLayer() == 'Water' then
mass = mass * 0.5
energy = energy * 0.5
end
Statistics: Posted by Sheeo — 14 Apr 2014, 11:46
Destroy = function(self)
self.DestroyCalled = true
Entity.Destroy(self)
end,
OnDestroy = function(self)
if self.IsWreckage and not self.DestroyCalled then
RebuildBonusCheckCallback(self:GetPosition(), self.AssociatedBP)
end
self.Trash:Destroy()
end,
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 09:15
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 09:06
Resin_Smoker wrote:Just spawning units and letting them sit will not lag the sim much at all if the units are not active.
Statistics: Posted by Aurion — 14 Apr 2014, 08:45
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 07:59
Statistics: Posted by Resin_Smoker — 14 Apr 2014, 01:06
Ze_PilOt wrote:What is the proof that wreck impact sim speed?
Other than pathfinding, I can't find any evidence of that.
In a sandbox, 3000 wrecks, still running at +10. (while 1000 units alive run at +8)
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 00:24
but this is a known fact.
Statistics: Posted by Ze_PilOt — 14 Apr 2014, 00:21