Fortress Forever

Go Back   Fortress Forever > Community > Tips and Tutorials

Reply
 
Thread Tools Display Modes
Old 05-18-2010, 06:36 PM   #201
biohaZ
 
Join Date: Sep 2009
Gametype: Capture the Flag
Posts Rated Helpful 6 Times
i was wondering if i could get a script that bunny hops, shoots enemies, and prime grenades for me, thanks for the help
biohaZ is offline   Reply With Quote


Old 06-20-2010, 09:45 PM   #202
JackBauer
 
Join Date: Jan 2010
Location: Switzerland
Posts Rated Helpful 18 Times
right guys I would appreciate if anybody came up with some commands I'm in need of.

Demoman script for the following stuff

mwheelup to switch between blue and yellow pipes.

mouse5 to detonate the yellow pipes.
__________________
Swiss Fortress Community

Last edited by JackBauer; 06-20-2010 at 09:45 PM.
JackBauer is offline   Reply With Quote


Old 06-22-2010, 06:47 PM   #203
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Code:
//Quick Weapon - put in demoman.cfg
alias quick1 "slot4; wait; alias quickweapon quick2"
alias quick2 "slot5; wait; alias quickweapon quick1"
alias quickweapon quick1
bind mwheelup "quickweapon"

bind mouse5 +attack2
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 06-25-2010, 08:00 AM   #204
JackBauer
 
Join Date: Jan 2010
Location: Switzerland
Posts Rated Helpful 18 Times
thanks mate. by the way, is that Dr Satan from house of 1000 corpses?
__________________
Swiss Fortress Community
JackBauer is offline   Reply With Quote


Old 06-26-2010, 02:13 AM   #205
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
yeah, started using the name when I was like 12 I think
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 06-30-2010, 06:49 PM   #206
JackBauer
 
Join Date: Jan 2010
Location: Switzerland
Posts Rated Helpful 18 Times
great movie and character!
__________________
Swiss Fortress Community
JackBauer is offline   Reply With Quote


Old 07-01-2010, 01:27 AM   #207
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
for sure!
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote


Old 05-29-2011, 01:06 AM   #208
Hotspur
Player
 
Hotspur's Avatar
 
Join Date: Sep 2007
Location: Kentucky
Class/Position: Defense
Gametype: First-Person Shooter
Posts Rated Helpful 0 Times
Mouse sensitivity script

Could you please make a script for me that allows me to reduce mouse sensitivity while I hold the shift key and restore when I let up?
Hotspur is offline   Reply With Quote


Old 05-29-2011, 01:31 AM   #209
NeonLight
NeoNL
Wiki Team
Beta Tester
 
Join Date: Oct 2008
Location: Boston, Mass
Class/Position: Soldier, Medic
Gametype: AvD
Affiliations: +M|M+ -RS
Posts Rated Helpful 157 Times
What's your current mouse sensitivity then someone can do something
NeonLight is offline   Reply With Quote


Old 05-29-2011, 01:31 AM   #210
oaties
 
Join Date: Nov 2010
Gametype: Capture the Flag
Posts Rated Helpful 38 Times
Quote:
Originally Posted by Hotspur View Post
Could you please make a script for me that allows me to reduce mouse sensitivity while I hold the shift key and restore when I let up?
Although this thread hasn't been updated for a year, im feeling nice so:

Code:
alias +sensitivitytoggle "sensitivity x"
alias -sensitivitytoggle "sensitivity y"
bind shift +sensitivitytoggle
x is what you want the sensitivity to lower to; y is your default sensitivity.
oaties is offline   Reply With Quote


Old 05-29-2011, 01:46 AM   #211
Hotspur
Player
 
Hotspur's Avatar
 
Join Date: Sep 2007
Location: Kentucky
Class/Position: Defense
Gametype: First-Person Shooter
Posts Rated Helpful 0 Times
Thank you very kindly Oaties. That will do perfectly.
Hotspur is offline   Reply With Quote


Old 05-29-2011, 10:18 PM   #212
Raynian
D&A Member
 
Raynian's Avatar
 
Join Date: May 2009
Location: Ruining #pickups
Class/Position: SPAWN CAMPING OH NO
Gametype: Ragequitting
Affiliations: [PMS]. [Shiney]
Posts Rated Helpful 26 Times
There might be a problem with the nested " " commands. I know I couldn't get some scripts to work right when I needed to use lots of quotes.
__________________
7:00 PM - zE: eh tbh i like some stuff in us but a lot of stuff in us messes with my nerves
7:00 PM - zE: like watching fox news
7:00 PM - zE: its like wtf
Raynian is offline   Reply With Quote


Old 10-07-2012, 06:45 PM   #213
9u-9u-9u
Beta Tester
 
9u-9u-9u's Avatar
 
Join Date: Mar 2008
Class/Position: Demoman
Gametype: pipe spawn
Posts Rated Helpful 124 Times
I'm looking for a script that will make a button (kp_ins) switch between mini shottie to pipe launcher and back again.

it sounds simple but I haven't found any on the forum or have got mine to work right. I just use bind slot2 but would like one that can switch between two specific weapons
9u-9u-9u is offline   Reply With Quote


