Jump to content
Sign in to follow this  
AlmarM

Vsay Maker

Recommended Posts

AlmarM

I made this little Vsay Maker program.

(Its only usefull for people who play: Wolfenstein - Enemy Territory)

Source

#include <GUIConstants.au3>

$GUI = GUICreate("Vsay Maker", 315, 300, -1, -1)
GUISetState(@SW_SHOW)
$Label_1 = GUICtrlCreateLabel("Vsay", 5, 10)
$Combo_1 = GUICtrlCreateCombo("Vsay List", 5, 33, 150)
GUICtrlSetData(-1, "PathCleared|EnemyWeak|AllClear|Incoming|FireInTheHole|OnDefense|OnOffense|TakingFire|MinesCleared|EnemyDisguised|Medic|NeedAmmo|NeedBackup|NeedEngineer|CoverMe|HoldFire|WhereTo|NeedOps|FollowMe|LetsGo|Move|ClearPath|DefendObjective|DisarmDynamite|ClearMines|ReinforceOffense|ReinforceDefense|Affirmative|Negative|Thanks|Welcome|Sorry|Oops|EnemyWeak|Hi|Bye|GreatShot|Cheer|HoldFire|GoodGame|CommandAcknowledged|CommandDeclined|CommandCompleted|DestroyPrimary|DestroySecondary|DestroyConstruction|ConstructionCommencing|RepairVehicle|DestroyVehicle|EscortVehicle", "Vsay List")
$Label_2 = GUICtrlCreateLabel("Key", 160, 10)
$Combo_2 = GUICtrlCreateCombo("Key List", 160, 33, 150)
GUICtrlSetData(-1, "f1|f2|f3|f4|f5|f6|f7|f8|f9|f10|f11|f12|1|2|3|4|5|6|7|8|9|0|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|ins|del|home|pgdn|pgup|end|-|=|[|]|;|'|\|,|.|/|alt|ctrl|tab|mouse1|mouse2|mouse3|mwheelup|mwheeldown|kp_ins|kp_home|kp_del|kp_pgdn|kp_pgup|kp_end|kp_leftarrow|kp_rightarrow|kp_uparrow|kp_downarrow|kp_5", "Key List")
$Label_3 = GUICtrlCreateLabel("Text", 5, 63)
$Input_1 = GUICtrlCreateInput("", 5, 83, 305)
$Button_1 = GUICtrlCreateButton("Add Vsay", 5, 107, 305)
$Edit_1 = GUICtrlCreateEdit("", 5, 137, 305, 157)

GUISetState()

While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
    Exit

Case $msg = $Button_1
    $Read_1 = GUICtrlRead($Combo_1)
    $Read_2 = GUICtrlRead($Combo_2)
    $Read_3 = GUICtrlRead($Input_1)
    GUICtrlSetData($Edit_1, "bind " & $Read_2 & " vsay " & $Read_1 & " " & $Read_3 & @CRLF, "|")
EndSelect
WEnd ;==> All Cases

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites
PolishTranslator

C:\Documents and Settings\Black\Pulpit\vsay.au3(7,20) : ERROR: syntax error (illegal character)

GUICtrlSetData(-1, "

~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Black\Pulpit\vsay.au3(15,20) : ERROR: syntax error (illegal character)

GUICtrlSetData(-1, "

~~~~~~~~~~~~~~~~~~~^

C:\Documents and Settings\Black\Pulpit\vsay.au3 - 2 error(s), 0 warning(s)

Ehh... that stupid error.

One common question:

Did VSayMaker works with Digital Paintball 2 ?

- > 3d!T <-

Sorry... For other newbies: please add an "backspaces" and this will work :)

Edited by PolishTranslator

Share this post


Link to post
Share on other sites

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  

×