The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 871 errorHandler->error




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guess what's back?
#1
[Image: rmg1.png]

I just successfully forced the game to load my custom dialog instead of an existing one. This technique can be used to improve other dialogs as well, so yeah, fancy UI additions can happen in the future Wink (Crap Engineers? Harvesters Immune? Destroyable Bridges? A checkbox for the AI Unit Cloning Bug fix? Who knows?)

What already works:
  • The checkbox does control the generation of Urban Areas, as it says on the tin.
  • RMGMD.ini → [General] → GenerateUrbanAreas=y/n is read and used as the initial value of the checkbox. If it's not set, the checkbox starts unchecked. This didn't work before, and is the reason for a couple RMG IEs that the testers got. The checkbox's state is loaded from the ini only the first time you open the RMG, after that it saves its state until you exit the game.
  • The strings used for text/tip are obviously CSF'd. The GUI: vs STT: separation is all over the game, it's not something I came up with.
What doesn't:
  • The list of buildings/units used for this is still hardcoded to the TS stuff and causes IEs if they don't exist. This will be rectified in the near future.

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Guess what's back? - by DCoder - 30.05.2009, 20:50:23
RE: Guess what's back? - by Marshall - 31.05.2009, 10:02:42
RE: Guess what's back? - by MRMIdAS - 31.05.2009, 10:23:26
RE: Guess what's back? - by DCoder - 31.05.2009, 10:31:57
RE: Guess what's back? - by Marshall - 31.05.2009, 10:35:20
RE: Guess what's back? - by Renegade - 31.05.2009, 10:54:22
RE: Guess what's back? - by Blade - 31.05.2009, 11:14:07
RE: Guess what's back? - by pd - 01.06.2009, 10:52:03
RE: Guess what's back? - by Guest - 01.06.2009, 12:08:42
RE: Guess what's back? - by Renegade - 01.06.2009, 12:22:04
RE: Guess what's back? - by pd - 01.06.2009, 13:15:33
RE: Guess what's back? - by Marshall - 01.06.2009, 14:43:21



Users browsing this thread: 1 Guest(s)