PDA

View Full Version : Need help modding a mod


brncao
12-28-2007, 06:03 PM
How do I add/change voices to units?
How do I make a unit shoot and target air units?
How do I change the tooltips? the part that says "strong vs infantry and weak vs vehicles"?

Pruskis
01-04-2008, 07:16 AM
Hi all, how did i can make a new unit, expl. a tank.. what soft do i need?
Thx

Pruskis

Me Myself & Pi
01-05-2008, 10:00 PM
I'm not sure the answer to these questions. You may want to try cncgeneralsworld.com's forums. They've helped me on some of my modding questions. As of now, I'm usually the only one who responds to World Builder & moddifying questions.

chaoscontrol512
01-22-2008, 06:12 PM
How do I add/change voices to units?
First off, do you know how to extract INI files from the ini.big (if it's zero hour, it's INIZH.big) file? If not, look here. (http://forums.cncden.com/showpost.php?p=372385&postcount=2) After downloading FinalBig, extract the Voice.ini file from the ini.big. Save the new sound files (make sure they're .wav format) into the Command & Conquer Generals (Zero Hour if you're doing ZH)\Data\Audio\Sounds\English directory (if these folders do not exist, make them). This is an example of adding an extra sound clip to the Ranger when it is selected:
AudioEvent RangerVoiceSelect
Sounds = iransea iranseb iransec iransee iransef New Ranger sound file
Control = random
Volume = 90
Type = ui voice player
End
The bold ones are the files that are already in the game. The Italic one is the new one.

How do I make a unit shoot and target air units?
This is a bit tricky, since you have to create a whole new weapon in order to get it to fire at air units (the Humvee missile is actually two weapons, one for anti-air, and one for anti-ground). The easiest way to do this is to copy the code for the anti-ground weapon (this is found in Weapon.ini) into an entirely new weapon, but on the new one, change AntiAirborneVehicle to yes and AntiGround to no. Next, open the file that contains the unit you're modifying (in the case of the Humvee, it's in AmericaVehicle), and scroll down until you find the unit's WeaponSet. Add Weapon = TERTIARTY NewAAweapon (or whatever you named your new AA weapon) in before the end. Finally, save all of these in Data\INI.

How do I change the tooltips? the part that says "strong vs infantry and weak vs vehicles"?
Extract CommandButton.ini and find the command button that constructs the unit, for the sake of this tutorial, we'll use the Crusader. Look at the DescriptLabel to find the string that you need to modify (CONTROLBAR:ToolTipUSABuildCrusader). Next, look here (http://forums.cncden.com/showthread.php?t=21516) and contact Me Myself & Pi and ask him for the .str file, it seems the attatchment has been removed. This file opens with Notepad. You could also download the CSF editor from the same page as FinalBig and edit the strings through the CSF file, but I think the first way is easier. Find CONTROLBAR:ToolTipUSABuildCrusader, this is the string you will be modifying.

Let me know if anything's unclear, and either me or somebody else will try and clarify.Hi all, how did i can make a new unit, expl. a tank.. what soft do i need?
Thx

Pruskis
Ok, first of all, this has been discussed before, and you need a lot of crap to make a new unit. Look through some of the past threads. Second of all, this question has nothing to do with the first and belongs in its own thread.