Forum

> > CS2D > Scripts > Grenade Launcher function for M4A1/Ak47
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Grenade Launcher function for M4A1/Ak47

27 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: Grenade Launcher function for M4A1/Ak47

Phenixtri
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht