Jump to content


Replying to Lag Question


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

Ghostrider

Posted 22 November 2010 - 06:22 PM

Thirdly we found a bug in the original mapping codes that added a miniaturised level 5 starbase under each planet, and removed it. This greatly increased lag when left in play. - That was a long time ago, and I can't remember if we cut the offending item before or after V1.1 was released.


Wait, how exactly did you remove the starbase under the planet? Can I do this in the 1.1 installation?



I don't think it was particularly easy fix.... mapping codes are a bit tougher than standard XML's. And the mod has a LOT of planets.

PR can you remember this one?

Panzer VI Tiger

Posted 20 November 2010 - 11:33 PM

Thirdly we found a bug in the original mapping codes that added a miniaturised level 5 starbase under each planet, and removed it. This greatly increased lag when left in play. - That was a long time ago, and I can't remember if we cut the offending item before or after V1.1 was released.


Wait, how exactly did you remove the starbase under the planet? Can I do this in the 1.1 installation?

Phoenix Rising

Posted 05 July 2010 - 08:23 PM

Yeh, noticed that starting fleets of each player are very strange. Like tie starfighters etc for rebels. And theres lotsa different units in starting fleets.

That's by design. We're trying to show a definite transition from Clone Wars tech to our tech trees.

TopAce

Posted 05 July 2010 - 07:39 PM

Bumping this up a bit. When playing inner or outer GC maps game is veeeeery slow. (5 to 10) FPS so anything i do takes forever. Anyone found out way to improve performace on galactic mode? Could disabling pirate or neutral AI help? Or something like that?


Oh. yes.
We found a fair few things. Part of the total revamp of the campaigns was to take account of some of these factors.
In Core Worlds we introduced the CSA as a non-player AI faction, which reduces the size of the Pirate faction.
Secondly, in all the GFFA-type theoretical campaigns we have increased the number of player starting worlds, in some cases significantly (5 for Core / 8 inner Rim & 12 for Outer Rim & 18GFFA)
This will reduce lag as it reduces the size of the pirate fleet.

Thirdly we found a bug in the original mapping codes that added a miniaturised level 5 starbase under each planet, and removed it. This greatly increased lag when left in play. - That was a long time ago, and I can't remember if we cut the offending item before or after V1.1 was released.

Fourth. GFFA and OR have been capped to 100 worlds.

Finally, it's down to me in the coding. The more unit variation you have the more lag. So I have to try and balance fun and planetary interest with lag. Basically its better to have a fleet of 20 Z-95-I3's than 5 Z's, 4 ARC-170's, 2 YT1300's and 8 Mankvims, but less interesting to fight. So for OR and GFFA I will probably simplify the fleets slightly compared to Core and Inner Rim.

PR - Did I miss anything - like the AI coding???

The current version that we are testing has a lot more in it and less lag. :p



Yay. Very nice to hear that. Gimme gimme 1.2. :popcorn:
Yeh, noticed that starting fleets of each player are very strange. Like tie starfighters etc for rebels. And theres lotsa different units in starting fleets.

Also as a side note for some really strange reason when ever keep neutral or pirate planet targeted while in campaign mode, game goes way smoother. And when i go back to my own planets, heavier lag is back. Anyone else noticed this or am i totally barking at wrong tree?

Ghostrider

Posted 05 July 2010 - 02:57 PM

Bumping this up a bit. When playing inner or outer GC maps game is veeeeery slow. (5 to 10) FPS so anything i do takes forever. Anyone found out way to improve performace on galactic mode? Could disabling pirate or neutral AI help? Or something like that?


Oh. yes.
We found a fair few things. Part of the total revamp of the campaigns was to take account of some of these factors.
In Core Worlds we introduced the CSA as a non-player AI faction, which reduces the size of the Pirate faction.
Secondly, in all the GFFA-type theoretical campaigns we have increased the number of player starting worlds, in some cases significantly (5 for Core / 8 inner Rim & 12 for Outer Rim & 18GFFA)
This will reduce lag as it reduces the size of the pirate fleet.

Thirdly we found a bug in the original mapping codes that added a miniaturised level 5 starbase under each planet, and removed it. This greatly increased lag when left in play. - That was a long time ago, and I can't remember if we cut the offending item before or after V1.1 was released.

Fourth. GFFA and OR have been capped to 100 worlds.

Finally, it's down to me in the coding. The more unit variation you have the more lag. So I have to try and balance fun and planetary interest with lag. Basically its better to have a fleet of 20 Z-95-I3's than 5 Z's, 4 ARC-170's, 2 YT1300's and 8 Mankvims, but less interesting to fight. So for OR and GFFA I will probably simplify the fleets slightly compared to Core and Inner Rim.

PR - Did I miss anything - like the AI coding???

The current version that we are testing has a lot more in it and less lag. :p

TopAce

Posted 05 July 2010 - 01:50 PM

Bumping this up a bit. When playing inner or outer GC maps game is veeeeery slow. (5 to 10) FPS so anything i do takes forever. Anyone found out way to improve performace on galactic mode? Could disabling pirate or neutral AI help? Or something like that?

Kitkun

Posted 23 February 2009 - 01:48 AM

It's complicated. Doesn't work, either. The limiter is the processor.

Posted 23 February 2009 - 12:36 AM

Planets.xml.

You have to change it all by hand, though.
If you PM me an email address, I can send you a copy with changes already made. For some reason, the forum says I don't have the permission to upload things anymore.



I actually made those changes, and it doesn't appear to have made a difference. It's just so many darn units... 4GB of memory doesn't seem to be enough.

Can I actually task more physical/virtual memory to the app to improve performance, do you think?

J

Kitkun

Posted 22 February 2009 - 10:31 PM

Planets.xml.

You have to change it all by hand, though.
If you PM me an email address, I can send you a copy with changes already made. For some reason, the forum says I don't have the permission to upload things anymore.

Posted 21 February 2009 - 07:16 PM

It could be only me, but when I scaled down all Planets = 1.0 and then futher to 0.8. Also reduced Mass = 0.8 lag is virtually gone (and I play only on HARD, AI building tons of ships, but not bases tho...) in every campaign except GFFA which is simply massive and as such removing lag completly is not possible. Now I working on better map positioning - clicking nightmare. :p

My theory is that CPU wasting a lot of time to calculate every planet separately (and EAW/FOC doesnt support dual/quad core). One planet = 1.35, other 1.732 or 2.305 and so on. Even with 50 or so planets CPU is clogged up completly in space of minutes. When all planets are the same, there is significant increase in performance. Also RAM usage went down. From ~920-960 MB to 600-750 MB. Loading game/campaign takes a dozens or so seconds instead of 2 minutes (except GFFA). :p

And finally playing PR on 64bit system is a big mistake. I have both 32b and 64b systems. Exact copies of every file. 64b version is so slow (including smallest campaign - CW) that no tweak will improve it (x86 emulation/translation kills whole performance).

I hope it helps. Cheers!


Sorry about that.

What file(s) do you edit to do this?

Thanks,
J

Edit: Merged.

Review the complete topic (launches new window)