Page 1 of 1
How to add a custom weapon to a clone trooper
Posted: Wed Aug 06, 2014 10:12 pm
by jojo3450
How do i add a melee weapon such as the vibro sword to a clone trooper thanks for the help dudes
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 4:05 am
by Anakin
just the same way as the lightsaber. There are many examples in the stock assets. And i think in the conversion and BFX assets are examples for vibros, too.
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:16 pm
by jojo3450
I added the odf and msh to the REP side and put the sword on the clone odf but it crashed the game
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:24 pm
by GAB
Show your error log.
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:38 pm
by jojo3450
there was no error of the vibrosword
Can u tell me how to add a custom weapon
this is what i did
-moved the MSH and ODF to the REP side
-added it to clone trooper
-and munged tried it but crashed
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:46 pm
by Marth8880
Please post your debug log anyways.
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:51 pm
by jojo3450
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 3:57 pm
by thelegend
I think marth means the debug log you'll get if you start battlefront II with the modtools.exe.
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 4:05 pm
by jojo3450
where can i find it
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 4:09 pm
by GAB
To get a debug log you need the BF2_ModTools executable. It basically is a programmer version of Battlefront II. It has a bunch of very useful tools to get rid of bugs in maps and mods. The fourth question in the FAQ has a link to download it.
Once you have it downloaded the
.exe and got it working, run you map and let it crash. It will generate a file called BFront2.txt, which contains all the errors in your map/mod. Post the contents of this file here.
Also, for some explanations about what you might find in you log, it is highly recommend reading
this thread.
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 4:35 pm
by jojo3450
Ok I got the log but it is in 7 zip and cant open I also cant extract it
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 4:50 pm
by Anakin
So you want to tell us you took the bf_modtools.exe in your swbf2 directory run it, started your map till it crashes and after it you got an log file as 7zip?? You would be the first how got the log as 7zip.
If you are running win 7 or 8 your log will be in the virtual folder. The log file you are looking for is called bf2log.txt (or something like that)
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:31 pm
by jojo3450
Nope I spent all this time looking for it and no it is not in the virtual folder and Yes i did all the steps
I also get a bf2cmd txt that is blank
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:34 pm
by GAB
Is there a file called BFront2.txt on your Star Wars Battlefront II/Gamedata directory?
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:38 pm
by jojo3450
OMG dude the 7 zip has to be open with notepad
here is the log thanks for your guys help
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:43 pm
by thelegend
It can not read the all.lvl. Maybe it`s not existing?
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:50 pm
by jojo3450
got rid of it
new one still crashes
Re: How to add a custom weapon to a clone trooper
Posted: Thu Aug 07, 2014 5:53 pm
by GAB
BFront2 Log wrote:Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2044)
Weapon "weap_inf_vibrosword" missing geometry "all_weap_inf_vibroblade"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "weap_inf_vibrosword" invalid combo definition file "*"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[weap_inf_vibrosword]::ComboAnimationBank invalid params "human_sabre melee * *"
I think you will want to get rid of these too.