Melee Attacks Underwater
Moderator: Moderators
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Melee Attacks Underwater
Are weapons set as which type they can be? I have the melee attack from the BFX assets, but I want it to be a primary weapon, not a secondary. What do I need to switch to do so?
What I'm trying to do is get a melee attack that can be used while underwater. And please don't say "just don't use water".
What I'm trying to do is get a melee attack that can be used while underwater. And please don't say "just don't use water".
Last edited by Fierfek on Wed Sep 09, 2009 8:09 pm, edited 1 time in total.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Primary Weapons vs Secondary Weapons
remove this line:
WeaponChannel = 1
for it to be a primary weapon
WeaponChannel = 1
for it to be a primary weapon
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Primary Weapons vs Secondary Weapons
No, I know how to do that. That's not what I mean. When I make the weapon a primary weapon in the unit's odf, the game crashes on spawn.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Primary Weapons vs Secondary Weapons
then you should have probably asked for that
and you could maybe post your errorlog to make troubleshooting easyer..
and you could maybe post your errorlog to make troubleshooting easyer..
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Primary Weapons vs Secondary Weapons
Here is the error log:
http://txtb.in/4wJ
The unit is an imperial officer. Here is his odf:
http://txtb.in/4wJ
The unit is an imperial officer. Here is his odf:
Hidden/Spoiler:
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Primary Weapons vs Secondary Weapons
you have an overload of Severity 3's in their
does impofficer animation exist?
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'imp_inf_officer' failed to find animmap impofficer_-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Primary Weapons vs Secondary Weapons
The game can't find the impofficer animations. Do you have the animations files for impofficer from the imp/munged folder in your side's munged folder?
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Primary Weapons vs Secondary Weapons
I haven't edited the munged folder at all. I added a few things, but didn't edit or take anything away, so it should still be there.
I copied over the animations for BFX to my solderanimationbank - would that do anything?
I copied over the animations for BFX to my solderanimationbank - would that do anything?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Primary Weapons vs Secondary Weapons
Check to make sure they're there anyways - you never know.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Primary Weapons vs Secondary Weapons
I have 3 files called impofficer in my imp/muged folder - an anims file, zaabin file, and zafbin file.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Primary Weapons vs Secondary Weapons
On second thought, try just removing the AnimationName line and see if that does it.
- Fierfek
- High General

- Posts: 805
- Joined: Wed Jul 01, 2009 4:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)
Re: Melee Attacks Underwater
That didn't fix it.
What I'm really trying to do is get a melee attack (primary or secondary) working underwater. How do I get this working with the BFX com_weap_melee_attack?
What I'm really trying to do is get a melee attack (primary or secondary) working underwater. How do I get this working with the BFX com_weap_melee_attack?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Melee Attacks Underwater
I assume when you say "melee attack" you mean to say the exact opposite (that is an attack that is not a melee attack). Since you indicate that it was set up as a secondary weapon, it was most likely an emitter with a melee animation (melee attacks can't be secondary weapons), and as a result it will not work underwater.Fierfek wrote:That didn't fix it.
What I'm really trying to do is get a melee attack (primary or secondary) working underwater. How do I get this working with the BFX com_weap_melee_attack?
