
To learn how to hand edit first, download Tiberium Afterglow's INI editing guide ( it took him a year to write this. I read it and found it to be complete. It tells you everything )
after the long wait, its finally arrived! how to make a mod map! this will be step by step
K here goes
Step 1) Open up wordpad ( press your start button, go to programs, accessories, and click wordpad )
2) Click file, open, and open a map you might have laying around (its in .mpr format)
3) ok now this is how you mod
This is a light infantry
[E1]
Name=Light Infantry
Category=Soldier
Primary=Minigun
Prerequisite=BARRACKS
CrushSound=SQUISH6
Strength=125
Pip=green
Armor=none
TechLevel=1
Sight=5
Speed=5
Owner=GDI,Nod
Cost=120
Points=5
VoiceSelect=15-I000,15-I004,15-I012,15-I048
VoiceMove=15-I018,15-I024,15-I044
VoiceAttack=15-I044,15-I050,15-I044,15-I046
VoiceFeedback=15-I058,15-I064
VoiceDie=DEDMAN1,DEDMAN2,DEDMAN2,DEDMAN4,DEDMAN5,DEDMAN
6
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10
Elite=M1Carbine
EliteAbilities=SCATTER
ImmuneToVeins=yes
Sounds kinda complex, dont it?
lets break it down.
[E1] <--This is the code name, this is manditory for every unit and structure.
Name=Light Infantry <--This is the name of your unit.
Category=Soldier <-- This is used for the AI, how they use this unit. ( computers dont use new units, unless ya program them too. and ye cant edit AI in maps)
Primary=Minigun <-- This is your unit's primary weapon.
Prerequisite=BARRACKS <-- This is what you need to build for this unit to show up. ( you need to put the structures code name, or its secondary code name.
Primary code names is NAOBEL for obelisk of light, for example. and secondaries are used for gdi AND nod shared units. like general ( RADAR, BARRACKS,FACTORY,TECH, ect. )
CrushSound=SQUISH6 <-- This is the noise a unit makes when it is run over by a vehicle. ( you could make it say "Awaiting orders" when they are crushed :)
Strength=125 <--This is how much life they have
Pip=green <-- This is what color they show up as when they enter a vehicle. ( cyborgs are silver in APC's, everything else (cept for a few things) is green. )
Armor=none <-- This is its armor class. ( like how infantry can stand better attacks from titans and tick tanks, because there armor class is None. If they had the same strength, and had heavy armor, then titans and the sort would affect them a lot more, and things like other light infantry and attack cycles would affect them much less.
TechLevel=1 <-- this is the level of technology the unit requires. ( this is primarily used for campaigns, in the first stage is a low tech level, the last one is a high tech level. (max tech level=10 )
Sight=5 <-- this is how far they can uncover shroud and fog
Speed=5 <-- How fast your units travel. ( the higher number the faster
Owner=GDI,Nod <-- What side owns this
Cost=120 <-- How much the unit costs
Points=5 <-- how many points you score when you build this, or the enemy destroys this. ( enemies get points for killing units. points also affects how long it takes to get elite, and how elite enemies get when they destroy it.)
VoiceSelect=15-I000,15-I004,15-I012,15-I048 <-- this affects the unit's sound when you select it.
VoiceMove=15-I018,15-I024,15-I044 <-- this is what sound the unit makes when you tell it to move.
VoiceAttack=15-I044,15-I050,15-I044,15-I046 <-- the attacking voice
VoiceFeedback=15-I058,15-I064 <-- what they yell when they are at half life. like ( MEDIC! or for banshees, Whoops! )
VoiceDie=DEDMAN1,DEDMAN2,DEDMAN2,DEDMAN4,DEDMAN5,DEDMAN6 <-- Voice they make when they die.
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1} <-- How they move. ( you really should copy this from another unit, because locomoters are complex. it deals with like if they are jump jet, fly only, hover, are subterranian, chronojumping, or whatever )
PhysicalSize=1 <-- how big your unit appears on the screen.
MovementZone=Infantry <-- this also affects how your unit moves.
ThreatPosed=10 <-- How much of a threat your unit is. ( how it might attract hunter seekers or whatever ) this is used to prevent hunter seekers from attacking civilian things )
Elite=M1Carbine <-- this deals with what weapon it gets when it becomes elite
EliteAbilities=SCATTER <-- this deals with elite abilities. ( attack cycles become immune to veins, ect.)
ImmuneToVeins=yes <-- if it is immune to veins or not.
This is all things infantry *COULD* have
; Agent = Does it have spy-like abilities (def=no)?
; Fearless = Is not prone to fear (def=no)?
; VoiceComment = list of idle voices (def=none)
; Pip = color of pip when inside a transport [green,yellow,white,red,blue] (def=green)
; C4 = Equipped with building sabotage explosives [presumes Infiltrate is true] (def=no)?
; Cyborg = Does it require special cyborg death handling (def=no)?
; Fraidycat = Is it inherently afraid and will panic easily (def=no)?
; TiberiumProof = Is it immune to tiberium and tiberium gas damage (def=no)?
; Infiltrate = Can it enter a building like a spy or thief (def=no)?
; IsCanine = Should special case dog logic be applied to this?
; Civilian = Counts a civilian for evac and kill tracking (def=no)?
; FemaleVoice = Uses the civilian female voice (def=no)?
; Engineer = Does it behave like an engineer as far as repair and capture go (def=no)?
; Disguised = Is it disguised as enemy soldier when seen by enemy (def=no)?
; Agent = Does this infantry gather information if it enters an enemy building [like a spy] (def=no)?
; Thief = Does it steal money if it infiltrates an enemy building (def=no)?
; VehicleThief = Does it steal enemy vehicles when it gets close to one (def=no)?
You wanna put a number or yes or no.
Now, this is a codename list
[InfantryTypes]
1=E1 <--Light infantry*
2=E2
3=E3
4=MEDIC
5=WEEDGUY
6=ENGINEER
7=MUTANT
8=CIV1
9=CIV2
10=CIV3
11=JUMPJET
12=DOGGIE
13=CYC2
14=UMAGON
15=GHOST
16=MHIJACK
17=SLAV
18=CHAMSPY
19=MWMN
20=MUTANT3
21=OXANNA
22=TRATOS
23=CYBORG
24=CTECH
25=JOE**
* these things must have the same codename as you put in your unit.
** this is something new i might make if i where making a new map. joe might be a flying engineer. but in the unit section it would half to have the same codename. Ex:
[JOE]
Name=Joe
Image=E1 ( light infantry and dont use there parenthisis in your editing. ) and images must be put in new units or your game will crash every time you view the unit.)
Look at all the options under vehicle types, buildings, aircraft, weapons, projectiles, warheads, particles...and such. If you wanna learn to make something, clone something and edit it. Thats how i taught myself.
You might wanna download this rules.ini file so you might see how all modding is done. download it and open it up.
Rules.ini
Now, your asking, how do i add all this crap to my map? well, im about to tell you.
ill take a piece from one of my maps.
this one is my pre-tech trade map.
[GACSAM]
Owner=GDI,Nod
[GACTWR]
Owner=GDI,Nod
[GAWEAP]
Owner=GDI,Nod
[GADEPT]
Owner=GDI,Nod
[GAFIRE]
Owner=GDI,Nod
Now what does this mean? Well, Its the stuff i changed to make the owner GDI, and NOD for pre-tech trade. ( if you havent, you should try that one )
Ex: [GAFIRE] is the firestorm generator. If your editing something that allready exists, you just have to put the codename, then what you wanna edit. for example, if you wanna give an MCV ( mobile construction vehicle ) a weapon while undeployed for defense, you would do this:
[MCV]
Primary=LaserFire2
( primary is the weapon and LaserFire2 ( case sensitive ) is the weapon. ( the laser turret weapon )
Now, if you want to make a new unit, you would have to create whole new data. Download my rules file, copy light infantry, give it a new weapon, change its armor and speed, and change the image to hmmm... CYC2 ( cyborg commando ) you wouldnt have a light infantry anymore would ya? well thats it.
Technical difficulties:
If the map doesnt show up on your computer when you start tiberian sun to test it, move it to your C:/westwood/sun folder.
If the new unit doesnt show up, check for double used codenames ( more then once used codenames can get real nasty ), or just add it to the [SomethingTypes] list.
If you made a change to a preexisting unit, double check the codename to see if you mis-typed it or gave it a lower case letter. ( codenames must be in all capitals, LIKE THIS )
If you cant make an airburst weapon, give it to chem spray infantry. (ex: MultiCluster was given to Weedguy for the multimissile)
Can't edit my maps with final sun? Well, thats most likely because i saved them as text files with wordpad so you cant do it. ehe..
if you encounter a problem thats not on my list, contact me at ss20vegeta@aol.com, and i will add it to my list as your answer.