PDA

View Full Version : [HOW TO] Make Units that don't Build, Build [Picture Tutorial]



Gremlin Shoota
13th Jun 08, 3:58 PM
Hi, this is my first "How-To" so i'm not use to making these :). Enjoy.

The purpose of this is for new coders discovering the world of modding one step of a time, now a word for why you would need this: "Have you made a new squad with a unit that doesn't normally build? Such as a Rifleman squad with a lieutenant in it, but then the build menu disappears? Well have no fear, this step-to-step procedure will help!"


Ok... let's say we made a squad of riflemen with a lieutenant in it (because I already do :)), but the build menu vanishs in game, all you have to do is the following:

1. Find the "officer_lieutenant" file inside: "ebps\races\allies\soldiers\" and right-click the file and select "Make a copy of this file...", now make the file named "officer_lieutenant2.rgd" like so.

http://img266.imageshack.us/img266/5185/tutorial2wg7.bmp


2. Now, open up the "infantry_riflemen.rgd" file (further up on the list from the lieutenant file) and copy the "engineer_ext" heading, and now open up the new file we made called "officer_lieutenant2.rgd" and right-click "GameData" and select "Paste Into" and Save

http://img56.imageshack.us/img56/7800/tutorial3in8.bmp


3. This is the last step, now. Open up the rifleman_squad.rgd in "sbps\races\allies\soldiers\" and once inside the file, go into "squad_loadout_ext" > "unit_list" > unit_(#). Once there, find where you placed the lieutenant.

http://img249.imageshack.us/img249/5986/tutorial4cx7.bmp

Now, all you have to do is change
"ebps\races\allies\soldiers\officer_lieutenant.lua" into
"ebps\races\allies\soldiers\officer_lieutenant2.lua" and followed by a save.

And Voila!, your all ready! Hope the tut helped you in anyway. :awesome:

(Doing this will allow the rifleman squad we formed to build everything a normal rifleman squad can build,

but if you want a rifleman squad to build engineer items, do the process above only for each individual soldier. [Which in a rifleman squads case is, 3. "infantry_rifleman_sergeant.rgd", "infantry_rifleman.rgd", and "officer_lieutenant".] with the "engineer_ext" heading from the "engineer.rgd" in the ebps section.

Also, this can be used for all races, i.e: Sappers building US defenses.)

newcomer
13th Jun 08, 4:39 PM
very good tutorial on adding units to a squad. using the basics of this tut you can have several weps in a squad.

Gremlin Shoota
13th Jun 08, 4:43 PM
very good tutorial on adding units to a squad. using the basics of this tut you can have several weps in a squad.

Thanks newcomer,

and well yes, that can to, this is just a "extra" to how to customize squads.

newcomer
13th Jun 08, 4:45 PM
btw, where did you get the custom gfx, the sliding bar

groundleg47th
13th Jun 08, 7:23 PM
I am enabling my stormtroopers to use the entire engineers build menu. My conflict however, is that the defenses menu does not show. The base structures building menu shows in its normal slot, but the defenses does not. The stormtroopers have a camouflage icon where the defenses icon would normally sit. I tried dropping the priority off of the defense construction menu--hoping it would move to another slot. It did not work. The camouflage icon will not move from slot 5 regardless.

Anybody got ideas?

Gremlin Shoota
14th Jun 08, 4:45 AM
Hmm..., are you sure you modified the correct camo file linked to the stormtrooper squad? (they use the "camouflage_toggled_knights_cross.rgd" in the ability section)

Stahlsta210
21st Jun 08, 8:55 AM
I did what it say but when i go to squad_loadout_ext" > "unit_list" > unit_(#) i don't see "ebps\races\allies\soldiers\officer_lieutenant.lua" into.

DO i have to past "ebps\races\allies\soldiers\officer_lieutenant.lua" into in their myself?
What am i doing wrong i never modded before?

makatini
17th Dec 09, 10:33 AM
As Robert De Niro once said: "You good, you!"

Brilliant! in fact. I have been struggeling with this for a while now :banghead: but your tut sorted that problem.

You da man.