Author Topic: Yitzi's unofficial SMAX patch 2.5  (Read 9212 times)

0 Members and 1 Guest are viewing this topic.

Offline Yitzi

Yitzi's unofficial SMAX patch 2.5
« on: March 14, 2014, 06:13:17 PM »
Yitzi's unofficial SMAX patch 2.5

http://alphacentauri2.info/index.php?action=downloads;sa=view;down=159

Here it is.  A number of bugfixes, plus the ability to have support (roughly) proportional to cost, plus enhanced information.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #1 on: March 15, 2014, 02:06:56 AM »
 :D ;woohoo
Thank you, Yitzi! This patch version formally marks my first ever released coding contribution to a game.

Offline Quota

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #2 on: March 15, 2014, 06:23:39 PM »
Awesome. ;b;

I forgot to mention this before, but:
Quote from: wiki on Yitzi's patch
If a satellite (Sky hydroponics, Nessus mining, Orbital power, or Orbital defense pod) is finished with nothing left in the queue, the base will not switch to Stockpile Energy, but rather begin making another of the same satellite.
This is a good idea, but doesn't seem to function, unless it relies on changing some unmentioned alphax setting. Tried with Governor on and off. I'm not using base multibuild ATM.
Also, same wiki page still says The latest version of the patch is v2.4c. at the top, FYI.

I like the 'enhanced information' feature (also that the patch version is now in game's About dialog), very neat. The game misses more information dumps... as people already suggested to you, stuff like listing the last council meeting, who's the current Planetary governor, U.N. Charter status, number of fungal pops that occurred for your faction, and more (game rules, perhaps?) stuff you can't view/validate readily. I presume creating some new window to dump those is a pain, though.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #3 on: March 16, 2014, 02:19:08 AM »
Awesome. ;b;

I forgot to mention this before, but:
Quote from: wiki on Yitzi's patch
If a satellite (Sky hydroponics, Nessus mining, Orbital power, or Orbital defense pod) is finished with nothing left in the queue, the base will not switch to Stockpile Energy, but rather begin making another of the same satellite.
This is a good idea, but doesn't seem to function, unless it relies on changing some unmentioned alphax setting. Tried with Governor on and off. I'm not using base multibuild ATM.

I'll have to check it out...

Quote
I like the 'enhanced information' feature (also that the patch version is now in game's About dialog), very neat. The game misses more information dumps... as people already suggested to you, stuff like listing the last council meeting, who's the current Planetary governor, U.N. Charter status, number of fungal pops that occurred for your faction, and more (game rules, perhaps?) stuff you can't view/validate readily. I presume creating some new window to dump those is a pain, though.

Yeah...it could probably be added to the list of things that cycle through the panels at the bottom...but that (which is fairly easily-updated record-keeping and therefore not such a high priority) would be a significant amount of work.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #4 on: March 16, 2014, 02:55:47 AM »
Okay, I checked out the fact that it wasn't rebuilding the same satellite like it should, found the bug, and fixed it.  Because it's not any worse than without my patch, I'm not putting out a separate sub-version just for this, but there are a couple of other fixes I've been meaning to do for 2.5b so this will be included in that.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #5 on: March 16, 2014, 03:50:11 AM »
I discovered how I could make the window appear that is described at the end of the topic "A new window" under the modding board. To make it appear, simply change call terranx_.00470ED0 at address 004710D6 to call terranx_.00470FA0. This makes the map appear at the start of any new, loaded or scenario game. Another feature of this window is that it can be moved anywhere, zoomed in and out by clicking on the upper right hand corner of the label box ("Mission Map#3"), and allows you to see anything that could be seen on your main map.
 

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #6 on: March 16, 2014, 04:07:49 AM »
And do you know what is done by the function at 470ED0?  Because then that wouldn't be called.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #7 on: March 16, 2014, 04:19:45 AM »
oops........It would disable your ability to change research goals :-[.

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #8 on: March 16, 2014, 10:59:33 AM »
And that is why you never change anything without making sure you've fully analyzed it first.

Now, it might be possible to just add the new call...but you'd better analyze to make sure that has no undesired ramifications.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #9 on: March 16, 2014, 07:55:09 PM »
Is it a bug that the troop transport module decreases the movement rate of the chassis it is on by one?

Offline gwillybj

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #10 on: March 16, 2014, 08:01:17 PM »
Is it a bug that the troop transport module decreases the movement rate of the chassis it is on by one?
I don't think so. It is simply making it a "slow" unit.
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #11 on: March 16, 2014, 08:06:14 PM »
Is it a bug that the troop transport module decreases the movement rate of the chassis it is on by one?
I don't think so. It is simply making it a "slow" unit.
Okay. Regarding that map window, I might have found something interesting. First, their is a bug with the menu for the world map. The selection "Recenter this window here" does not function at all. Located two spaces beneath it in the labels.txt file is a label for "Open new map window". Could they be connected?
« Last Edit: March 16, 2014, 08:26:03 PM by Dio »

Offline Yitzi

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #12 on: March 16, 2014, 08:09:27 PM »
Could be, might not be.  To find out, you'd have to analyze and see why the one that's there doesn't work and see if that's also causing the map window to not appear.

Offline Dio

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #13 on: March 16, 2014, 08:50:15 PM »
The good news is that I have isolated how the mouse controls work for the world map menu. The bad news is that I still do not know why the button is not working.

Offline nadia911

Re: Yitzi's unofficial SMAX patch 2.5
« Reply #14 on: March 18, 2014, 01:53:12 AM »
Thanks Yitzy & Dio  :danc:

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

Energy is the currency of the future.
~CEO Nwabudike Morgan 'The Centauri Monopoly'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 36.

[Show Queries]