Modifying the Wookiee

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Modifying the Wookiee

Post by Kaos4 »

Alright. I have absolutely no experience modding for any game and the only programming language I know is True Basic. I have been trying to learn to use the swbf2 mod tools, but I find the tutorials tough :? . I want to try to create a wookie that can use melee attacks like the Wampa. Here is what I think I know:
-The melee "weapon" is "hot_weap_lightsaber_wampa"
I also know where all the effects and stuff for the wampa are.
Unfortunately that is about all I know. What can I do to put this all together to work?
Thanks.
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

RE: modifying the wookie

Post by The_Emperor »

I don´t know much about modding, but what you're looking for are the Wampa's animations. How to do give em to the Wookiee is probably in the costum jedi creation guide somewhere on this forum.
I warn you that it I think it might end up looking silly if you succeed, since the Wampa´s got way bigger bones than the wookiee. The wookiee will probably have a wierd shape (Really fat I guess)
darthpingu

RE: modifying the wookie

Post by darthpingu »

It would probably pop out wampa arms outta the wookie when you clicked fire:D
Linus

RE: modifying the wookie

Post by Linus »

I don't know if this is possible, but I think so... :?

- Linus
OGEB1103

RE: modifying the wookie

Post by OGEB1103 »

It is, just that you need to mess around with the animation sets. I managed to get a stormtrooper to do yodas anims without him looking like a hermit, plus he jumped about 3' in the air cos he was bigger than yoda :P
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by Kaos4 »

I created the folder with all the effects, odfs',reqs'... in my blank map sides folder. I also put an empty folder with the same name in the _BUILD/Sides folder with both clean.bat and munge.bat. When I run the Visual munge thing everything goes fine, but when I go to the Addon folder then to my map then to my SIDE folder I only find the "tur" lvl, not the one I tried to create. Am I doing something wrong?
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by t551 »

You need to munge your side. In visual munge, the first time you munge, the right drop down box should be set to EVERYTHING. After that, you just choose your custom side from the drop-down menu.
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by Kaos4 »

I tried that, that doesn't work either. My side is not showing up in the SIDE folder.

EDIT
I got the lvl to show up in the sides folder. How do I test to see if my wookie side works. Do I need to copy the lvl to another folder? The map that I used to munge is a blank map.
fat_walrus

RE: modifying the wookie

Post by fat_walrus »

I think you can run BFII_modtools.exe (copy it into your GameData folder and run)
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by Kaos4 »

How do I make my side playable? When I run the blank map I can only select the standard units ( Clones, CIS, Imp, rebel).
sawyerdk9

RE: modifying the wookie

Post by sawyerdk9 »

Put a "dc:" in front of the side name. Example-- Look at the Republic part

ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by Kaos4 »

Where do I enter this though. Into the console? or somewhere else?
Linus

RE: modifying the wookie

Post by Linus »

ֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱ
I think it should be in the LUA-file, Kaos4... Image

ֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱֱ
- Linus
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: modifying the wookie

Post by Kaos4 »

Sorry for all the questions, but I still have more. The LUA_file is the addme file right? I added the ReadDataFile("dc:SIDE\\wok.lvl",...) and the map doesn't show up anymore. I know I am doing something wrong, but I don't know what I am doing wrong.
Thanks
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: modifying the wookie

Post by Rekubot »

No, the LUA file can be found in Data_ModID\Common\Scripts\ModID.
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Kaos4 »

Thanks, I fixed the Lua file. Now the map will load, but after loading it crashes back to the desktop.

EDIT
For the GCW I got the wookie to appear at the choosing sides menu. It still has the name wampa though. When I try to Spawn with it it doesn't spawn. I tried playing as the imperial side too, they don't spawn as well.

EDIT2
Now when I test the map the unit doesn't even show up at all. I tried to replace the Wookie on the rebel side with my wampa-wookie. Now the entire wookie class is empty leaving the bothan spy as the last unit on the side select screen. Here is what I have in the g_con lua:
Hidden/Spoiler:
[code]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_hero_hansolo_tat")

ReadDataFile("dc:SIDE\\wik.lvl",
"wik_inf_wampa")

ReadDataFile("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 = { "wik_inf_wampa",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},
},
}[/code]
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

Are you sure you munged your side?
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Kaos4 »

I am pretty sure I am. I have the folder for my side (WIK) in the data_***/_BUILD/SIDES with the munge.bat and the clean.bat. When i munge the whole thing I also select my side from the Sides dropdown menu (I have also tried munging Everything, too). Could this problem be caused by my side itself, or is it just the lua :?:
kajong

Post by kajong »

I've done this before with Anakin.
Image
Image
I just typed up the whole speech to help you with and tried to preview and lost it all, so I'll help in a second...

~EDIT~
okay, I'm done...
First, copy the wookie's ODF and MSH and any other document related to it and put it in the "snw" [wampa's] folder in their right folders. go into the "snw_inf_wampa" [wampa] folder. inside should be something called "SkeletonLowRes = "wampalz"

SkeletonName = "wampa" ". Put it in the wookie folder. This makes the wookie crouch over like a wampa (you need it.) now, look for a folder called "hot_inf_wampa" [the wampa's attacks] (it will be a COMBO file) copy it and call it "all_inf_default_wookie" (the same as the wookie name.)
now copy the "hot_weap_lightsaber_wampa" file and name it "all_weap_lightsaber_inf_default_wookie". Go inside it and find where it says "ComboAnimationBank = "human_sabre melee hot_inf_wampa"
" and rename the "hot_inf_wampa" part as "all_inf_wookie". Now, go into the wookie folder and go to the weapons. Change the first weapon [WEAPONSECTION = 1
WeaponName1 = "all_weap_inf_bowcaster"
WeaponAmmo1 = (I forget how much ammo it has)]

and change it from "all_weap_inf_bowcaster" to "all_weap_lightsaber_inf_default_wookie". Now go into the "C:\BF2_ModTools\data_(NAMEOFMAP)\Common\scripts\(NAMEOFMAP)"
and go into the .LUA folder. Where it says "ReadDataFile("SIDE\\(SIDE).lvl",
"(SIDE)_inf_rifleman",
"(SIDE)_inf_rocketeer",
"(SIDE)_inf_sniper",
"(SIDE)_inf_engineer",
"(SIDE)_inf_officer",
"all_inf_wookiee", <- put wookie in this spot (or any other, really)
"(SIDE)_hero_(NAME))"

After all this :shock: , your wookie should get in the level and work, but don't trust me way too much, I've crashed more levels than I have gotten them working :lol:
Kaos4
Command Sergeant Major
Command Sergeant Major
Posts: 256
Joined: Tue Sep 06, 2005 8:19 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Kaos4 »

hey, Thanks for the tutorial :P . I'll try it out.
Post Reply