Ballistic Keybinds not working?

Discuss the Ballistic Weapons servers here.
enerG
V.I.P. Member
Posts: 13
Joined: Sun 15 Apr , 2012 10:10 am
Contact:

Re: Ballistic Keybinds not working?

Post by enerG » Sun 22 Apr , 2012 1:33 pm

Thanks for your suggestions,
i got some Weapons work now, the game writes now the right name to the user.ini.

But Keys for some Weapons are still not shown, i decompiled ballisticprov55.u with ucc and found a file which contains the bindings: ballistickeybindings.uc

I can set Keys for all Weapons showed in this File but it contains not all weapons.

Code: Select all

// ====================================================================
// BallisticKeyBinding.
//
// Adds some new keys.
// ====================================================================
class BallisticKeyBinding extends GUIUserKeyBinding;

defaultproperties
{
     KeyData(0)=(KeyLabel="Ballistic Weapons",bIsSection=True)
     KeyData(1)=(Alias="Reload|OnRelease ReloadRelease",KeyLabel="Reload")
     KeyData(2)=(Alias="WeaponSpecial|OnRelease WeaponSpecialRelease",KeyLabel="Weapon Special")
     KeyData(3)=(Alias="WeaponSpecial 1|OnRelease WeaponSpecialRelease 1",KeyLabel="Weapon Special 2")
     KeyData(4)=(Alias="ScopeView|OnRelease ScopeViewRelease",KeyLabel="Use Sights")
     KeyData(5)=(Alias="DualSelect",KeyLabel="Dual Wield / Swap")
     KeyData(6)=(Alias="SwitchWeaponMode|OnRelease WeaponModeRelease",KeyLabel="Switch Fire Mode")
     KeyData(7)=(Alias="Mutate Loadout",KeyLabel="Loadout Menu")
     KeyData(8)=(Alias="Mutate BStartSprint|OnRelease Mutate BStopSprint",KeyLabel="Sprint")
     KeyData(9)=(Alias="CockGun",KeyLabel="Cock Weapon (optional)")
     KeyData(10)=(Alias="GetWeapon BallisticProV55.X3Knife",KeyLabel="X3 Knife")
     KeyData(11)=(Alias="GetWeapon BallisticProV55.A909SkrithBlades",KeyLabel="A909 Skrith Blades")
     KeyData(12)=(Alias="GetWeapon BallisticProV55.EKS43Katana",KeyLabel="EKS43 Katana")
     KeyData(13)=(Alias="GetWeapon BallisticProV55.M806Pistol",KeyLabel="M806 Pistol")
     KeyData(14)=(Alias="GetWeapon BallisticProV55.RS8Pistol",KeyLabel="10mm RS8 Pistol")
     KeyData(15)=(Alias="GetWeapon BallisticProV55.D49Revolver",KeyLabel="D49 Revolver")
  ....... some more 
missing:
BallisticProV55.GRS9Pistol
BWBPRecolors3Pro.DragonsToothSword
BallisticProV55.RSDarkStar
and some more

Anyone a idea how to get the missing ones to work?

btw, i love this mod, great work!
Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That’s Relativity.
- Albert Einstein

User avatar
Azarael
UT2004 Administrator
Posts: 5365
Joined: Thu 11 Feb , 2010 10:52 pm

Re: Ballistic Keybinds not working?

Post by Azarael » Sun 22 Apr , 2012 2:43 pm

You'll have to manually bind them using the set input command.

set input keyname GetWeapon WeaponPackageName.WeaponClassName

enerG
V.I.P. Member
Posts: 13
Joined: Sun 15 Apr , 2012 10:10 am
Contact:

Re: Ballistic Keybinds not working?

Post by enerG » Thu 26 Apr , 2012 9:37 am

Thank you, this works great.
For anyone who maybe have same problem:

1....If you dont see any Ballistic Weapon under Settings/Input/Configure Controls try this:
Navigate to your ut2004/system directory and create a file called ballistic.int if not exist.
Edit it with notepad or something and paste these lines into:

Code: Select all

[Public]
Object=(Class=Class,MetaClass=XInterface.GUIUserKeyBinding,Name=BallisticProV55.BallisticKeyBinding)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_AS)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_Ballistic)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_BR)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_CTF)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_DM)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_DOM)
Object=(Class=Class,MetaClass=BallisticProV55.ItemizerDB,Name=BallisticProV55.ItemDB_ONS)
Object=(Class=Class,MetaClass=BCoreV25.BallisticCrosshairPack,Name=BallisticProV55.BallisticCrosshairs)

Object=(Class=Class,MetaClass=BCoreProV55.ConflictItem,Name=BallisticProV55.CItem_Health)
Object=(Class=Class,MetaClass=BCoreProV55.ConflictItem,Name=BallisticProV55.CItem_Armor)
Object=(Class=Class,MetaClass=BCoreProV55.ConflictItem,Name=BallisticProV55.CItem_Ammo)
save, restart ut2004 and the most Ballistic Weapons should now be shown under Settings/Input/Configure Controls.



2.....you can see the ballistic binds still but keys you set dont work:
Navigate to your ut2004/system directory and search a file called ballistic.int.
Edit it with notepad or something and see if the strings called BallisticProV55 and BCoreProV55.
If you see someting like BallisticV25, BcoreV25 change it to BallisticProV55 and BCoreProV55



3.....some weapons still not shown under Keybinds
like Azarael said, set it manual. To get the Nano sword (which dont appears for me @ Settings/Input/Configure Controls) bound on key x
console: set input x GetWeapon BWBPRecolors3Pro.DragonsToothSword

if you dont want remember the weapon and packages names you can do following:
set a key to set a keybind.
Lets say i replaced in loadout the R78 with Nano and want both weapons at same key "x". R78 shown under Ballistic Binds, Nano not.

Navigate to your ut2004/system directory and edit you user.ini.
look for 2 keys you dont use as example NumPad1 and Numpad2

Code: Select all

NumPad1=set input x GetWeapon BallisticProV55.R78Rifle
NumPad2=set input x GetWeapon BWBPRecolors3Pro.DragonsToothSword
ingame you can now bind the Nano to key "x" with just press NumPad2 and even change it back to R78 with NumPad1.
The weapon names could be found in a file called BWCache.ini in ut2004/system folder.

hf and thanks for all who made this fun possible :!:
Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That’s Relativity.
- Albert Einstein

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests