I hate to see the death star engineer in my custom map, and I want to change it. I know you have to edit the lua, but what do you edit and how? I'd also like to know how to get the snow sides in as well.
My lua, for now, has been left alone, except for [ ReadDataFile("dc:SIDE\\imp.lvl", ] I changed the skin on the stormtrooper.
Changing Side Setups
Moderator: Moderators
-
Null_1138
- Jedi

- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Changing Side Setups
Read the jedi creation guide, it goes over all of that.
-
Null_1138
- Jedi

- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Changing Side Setups
I looked through it, but it doesn't say anything about changing the person the imp engineer is. I even looked in the mission lua guide, nothing. You mean this set of lines, right?
Code: Select all
ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_engineer",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat")
ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_fly_destroyer_dome" )
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_tat_barge",
"tur_bldg_laser")
SetupTeams{
all = {
team = ALL,
units = 20,
reinforcements = 150,
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_engineer",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},
},
imp = {
team = IMP,
units = 20,
reinforcements = 150,
soldier = { "imp_inf_rifleman",9, 25},
assault = { "imp_inf_rocketeer",1,4},
engineer = { "imp_inf_engineer",1,4},
sniper = { "imp_inf_sniper",1,4},
officer = { "imp_inf_officer",1,4},
special = { "imp_inf_dark_trooper",1,4},
},
}
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Changing Side Setups
Do you want a custom unit (ie not a stock one) or just one of the other stock units instead. If it's the later then do this (for snow units):
I'm assuming your custom imp side has got all the stock imp stuff in it? imp_inf_engineer_snow is the pilot guy from hoth.
Hidden/Spoiler:
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Changing Side Setups
You are just interested in changing appearance, right? You can change the geometry the engineer's odf calls for, if that's what you mean. Since you already know enough to make a side to change a skin, I'll leave you to it.
-
Null_1138
- Jedi

- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Changing Side Setups
Skyhammer: Other stock units, but at least I know now how to get snow sides, thanks.
Mercury Noodles: I actually want to change the engineer from a death star gunner to an at-st pilot, and the at-at commander (officer) to the actual officer unit, as seen in the 1.2 / 1.3 patch.
And I actually have no idea how to edit odf and geometry, but I'll read the docs. Thanks.
EDIT: I think I got the hang of it, but in the odf (which I've changed):
Do I need to change "default" in the ClassParent?
Mercury Noodles: I actually want to change the engineer from a death star gunner to an at-st pilot, and the at-at commander (officer) to the actual officer unit, as seen in the 1.2 / 1.3 patch.
And I actually have no idea how to edit odf and geometry, but I'll read the docs. Thanks.
EDIT: I think I got the hang of it, but in the odf (which I've changed):
Code: Select all
[GameObjectClass]
ClassParent = "imp_inf_default_engineer"
[Properties]
GeometryName = "imp_inf_atstpilot"
GeometryLowRes = "imp_inf_atstpilot_low1"
FirstPerson = "IMP\imppilot;imp_1st_pilot"
