Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Haloless0320

Keyconfig Question

Recommended Posts

Ok I have sit here for the last 2 hours and I have fucked around with this Keyconfig until I felt like I was gonna get all big,green,and enraged.
This is what I'm trying to do.I have finally found a flashlight for my wad and I have placed it into my Decorate File Via Slumped.

ACTOR Doom3Flashlight : Weapon 30030
{
+DONTBOB
+NOALERT
+WIMPY_WEAPON
+AXEBLOOD
Inventory.PickupMessage "You got the Flash Light!"
Inventory.PickupSound "misc/d3pickup"
Weapon.SelectionOrder 3500
States
{
Spawn:
FLSH A -1
LOOP
Ready:
D3FG A 1 A_FireBullets(0, 0, 1, 0, "Light")
D3FG A 0 A_WeaponReady
LOOP
Deselect:
D3FG A 0 A_Light0
D3FG A 1 A_Lower
LOOP
Select:
D3FG A 1 A_Raise
LOOP
Fire:
D3FG A 0 A_Light0
D3FG ABCDEEFGHIJK 1
D3FG L 1 A_PlaySound("weapons/fistswing")
D3FG MNO 1
D3FG P 1 A_CustomPunch(12, 0, 0, "BulletPuff")
D3FG QRST 1
Goto Ready
}
}

ACTOR Light : BulletPuff
{
Renderstyle None
Alpha 0.5
+NOBLOCKMAP
+NOGRAVITY
+RIPPER
- ALLOWPARTICLES
states
{
Spawn:
PUFF A 1
stop
}
}
(Ripped from Doom 3 weapons mod)

I know I have to set up in my Keyconfig file for extra options under Customize Controls...here's an example.

weaponsection AtheriusDNT

alias Zoom "fov 10; m_pitch .125;m_yaw .2; set autoaim 0; crosshairgrow 10; echo Zoom in; rebind Zoom_out;"
alias Zoom_out "fov 90; m_pitch 1;m_yaw 1; set autoaim 5000; crosshairgrow 1; echo Zoom out; rebind Zoom;"

defaultbind f "use Doom3Flashlight"

addkeysection "Doom 3 Weapons" d3_weapons
addmenukey "Flashlight" "use Doom3Flashlight"

addkeysection "Doom 3 Functions" d3_functions
addmenukey "Zoom" "Zoom"

Am I doing something wrong?This is the final extra crap I wanna put into Atherius.wad before I start on the maps again.
In the spirit of Star Wars I say this "Help me <Insert Name> your my only Hope"

Share this post


Link to post

Well I got the Idea from the Doom 3 weapons mod.They have the default key set up as F and you can configure it from the configure keys menu where it sets up it's own category for doom 3 weapons.I can never get it to work in my wad so I was guessing somethings wrong.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×