1 members found this post helpful.
Old 10-07-2012, 07:40 PM   #214
the_cake
Beta Tester
 
Join Date: Jul 2008
Posts Rated Helpful 144 Times
Put in demoman.cfg:

currentweapon
alias demoswitch1 "slot5; alias currentweapon slot5; alias demoswitch demoswitch2"
alias demoswitch2 "slot4; alias currentweapon slot4; alias demoswitch demoswitch1"

Put in autoexec.cfg:

alias demoswitch demoswitch1
bind KP_INS demoswitch


This will break if you put them in the wrong place.

The special nine's weird config friendly version!:

bind MWHEELDOWN "invprev; alias demoswitch demoswitch1"
bind MWHEELUP "invnext; alias demoswitch demoswitch1"
alias demoswitch demoswitch1

alias demoswitch1 "slot5; alias demoswitch demoswitch2"
alias demoswitch2 "slot2; alias demoswitch demoswitch1"
bind KP_INS demoswitch

Last edited by the_cake; 10-07-2012 at 08:29 PM. Reason: fixed
the_cake is offline   Reply With Quote


1 members found this post helpful.
Old 10-07-2012, 08:46 PM   #215
9u-9u-9u
Beta Tester
 
9u-9u-9u's Avatar
 
Join Date: Mar 2008
Class/Position: Demoman
Gametype: pipe spawn
Posts Rated Helpful 124 Times
thanks to cake. dunno how he did it but we got it to work with some voodoo magic coding. with the second set of code it's improved because it switches to the grenade launcher no matter what weapon you have out so it's more predictable and better in a bind
9u-9u-9u is offline   Reply With Quote


1 members found this post helpful.
Old 10-28-2012, 01:25 AM   #216
Raynian
D&A Member
 
Raynian's Avatar
 
Join Date: May 2009
Location: Ruining #pickups
Class/Position: SPAWN CAMPING OH NO
Gametype: Ragequitting
Affiliations: [PMS]. [Shiney]
Posts Rated Helpful 26 Times
Dunno if this has been answered before, but is it possible to set +attack as the second command in a string without it fucking up?

I'm trying to set up a script like follows

bind mwheeldown "detpipes; wait; +attack"

So it will det any currently placed pipes, then immediately shoot one more pipe.

What works:
bind mwheeldown detpipes -- works as intended
bind mwheeldown +attack -- works if there's nothing before it

However
bind mwheeldown "detpipes; +attack;" -- does det pipes, then starts an infinite +attack command until I manually stop it with a -attack command.
bind mwheeldown "detpipes; +attack; -attack" -- obviously doesn't shoot as it has the start and stop attack commands at once
bind mwheeldown "detpipes; +attack; wait; -attack" -- same as if I took the wait command out, does nothing after detting pipes
bind mwheeldown "+attack; detpipes" -- Will det the pipes, but no +attack command (which is the opposite of what I'd expect - I thought it would attack but not det since you can't det shortly after setting a pipe -- still did the same with a wait command)

As far as I can see, there are a few problems --

+attack doesn't work if it's the first part of a string containing multiple commands (or, at least, for this)

If you put +attack as the second part of a string, it will act as though you typed it into console (continue attacking until -attack is given), instead of properly treating it as being bound to a button

Aliasing +attack didn't help either.
__________________
7:00 PM - zE: eh tbh i like some stuff in us but a lot of stuff in us messes with my nerves
7:00 PM - zE: like watching fox news
7:00 PM - zE: its like wtf
Raynian is offline   Reply With Quote


Old 10-28-2012, 09:11 AM   #217
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 348 Times
Send a message via AIM to squeek.
Gotta play around with multiple waits. This seems to work for me:

Code:
bind "mwheeldown" "detpipes; wait; wait; +attack; wait; wait; wait; -attack"
__________________
Support FF:
#FF.Pickup Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington
squeek. is offline   Reply With Quote


Old 01-29-2013, 10:01 PM   #218
zE
Pew pew ze beams
 
zE's Avatar
 
Join Date: Jan 2008
Gametype: Gathers
Affiliations: pew pew
Posts Rated Helpful 11 Times
welp

I need a bind to build a sentrygun, something like press A Builds a sentry gun, if im near it and press A again it dismantles , if im far from it and I press A destroys it.

I also need a bind to trow flag and say_team the location of it

welp
zE is offline   Reply With Quote


Old 01-30-2013, 12:59 AM   #219
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 348 Times
Send a message via AIM to squeek.
Code:
bind "z" "sentrygun; detdismantlesentry"
bind "c" "dropitems; say_team flag thrown at %l"
__________________
Support FF:
#FF.Pickup Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington

Last edited by squeek.; 01-30-2013 at 12:59 AM.
squeek. is offline   Reply With Quote


Old 01-30-2013, 01:05 AM   #220
zE
Pew pew ze beams
 
zE's Avatar
 
Join Date: Jan 2008
Gametype: Gathers
Affiliations: pew pew
Posts Rated Helpful 11 Times
Thank you squeek
zE is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.