tatooine luke
Moderator: Moderators
tatooine luke
Ive been folign around with the mdo tools, trying to get a new jedi ingame, and i noticed they included and example jedi code for tatooine luke, whom they were apparently plannign on including, so the mesh and texture files are included... but i have been unable to get a .lvl munged for him.
The files are zipped up, so i extracted them and made a new copy fo rthe data folder, and stuck the extracted files in there, and munged... no jdi.lvl to be found. so i tried including the extracted files in a newly created map and munged... still no jdi.lvl.
Has anyone gotten the example luke working ingame, or any new unit for that matter? or anyone know what im doing wrong, and how i can get this working? i have been trying to get familiar with how the units are made, so i can fool around makign some new/tweaked jedi... but i jsut cant figure out the last step or 2.
The files are zipped up, so i extracted them and made a new copy fo rthe data folder, and stuck the extracted files in there, and munged... no jdi.lvl to be found. so i tried including the extracted files in a newly created map and munged... still no jdi.lvl.
Has anyone gotten the example luke working ingame, or any new unit for that matter? or anyone know what im doing wrong, and how i can get this working? i have been trying to get familiar with how the units are made, so i can fool around makign some new/tweaked jedi... but i jsut cant figure out the last step or 2.
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: tatooine luke
He's already in-game. His string is all_hero_luke_tat -- just set that for your hero.
RE: tatooine luke
huh... well ill try taht out jsut to give him a shot... but i still have no idea how to get a custom jedi ingame...
RE: tatooine luke
well now i cant even get the normal tat luke taht is apparently already in ALL.lvl in my assault game... i have the following in my assault game script:
ReadDataFile("SIDE\\all.lvl",
"all_hero_luke_tat")
and
hero = {
team = ALL,
units = 12,
reinforcements = -1,
soldier = { "rep_hero_obiwan",1,2},
assault = { "rep_hero_macewindu",1,2},
engineer= { "rep_hero_kiyadimundi",1,2},
sniper = { "rep_hero_yoda",1,2},
officer = { "rep_hero_aalya",1,2},
special = { "all_hero_luke_tat",1,2},
},
but only the 5 other hero chars show up in the character menu.
am i missing something?
EDIT: i think taht tatooine luke perhaps isnt fully implenented int he game.. i managed to get storm trooper luke in with no problem, but tat luke just wont work... or has someone else managed to get him in?
ReadDataFile("SIDE\\all.lvl",
"all_hero_luke_tat")
and
hero = {
team = ALL,
units = 12,
reinforcements = -1,
soldier = { "rep_hero_obiwan",1,2},
assault = { "rep_hero_macewindu",1,2},
engineer= { "rep_hero_kiyadimundi",1,2},
sniper = { "rep_hero_yoda",1,2},
officer = { "rep_hero_aalya",1,2},
special = { "all_hero_luke_tat",1,2},
},
but only the 5 other hero chars show up in the character menu.
am i missing something?
EDIT: i think taht tatooine luke perhaps isnt fully implenented int he game.. i managed to get storm trooper luke in with no problem, but tat luke just wont work... or has someone else managed to get him in?
-
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: tatooine luke
ReadDataFile("dc:SIDE\\all.lvl",
remember the dc:
its also mentioned in the Docs (it was the sme in SWBF1)
remember the dc:
its also mentioned in the Docs (it was the sme in SWBF1)

RE: tatooine luke
This isn't working for me... anything I might be doing wrong?
I have this in my LUA where the soldiers are loaded:
ReadDataFile("dc:SIDE\\all.lvl",
"all_hero_luke_tat")
And I have my rebel hero set to: "all_hero_luke_tat"
I have this in my LUA where the soldiers are loaded:
ReadDataFile("dc:SIDE\\all.lvl",
"all_hero_luke_tat")
And I have my rebel hero set to: "all_hero_luke_tat"
The tat luke included with BF2 as far as I remember doesn't actually work, it's actually a much older version of the model which had issues. The one included as an example Jedi is significantly different in terms of cloth and moves and things. (^.^)
If you make a side, remember you have to load your unit from dc:SIDES\\newSide.lvl, not all.lvl...then you have to assign it to a team also.
Mike Z
If you make a side, remember you have to load your unit from dc:SIDES\\newSide.lvl, not all.lvl...then you have to assign it to a team also.
Mike Z
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Would that explain why following the BF2 Jedi Creation tutorial didn't work for me? I did everything and used the all_inf_tatooinelukeskywalker.msh and everything munges ok with no probs, however if you put:
in the mission lua (as it mentions in the tutorial) then the unit that you replace with jdi_demojedi with then just doesn't show up in the unit selection screen. Is the different bone structure the reason behind this ? Yep my Lua also includes ReadDataFile("dc:SIDE\\jdi.lvl”, “jdi_demojedi") .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 = { "jdi_demojedi",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: tatooine luke
Follow the jedi creation sample files and tutorial and you will have a working tat luke in no time. Then mod him with new skins and powers. There is a mind trick power but it does not seem to do anything.Blaaguuu wrote:Ive been folign around with the mdo tools, trying to get a new jedi ingame, and i noticed they included and example jedi code for tatooine luke, whom they were apparently plannign on including, so the mesh and texture files are included... but i have been unable to get a .lvl munged for him.
The files are zipped up, so i extracted them and made a new copy fo rthe data folder, and stuck the extracted files in there, and munged... no jdi.lvl to be found. so i tried including the extracted files in a newly created map and munged... still no jdi.lvl.
Has anyone gotten the example luke working ingame, or any new unit for that matter? or anyone know what im doing wrong, and how i can get this working? i have been trying to get familiar with how the units are made, so i can fool around makign some new/tweaked jedi... but i jsut cant figure out the last step or 2.
Anyway if you follow the guide you can have a custom jedi in about 45 minutes
RE: Re: tatooine luke
and you got it working first time without having to do additional things that aren't mentioned in the tutorial? I still can't figure out why mine isn't working. Little help here 

RE: Re: tatooine luke
Not to worry, just got Han Solo Stormtrooper in game, Very cool!! 

RE: Re: tatooine luke
Just to clarify, the Tat Luke in with the BF2 Modtools and the Tat Luke that's the demo jedi are the same mesh. If you want Tat Luke, just use the mesh that came with the demo jedi. While making the demo jedi, our animator fixed it up so it actually worked.
Mike Z
Mike Z
- Teancum
- Jedi Admin
- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: Re: tatooine luke
Whoa... So we just need to apply the Tatooine Luke skin to it? How cool are you guys!
*edit*
I'm so fixing up Tatooine Luke onto the demo jedi model tonight. Expect to see a screenie tomorrow.
*edit*
I'm so fixing up Tatooine Luke onto the demo jedi model tonight. Expect to see a screenie tomorrow.
RE: Re: tatooine luke
I have had this working for a few days now. Along with the DH-17 Blaster, and a few ships.
RE: Re: tatooine luke
OK... I opened up the jedi side example.zip, extracted it to my desktop, moved the folders where they should go (according to the documentation..) and had to copy a few files into other places (see documentation...)
Then I opened up editlocalize.bat... Under "entity" I added a new scope and named it "JDI", then added a new key to that, named "demojedi"... I typed "Luke Skywalker" in the parameters box (the one on the left, not the comments box)
Then I added this to my LUA file:
right above where it calls up the soldier files I typed:
ReadDataFile("dc:SIDE\\JDI.lvl",
"jdi_demojedi")
and I typed this for my heroes line:
SetHeroClass(ALL, "jdi_demojedi")
SetHeroClass(IMP, "imp_hero_darthvader")
I played my map... after scoring enough points I saw the familiar "You can now play as Luke Skywalker"... I held my breath, hit F1, and then shouted something like "HOLY CRAP!" when I was playing as Tatooine Luke with a green lightsaber...
One problem... the block button doesn't seem to do anything... anyone know how to fix this?
Otherwise, Tatooine Luke freakin rocks!
Then I opened up editlocalize.bat... Under "entity" I added a new scope and named it "JDI", then added a new key to that, named "demojedi"... I typed "Luke Skywalker" in the parameters box (the one on the left, not the comments box)
Then I added this to my LUA file:
right above where it calls up the soldier files I typed:
ReadDataFile("dc:SIDE\\JDI.lvl",
"jdi_demojedi")
and I typed this for my heroes line:
SetHeroClass(ALL, "jdi_demojedi")
SetHeroClass(IMP, "imp_hero_darthvader")
I played my map... after scoring enough points I saw the familiar "You can now play as Luke Skywalker"... I held my breath, hit F1, and then shouted something like "HOLY CRAP!" when I was playing as Tatooine Luke with a green lightsaber...
One problem... the block button doesn't seem to do anything... anyone know how to fix this?
Otherwise, Tatooine Luke freakin rocks!
RE: Re: tatooine luke
OK... I figured it out... Just hold the fire button and block is automatic... You can change it it the "jdi_demojedi.combo" file... I'm going to mess around with it and see if I like it better this way... I may change it to be more like the other luke, who I've grown quite used to...