2 Questions....

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

Post Reply
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

2 Questions....

Post by Cerfon Rournes »

Hey GT, I have 2 quick questions...
1: As a few of you already know, I'm having custom animation set problems, and I'm not sure what the problem is. I read the FAQ tut on it, and it didn't work. Then, since i had made the *****(renamed template, with the animations in there)Folder in animations, I sent it to a friend, And asked him to move the folder to is his animations folder. Then, i asked him to hit the munge.bat in the folder, and it worked for him. :eek: Anyone know how to fix the problem?
2: Is it possible to disable a weapon when a player enters a region? Example, when the player enters region2, all_weap_inf_rifle is disabled?
Thanks :thumbs:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: 2 Questions....

Post by Fiodis »

1. What OS do you have? There's a fix for Win7/Vista.

2. You can simply replace the weapon with a dummy weapon via LUA, but that breaks online compatability and you'd have to enter a CP for the change to take place. Mav somehow did it in Bakura without needing to (visibly) have the unit enter a CP, you could ask him how he did that.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: 2 Questions....

Post by Cerfon Rournes »

Fiodis wrote:1. What OS do you have? There's a fix for Win7/Vista.

2. You can simply replace the weapon with a dummy weapon via LUA, but that breaks online compatability and you'd have to enter a CP for the change to take place. Mav somehow did it in Bakura without needing to (visibly) have the unit enter a CP, you could ask him how he did that.
1: I have Windows 7, 64bit. There is a fix for it? :D
2: Okay, so there is no way to disable a weapon that you actually use?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: 2 Questions....

Post by Fiodis »

1. Right-click on BF2_ModTools\data_STM\Animations\SoldierAnimationBank\munge_animation.bat and select edit. Where it says

Code: Select all

@set MUNGE_ROOT_DIR=..\..\..
@if "%MUNGE_BIN_DIR%"=="" (
	@set MUNGE_BIN_DIR=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin
	@set PATH=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin;%PATH%
)
Change it to
@set MUNGE_ROOT_DIR=..\..\..
REM @if "%MUNGE_BIN_DIR%"=="" (
@set MUNGE_BIN_DIR=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin
@set PATH=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin;%PATH%
REM )
You may also want to make the same change to the file in BF2_ModTools\data\Animations\SoldierAnimationBank, so that every new map you munge already has the fix made.

2. Yes, there is. I just outlined it above. But it has those strings attached; if you want to deal with them that's up to you.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: 2 Questions....

Post by Cerfon Rournes »

Thanks for the tip Fiodis! :thumbs:
Post Reply