Pulp Fortress forum archives
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Ideas for Scripts?

+2
Panda
Firestar
6 posters

Go down

Ideas for Scripts? Empty Ideas for Scripts?

Post by Firestar 7/2/2010, 23:18

Okay, just replaced my terrible, small, wireless (AKA BATTERY RAPING) mouse with an awesome new one. And it has the two buttons on the side! Razz Any ideas for what I should script to those keys?
Firestar
Firestar

Posts : 430
Join date : 2009-12-03
Age : 28
Location : Oak Park, IL, US

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Panda 7/2/2010, 23:30

Drugs and alcohol
Panda
Panda

Posts : 138
Join date : 2010-01-05
Age : 32
Location : Rochester

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by DrManette 7/2/2010, 23:37

Button A shall forth be for the calling of thy hoes. Button B shall be for thine brew.

Tadah!
DrManette
DrManette

Posts : 264
Join date : 2010-01-31
Age : 33
Location : Edge of the Earth

http://www.biofoxgames.com

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Firestar 8/2/2010, 10:37

Hahaha, well you guys are helpful...
Firestar
Firestar

Posts : 430
Join date : 2009-12-03
Age : 28
Location : Oak Park, IL, US

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Eraserhead 8/2/2010, 11:24

reload and switch last used weapon
Eraserhead
Eraserhead
Senior Game Admin
Senior Game Admin

Posts : 3170
Join date : 2009-11-14
Age : 48
Location : Suriname

http://www.pulpfortress.com

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Epps 8/2/2010, 12:36

I have this:
MOUSE1: primairy fire
MOUSE2: secondary fire
MOUSE3: say RTD
MOUSE4: SPY!
MOUSE5: Voicetalk
SCROLLLEFT: Thanks
SCROLLRIGHT: Help!

In case the source engine doesn't find some keys (such as scroll left/right) you can use a program called X Mouse Button Control. It is free, works with any windows (including 64-bit) and is availeble here: http://www.highrez.co.uk/downloads/XMouseButtonControl.htm
Epps
Epps
RINGO MOGIRE BEAM!
RINGO MOGIRE BEAM!

Posts : 2052
Join date : 2009-11-16
Age : 33
Location : Oss, Netherlands

http://www.epps.nl

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Lord Zurkov 8/2/2010, 12:52

Sgt Pepper wrote:MOUSE1: +attack
MOUSE2: +attack2
MOUSE3: say RTD
MOUSE4: voicemenu 1 1
MOUSE5: +voicerecord
SCROLLLEFT: voicemenu 0 1
SCROLLRIGHT: voicemenu 2 0
"Say RTD"? ...that's it? No, my friend, we need something more GLORIOUS!
Code:
alias "+rtd" "say rtd; rtd_test; alias test_result rtd_test=negative; wait 2; test_result"; alias "rtd_test" "wait; alias test_result rtd_test=positive"; alias "rtd_test=positive" "alias rtd_ref rollthedice; wait 100; rtd_ref"; alias "rtd_test=negative" "echo '+RTD' script failed. 'Wait' command is disabled on the current server."; alias "-rtd" "wait 2; alias rtd_ref"; alias "rollthedice" "say rollthedice; wait 100; rtd_ref"; bind "mouse3" "+rtd"
You press MOUSE3 to roll the dice, or you can hold it to count down. No more button-mashing while you wait for RTD! In addition, you can type +RTD into the console if you want a more unpredictable gaming experience.


Last edited by Lord Zurkov on 8/2/2010, 13:33; edited 4 times in total
Lord Zurkov
Lord Zurkov
Clan Member
Clan Member

Posts : 402
Join date : 2010-01-09
Age : 32

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Firestar 8/2/2010, 12:57

o.0 where would i put that
Firestar
Firestar

Posts : 430
Join date : 2009-12-03
Age : 28
Location : Oak Park, IL, US

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Lord Zurkov 8/2/2010, 13:18

I personally put it in its own CFG file and then type a command to execute it...
You're probably better off just putting it into your "autoexec.cfg". It's located at
"C:\Program Files\Steam\steamapps\[account_name]\team fortress 2\tf\cfg".

While you're at it, I would advise adding this line to "autoexec.cfg" as well:
Code:
cl_burninggibs "1"; cl_timeout "60"; con_enable "1"; bind "f5" "jpeg"; jpeg_quality "100"
Those commands enable burning gibs, extend the time before your client times out, enable the console, and rebind your screenshot key to take ".jpg"s instead of ".tga"s.

You may also want to take a look at this.


...perhaps I should just upload my CFG folder to my SkyDrive... o_O
Lord Zurkov
Lord Zurkov
Clan Member
Clan Member

Posts : 402
Join date : 2010-01-09
Age : 32

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Firestar 8/2/2010, 13:46

So how do I put that in the cfg file...? IM SORRY IM AN IDIOT
Firestar
Firestar

Posts : 430
Join date : 2009-12-03
Age : 28
Location : Oak Park, IL, US

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Lord Zurkov 8/2/2010, 13:59

Firestar wrote:So how do I put that in the cfg file...?
Oh, I never mentioned that anywhere. Open the file with notepad or wordpad or whatever.
Lord Zurkov
Lord Zurkov
Clan Member
Clan Member

Posts : 402
Join date : 2010-01-09
Age : 32

Back to top Go down

Ideas for Scripts? Empty Re: Ideas for Scripts?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum