Page 3 of 3

Re: Command and Conquer 3 Steam Pack (GM and more) 2019-Jan-20

Posted: Tue Dec 13, 2022 3:20 pm
by MatsuTaka
Umm,
I'm wondering if it possible, at all, to modify ground-control range... like giving MCVs/Surveyors a very-wide/unlimited/untethered range for constructing buildings?

Playing with 'Firestorm' and 'Essence' MODs a lot asthey have walls, and covering the base with Surveyors just to surround it with the said walls were kinda... tricky.

Re: Command and Conquer 3 Steam Pack (GM and more) 2019-Jan-20

Posted: Fri Jan 06, 2023 1:01 am
by SunBeam
Recifense wrote:
Thu Mar 16, 2017 12:35 am
...
I've recently came to play this as I had a bud asking me about this game.. and I got a question: is it that you're comparing faction names in _MonPlayerUnit to determine if a unit is yours or not? :) Cuz I saw you're doing this, basically:

Code: Select all

X = 064E44B8  47 44 49 5F 61 00 62 4F 62 6A 65 63 21 00 00 00  GDI_a.bObjec!...  
Y = 0C6E1C60  47 44 49 5F 61 2F 74 65 61 6D 47 44 49 5F 61 00  GDI_a/teamGDI_a.  
Compare the first 12 bytes (no idea why 12) of X vs. Y.

Another thing that I recommend -that is super useful- is throwing the game exe/dat into IDA and let it analyze it. Then get [Link] plugin for RTTI discovery and [Link] plugin to export all IDA data as a .pdb file.

You would obtain this result:

Image

Image

It's not 100% perfect, but it's better than nothing ;)

P.S.: You would load the .pdb in x64dbg like this:

Code: Select all

symload cnc3game.dat, "D:\Games\Command and Conquer 3 - Tiberium Wars\RetailExe\1.9\cnc3game.pdb", 1
Replace the path with yours, of course ;)

BR,
Sun