Forum

> > CS2D > Scripts > Grenade Launcher function for M4A1/Ak47
Forums overviewCS2D overview Scripts overviewLog in to reply

English Grenade Launcher function for M4A1/Ak47

27 replies
Page
To the start Previous 1 2 Next To the start

old Re: Grenade Launcher function for M4A1/Ak47

Phenixtri
User Off Offline

Quote
Just for clarification my grenade launcher script is being made for NTDs Half Life Mod possibly utilizing ""GeNeSiS_MaSoN's"" control lua.

The M203 grenade launcher (rocket launcher) will bind "mouse2" "attack2" to fire the grenades for either the MP5 (P90) or M4A2 (AK 47).

Code:
// Half Life 2D Controls
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "conkey" "console"
bind "W" "forward"
bind "S" "back"
bind "A" "left"
bind "D" "right"
bind "leftshift" "speed"
bind "mouse1" "attack"
bind "mouse2" "attack2"
bind "R" "reload"
bind "mwheelup" "invprev"
bind "mwheeldown" "invnext"
bind "Q" "lastinv"
bind "E" "use"
bind "F5" "snapshot"

So at least I have some were to start experimenting with Ill try to post a script once I get the hang of it. I'm still studying that lua tutorial link
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview