Command & Conquer™ Remastered Collection

Command & Conquer™ Remastered Collection

Not enough ratings
Adding Units TD (OLD / OUTDATED - SEE NEW GUIDE)
By DatBoi
Hey Guys,

This straightforward guide shows you how to add a unit to your barracks or airfield!!

While this is a super basic guide, this will help guide you in the ways to adding a unit for you to deploy!
   
Award
Favorite
Favorited
Unfavorite
Making our own guides since EA won't
Hey Guys,

So there's a Nuke Tank guide out there that explains the functions of the Nuke Tank mod. You'll probably want to check that out before looking at this guide. This will show you what they skipped over

I'm also making this for myself since there's really no guides out right now and playing a modded C&C is always a good time


So basically Get Visual Studio and open up CNC Remastered source code with it.

You'll want to change to the Build settings to use the win 10 sdk. And you'll need to download AML and MFC individual components.


You'll also have to do those settings in the preprocessor in C++ settings so it won't complain about the wrong header settings

Once you've done all that go ahead and define the nuke tank mod in your source code by enabling the example mod (Basically allowing it to define)
Once you build the file and create the mod. You'll then need some XML files to get it to work properly. Which of course EA didn't really talk about

You just did the first half and created the classes with logic, now you need to edit some xml to include your unit's info so you'll be able to click on it, see details and deploy it from your build window

However

What you need to do is Subscribe to the Nuke Tank mod and then go to the directory that has your mods from the workshop. Mine was located at D:\SteamLibrary\steamapps\workshop\content\1213210

Once you're there grab the other files that are with the mod and drag them into your directory


You'll need to edit the csv to include the name of the unit you want to deploy

Then go to this directory and open the csv file and copy paste the nuketank template and edit it so it matches up with what you added in the first csv


Once you've done that you'll have a unit that you can actually click on and deploy.
7 Comments
jfwfreo Jul 3, 2020 @ 4:14pm 
I installed the correct SDK and the correct compiler version and everything worked like magic. No need to change the SDK or compiler version at all.
DatBoi  [author] Jul 3, 2020 @ 11:25am 
Um, nope, So far every build i've needed to change the sdk
jfwfreo Jul 3, 2020 @ 3:23am 
You shouldn't be changing the SDK to the Windows 10 SDK. You need to install and use the Windows 8.1 SDK.
DatBoi  [author] Jun 26, 2020 @ 7:09am 
Hey,

If you want to replace art you need to just edit the TD_units file in the tilesets folder

Basically use notepad++ to replace the location of the art. Then you'll need to navigate to the data -> art > tiberian dawn -> and see where nuke tank art is and make our custom art folder there for your unit
Hybrid V Jun 24, 2020 @ 11:10am 
Is this method still required if you want to do simple replacements of art or audio and nothing more?
DatBoi  [author] Jun 8, 2020 @ 8:56am 
Ooh sorry, i was really tired when i made this guide Lol.

There are 3 Files that you need to edit to get a unit to deploy. ModText.csv , CNCModGameCommands.xml, TD_Units

You need to make sure there is a refrence to each unit that you want to deploy. For example. Nuke Tank has the reference

<Command Name="NTNK">
<GameCommand>GAME_COMMAND_TD_MOD_CUSTOM_BUILD1</GameCommand>
</Command>

So in turn you need to add in the name of the unit you've added the logic for
<Command Name="STEG">
<GameCommand>GAME_COMMAND_TD_MOD_CUSTOM_BUILD2</GameCommand>
</Command>

FanOfReproductiveSystem Jun 8, 2020 @ 12:21am 
“Then go to this directory and open the csv file and copy paste the nuketank template and edit it so it matches up with what you added in the first csv”

Which csv files are you talking about?