TASER
  • TASER
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
Is there anyway to add back the deleted units from CNC???

Like the POW truck and the guy who looks like he's carrying a flamethrower???

(Could someone give me a list of Deleted Units???)

Any help is appreciated.
"Its said that the true victors of war are those who achieved what they want, Diego Navarro had left Aurelia's capital in defeat, but his goal in increasing arms exports had been achieved"
Sponsor
Spartan Jedi
18 years ago
It is possible, I know they're in many mods. I believe it mainly involves finding the units in the INI files which are commented out (with 😉, them removing the ;'s, and adding their buttons to the commandset.ini. That's the basics I believe, though I"m sure there's a bit more involved.
CG Apollos
18 years ago
There have been many additions and subtractions of units throughout the whole development process, so the list would be pretty large if I named all of them.

The ones that you have models for that would be easier to bring back into the full game will most likely be found in the America/China/GLAMiscUnit.INI found in Data/INI/Object.

A few you might be interested in:
UN Soldier (CivilianUnit.ini)
Parisans 1, 2, and 3
CIA Agent
HazMat Infantry (The one that you said looked like he was carrying a flame thrower.)
POW Truck (Which will not be able to function like it did in the alpha. If you want a similar system, look at the "ProGen" mod's code, found on Deezire.)
TASER
  • TASER
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
What does the POW truck actually do???

And where exactly is the .ini file???
"Its said that the true victors of war are those who achieved what they want, Diego Navarro had left Aurelia's capital in defeat, but his goal in increasing arms exports had been achieved"
Spartan Jedi
18 years ago
I believe that in earlier builds of Generals, you could force enemy units to 'surrender' with infantry, such as ranger flashbangs, red guard stun guns, and rebel..I don't remember what. Using the POW trucks, you could pick up those enemies, and they'd be converted to your side
CG Apollos
18 years ago
Actually, you would take them back to your prison and then you would recieve money first. The version that they have now in the game is just for cinematic purposes. You won't be able to bring back the original system because they have removed most of the required code.

And by the way, it was Rebel Tranq Darts.
randomperson
18 years ago
was the code ini or in the SAGE engine?, is it possible for cleaver people recreate the code or not?
UserPostedImage
CG Apollos
18 years ago
The engine itself is missing some required pieces. Pro:Gen used a system where you could make the infantry "die", spawn a "crate" with a surrendered infantry model, and then collect the money with your POW truck without the need of taking them back to the prison.
TASER
  • TASER
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
But, Can I make the POW truck some kind of transport for infantry????

Anyway, Lets get to the reason why I started this topic.

How do I actually add deleted units???

Also, Is it possible that you can mod Generals so you can build Tech Structures???
"Its said that the true victors of war are those who achieved what they want, Diego Navarro had left Aurelia's capital in defeat, but his goal in increasing arms exports had been achieved"
Spartan Jedi
18 years ago
Yes you can build tech structures, I've seen a buildable oil derrick in one mod I've played, and i'm pretty sure it would be something similar to adding another faction's unit to the side you want it in, right?
CG Apollos
18 years ago


But, Can I make the POW truck some kind of transport for infantry????

Anyway, Lets get to the reason why I started this topic.

How do I actually add deleted units???

Also, Is it possible that you can mod Generals so you can build Tech Structures???

TASER wrote:

Yes, if you want to.

Since you wanted to add the POW Truck as a transport, follow these instructions. First, you would need to create a command button so that it can be built by the war factory. Go to the CommandButton.ini, and add something like this:

CommandButton Command_ConstructAmericaVehiclePOWTruck
  Command       = UNIT_BUILD
  Object        = AmericaVehiclePOWTruck
  TextLabel     = CONTROLBAR:ConstructAmericaVehiclePOWTruck
  ButtonImage   = SAPOWTruck
  ButtonBorderType        = BUILD
  DescriptLabel           = CONTROLBAR:ToolTipUSABuildPOWTruck
End
Next, you will have to go to the CommandSet.ini. Go down to AmericaWarFactoryCommandSet
CommandSet AmericaWarFactoryCommandSet
  1  = Command_ConstructAmericaTankCrusader
  2  = Command_ConstructAmericaVehicleTomahawk
  3  = Command_ConstructAmericaVehicleHumvee
  4  = Command_ConstructAmericaVehicleMedic
  5  = Command_ConstructAmericaVehiclePaladin
  6  = Command_ConstructAmericaVehicleSentryDrone
  7  = Command_ConstructAmericaVehicleAvenger
  8  = Command_ConstructAmericaVehicleMicrowave
  9  = Command_UpgradeAmericaSentryDroneGun
  11 = Command_UpgradeAmericaTOWMissile
  13 = Command_SetRallyPoint
  14 = Command_Sell
End
Add 10 = Command_ConstructAmericaVehiclePOWTruck below the SentryDroneGun, or choose whichever slot you want by changing the number, so that it looks like this:

CommandSet AmericaWarFactoryCommandSet
  1  = Command_ConstructAmericaTankCrusader
  2  = Command_ConstructAmericaVehicleTomahawk
  3  = Command_ConstructAmericaVehicleHumvee
  4  = Command_ConstructAmericaVehicleMedic
  5  = Command_ConstructAmericaVehiclePaladin
  6  = Command_ConstructAmericaVehicleSentryDrone
  7  = Command_ConstructAmericaVehicleAvenger
  8  = Command_ConstructAmericaVehicleMicrowave
  9  = Command_UpgradeAmericaSentryDroneGun
  10 = Command_ConstructAmericaVehiclePOWTruck
  11 = Command_UpgradeAmericaTOWMissile
  13 = Command_SetRallyPoint
  14 = Command_Sell
End
Now, go to the AmericaCINEUnit.ini found in INI/Object and find AmericaVehiclePOWTruck. Scroll down and remove the Buildable = No. Then scroll down and remove the ; by the BuildCost, BuildTime, and CommandSet. Change the BuildCost and BuildTime to whatever you want, and then change the CommandSet to ChinaTroopCrawlerCommandSet.

You should be all done. You have an American POW Truck that can hold 8 people. Follow the same instructions for tech buildings, except that you need to change the commandbutton so that it is for dozers, and then put them on the Dozer/Worker commandsets.
TASER
  • TASER
  • 100% (Exalted)
  • Major Topic Starter
18 years ago
And I found some code for a concrete wall......
"Its said that the true victors of war are those who achieved what they want, Diego Navarro had left Aurelia's capital in defeat, but his goal in increasing arms exports had been achieved"