Check Out Our Webcomic - Newbs Daily

TF2Newbs Homepage

Welcome, Guest. Please login or register.

Login with username, password and session length
Your ad here, right now:
Pages: [1]
Print
Author Topic: scripts.  (Read 115 times)
Medic Lobster
newbsdaily
Newb!
*****

Karma: 18
Posts: 380


Lobsters are immortal


View Profile WWW
« on: July 20, 2009, 07:11:29 PM »

After getting killed with my PDA out for the squillionth time, I finally decided to get off my lazy ass and get a couple of engie scripts together.

Code:
// Build and Destroy "Boomode" System
// ==================================
alias eng_destroybuild_0 "destroy 0; build 0"
alias eng_destroybuild_1 "destroy 1; build 1"
alias eng_destroybuild_2 "destroy 2; build 2"
alias eng_destroybuild_3 "destroy 3; build 3"

alias +eng_destroy "alias eng_dispen eng_destroybuild_0; alias eng_tpentr eng_destroybuild_1; alias eng_tpexit eng_destroybuild_2; alias eng_sentry eng_destroybuild_3"
alias -eng_destroy "alias eng_dispen slot1; alias eng_tpentr slot3; alias eng_tpexit slot4; alias eng_sentry slot1"
-eng_destroy

alias +eng_build "alias eng_dispen build 0; alias eng_tpentr build 1; alias eng_tpexit build 2; alias eng_sentry build 3"
alias -eng_build "alias eng_dispen slot1; alias eng_tpentr slot3; alias eng_tpexit slot4; alias eng_sentry slot1"
-eng_build

bind "SHIFT" "+eng_destroy" // Swap all build binds to destroy binds.
bind "1" "eng_sentry" // Build Sentry (Destroy Sentry when +eng_destroy is held down)
bind "2" "eng_dispen" // Build Dispenser (Destroy Dispenser when +eng_destroy is held down)
bind "3" "eng_tpentr" // Build Teleporter Entrance (Destroy Teleporter Entrance when +eng_destroy is held down)
bind "4" "eng_tpexit" // Build Teleporter Exit (Destroy Teleporter Exit when +eng_destroy is held down)
bind "alt"      "+eng_build"    // Lets you build if held down.

That's what I got so far. Works fine for the most part. But for some reason, on all classes, 4 and 5 are borked, and 2 switches to the primary weapon. I tried to fix this a little bit by putting "bind "1" "slot1"" and so on in all the other class configs, but it's still not fixed for the engie. Is there a better solution?

I also want to know if I can scroll through just the combat weapons with the mouse wheel and skip the PDAs altogether. This would be very convenient.

I apologize if any of this is common knowledge or hanging around in some not-so-obscure corner of the internet. Today I have no rationalization for my laziness. :|
Logged  Jump To Top
Grey Devil
Global Moderator
NEWBAGE!
*****

Karma: 124
Posts: 6867


The Crazy Hobo Under Your Bed


View Profile WWW
« Reply #1 on: July 20, 2009, 07:27:46 PM »

I cant really help you with scrips but there's a few here who make scrips on a regular basis. hopefully they'll either help you or just give you one of their engie scripts.
Logged  Jump To Top


Steven
AIDS
NEWBAGE!
*****

Karma: 11
Posts: 2405



View Profile WWW
« Reply #2 on: July 21, 2009, 12:46:34 AM »

Code:
////////////////////////////////
// AutoBuild Plus w/ KeyCombo
// AUTHOR: Steven
// VERSION: 1.2
alias +buildeng "bind w sentry; bind a telexit; bind s dispenser; bind d telentrance"
alias -buildeng "bind w +forward; bind a +moveleft; bind s +back; bind d +moveright"
alias sentry "destroy 3; build 3"
alias dispenser "destroy 0; build 0"
alias telexit "destroy 2; build 2"
alias telentrance "destroy 1; build 1"
bind "shift" "+buildeng"
// END AutoBuild
////////////////////////////////

http://www.fpsbanana.com/scripts/4358

That's what I use. Tongue
Logged  Jump To Top

Social: FacebookLast.FM
Other: BashTizagAbove The Ignorance
Pages: [1]
Print
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Mesh design by Bloc | XHTML | CSS