We have some interesting resources on our Tiberian Sun Research Center (registered users only) that was recently posted by Rampastring. Thanks to the source code from Red Alert, Rampastring was able to tweak areas of Tiberian Sun that had identical code (or almost identical). And, with that knowledge, he has posted some interesting patches to improve the TS engine. Here's his words on it:
Quote: With the release of the RA source code, I've studied the TS code more as well and noticed that a lot of the game logic code is identical between TS and RA. This has made it a lot easier to write hacks for the TS engine, as when researching something I can take a look at the equivalent logic in RA and figure out how it works from the documented C++ source code and then match the code to x86 ASM instead of having to figure out the ASM from the ground up. That is when an equivalent logic exists in RA; if a logic does not exist (like particles), then the RA source is of no help.
So far I've written the following notable bugfixes and enhancements in the past few months:
Smarter harvester AI (demonstration: https://www.youtube.com/watch?v=7G_IQiQ346Q )
Smarter AI fire-sale
Sidebar cameo sorting
Mechanics (like in RA1)
Fixing AI unit scatter when the AI produces vehicles from a factory that has WeaponsFactory=no
Oil Derricks (like in RA2)
Vehicle transports (like in RA1)
You are free to use these enhancements in any projects. Although if you do, it's appreciated if you credit myself and Dawn of the Tiberium Age. To make use of these with your mod, you have to compile the spawner with these source files included in the Makefile.
Also, big thanks to CCHyper for providing me information that has helped with many of these hacks.
More are likely coming.
The smarter AI video was posted on the DTA news below, but we can repeat it here:
If you are interested, register on our forums. You won't get spammed ro anything, so don't worry. Once you are logged in, visit this topic to view all the recent asm codes and apply them with C&C Executable Modifier. If you are skilled with asm, share your patches there as well.