Page 1 of 1
Issue with Custom Weapons
Posted: Tue Aug 22, 2017 12:25 pm
by F1ghter16
Soooooo I've got some custom sides with a few custom weapons. The weaps work fine, but when I try to select a different custom weap, it won't go to the new one. I also have a problem when I scroll from a default weapon (one that is where it is supposed to be, such as the regular, un-edited pistol as the secondary) to a custom. For some strange reason my game does not want to scroll to a new weapon unless I started the battle with it. Is there a way to fix this or is it just a normal thing that happens?
Re: Issue with Custom Weapons
Posted: Tue Aug 22, 2017 1:40 pm
by Marth8880
I want to say this is caused by an issue with your unit class's weapon channel indexes. Please post your unit's ODF so we may take a look.
Re: Issue with Custom Weapons
Posted: Tue Aug 22, 2017 9:37 pm
by F1ghter16
Re: Issue with Custom Weapons
Posted: Wed Aug 23, 2017 1:48 am
by Marth8880
Code: Select all
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle2"
WeaponAmmo = 4
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_commando_pistol2"
WeaponAmmo = 0
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_wrist_rocket_fett"
WeaponAmmo = 4
WeaponChannel = 1
WEAPONSECTION = 4
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
I believe weapons in the primary channel need to be listed before any weapons in the secondary channel. With that said, try swapping weapon 3 and 4.
Re: Issue with Custom Weapons
Posted: Wed Aug 23, 2017 8:41 am
by F1ghter16
I believe weapons in the primary channel need to be listed before any weapons in the secondary channel. With that said, try swapping weapon 3 and 4.
I tried that and there is no change in the issue.
Re: Issue with Custom Weapons
Posted: Wed Aug 23, 2017 2:19 pm
by Marth8880
Please post your updated ODF.
Re: Issue with Custom Weapons
Posted: Wed Aug 23, 2017 5:00 pm
by F1ghter16
Re: Issue with Custom Weapons
Posted: Thu Aug 24, 2017 1:57 am
by Marth8880
Code: Select all
WEAPONSECTION = 4
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_wrist_rocket_fett"
WeaponAmmo = 4
WeaponChannel = 1
Oh, you were also supposed to change the WEAPONSECTION values lolz.
Re: Issue with Custom Weapons
Posted: Sun Aug 27, 2017 5:47 pm
by F1ghter16
Oh, you were also supposed to change the WEAPONSECTION values lolz.
I tried that but still nothing has changed (sorry for the late reply). I have no idea why this is happening. Everything seems to be in order.
Re: Issue with Custom Weapons
Posted: Mon Aug 28, 2017 12:44 am
by Lorul1
hmmmm could be the weapon itself, post your BFront2 error log and ill see what it says