Fortress Forever

Go Back   Fortress Forever > Community > Tips and Tutorials

Reply
 
Thread Tools Display Modes
Old 03-13-2008, 11:15 PM   #1
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
demo script help please

ok so i was screwing around and found that i could launch another pipe at the same time i would det with the script im posting below, but it wont stop shooting, and if i point the diff aliases at each other i will either be unable to det or to shoot again :/

alias det1 detto
alias det2 undetto
alias "detto" "+attack2;wait;+attack"
alias "undetto" "-attack"
bind "mouse2" "det1"

so basically what im looking for is sorta like the ol quickchange and fire scripts the soldiers used in tfc..use mouse1 to launch my pipes, mouse2 to det and launch new ones until i let go of it.

any help would be most appreciated.
Zatoichi is offline   Reply With Quote


Old 03-13-2008, 11:29 PM   #2
Jester
Fortress Forever Staff
 
Jester's Avatar
 
Join Date: Sep 2007
Class/Position: O: Scout
Affiliations: {NFO} - New Family Order
Posts Rated Helpful 0 Times
Try a wait; after +attack or before -attack or a combination of both. Usually +attack always ends up glitching in a script unless you put some waits between it and -attack.
Jester is offline   Reply With Quote


Old 03-14-2008, 05:18 AM   #3
4est
Fortress Forever Staff
 
4est's Avatar
 
Join Date: Mar 2007
Location: OK
Posts Rated Helpful 0 Times
Send a message via Yahoo to 4est
I just use
Code:
bind "mouse2" "+attack2; wait; slot5"  		// det pipes and instantly switch to greens
It dets pipes and switches back to grellow pipes. Then I just use mouse1 to lay more pipes.
__________________
Welcome to ZOMBOCOM!
Support FF:
4est is offline   Reply With Quote


Old 03-14-2008, 05:48 AM   #4
Jester
Fortress Forever Staff
 
Jester's Avatar
 
Join Date: Sep 2007
Class/Position: O: Scout
Affiliations: {NFO} - New Family Order
Posts Rated Helpful 0 Times
I realized the original post never used det2 but aliased it, that might have been your problem. Anyway though, I made a smaller one that still works:

alias +det1 "+attack2;+attack"
alias -det1 "-attack;-attack2"
bind mouse2 +det1

4est: Your script never does -attack2 so you will never be able to det your pipes after the first time. Also, You could do a +attack;wait5;-attack; so it actually switches to pipelauncher . Otherwise it will just highlight slot5 and you will have to click to change, then click again to fire.

Last edited by Jester; 03-14-2008 at 06:50 AM.
Jester is offline   Reply With Quote


Old 03-14-2008, 06:56 AM   #5
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
Quote:
Originally Posted by Jester
I realized the original post never used det2 but aliased it, that might have been your problem. Anyway though, I made a smaller one that still works:

alias +det1 "+attack2;+attack"
alias -det1 "-attack;-attack2"
bind mouse2 +det1
That should do it...his never called the -attack command b/c det2 wasn't ever used.


Quote:
Originally Posted by Jester
4est: Your script never does -attack2 so you will never be able to det your pipes after the first time. Also, You could do a +attack;wait5;-attack; so it actually switches to pipelauncher . Otherwise it will just highlight slot5 and you will have to click to change, then click again to fire.
If you select quick weapon change in the options, it will change to the weapon by referencing slotX in a script, but your right that his won't let you det after the first time, until you do a -attack2...

should just be:

Code:
bind "mouse2" "+attack2; wait; -attack2; slot5"
__________________
(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 03-14-2008, 07:52 AM   #6
Jester
Fortress Forever Staff
 
Jester's Avatar
 
Join Date: Sep 2007
Class/Position: O: Scout
Affiliations: {NFO} - New Family Order
Posts Rated Helpful 0 Times
Even that last bit of script you posted there won't work. You need at least 3-5 wait commands between +attack2 and -attack2 or it will stay +attack2 forever. Stick with 5 waits to be safe, 3 sometimes processes too fast on fast computers.

+attack2;wait5;-attack2.
alias wait5 "wait;wait;wait;wait;wait"
Jester is offline   Reply With Quote


Old 03-14-2008, 08:52 AM   #7
TheWetMule
 
TheWetMule's Avatar
 
Join Date: Mar 2007
Location: England, Midlands
Posts Rated Helpful 0 Times
Send a message via MSN to TheWetMule Send a message via Skype™ to TheWetMule
Quote:
Originally Posted by Jester
I realized the original post never used det2 but aliased it, that might have been your problem. Anyway though, I made a smaller one that still works:

alias +det1 "+attack2;+attack"
alias -det1 "-attack;-attack2"
bind mouse2 +det1"
That will work fine, mainly because -det1 is fired on mouse release and as said earlier, lots of waits are needed for -attack2 to fire :>, might be more on low end computers.
TheWetMule is offline   Reply With Quote


Old 03-14-2008, 11:21 AM   #8
Zatoichi
 
Zatoichi's Avatar
 
Join Date: Jul 2007
Location: Upstate New York
Posts Rated Helpful 0 Times
awesome guys thx for the help! that little script worked great jester, guess i was trying TOO hard lol.

thx again!
Zatoichi is offline   Reply With Quote


Old 03-14-2008, 03:41 PM   #9
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
Quote:
Originally Posted by Jester
Even that last bit of script you posted there won't work. You need at least 3-5 wait commands between +attack2 and -attack2 or it will stay +attack2 forever. Stick with 5 waits to be safe, 3 sometimes processes too fast on fast computers.

+attack2;wait5;-attack2.
alias wait5 "wait;wait;wait;wait;wait"
ah...didn't realize that!
__________________
(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 03-14-2008, 10:09 PM   #10
4est
Fortress Forever Staff
 
4est's Avatar
 
Join Date: Mar 2007
Location: OK
Posts Rated Helpful 0 Times
Send a message via Yahoo to 4est
Quote:
4est: Your script never does -attack2 so you will never be able to det your pipes after the first time. Also, You could do a +attack;wait5;-attack; so it actually switches to pipelauncher . Otherwise it will just highlight slot5 and you will have to click to change, then click again to fire.
I've used my script for at least 3-4 years now. I assure you it works.
__________________
Welcome to ZOMBOCOM!
Support FF:
4est is offline   Reply With Quote


Old 03-14-2008, 10:18 PM   #11
Jester
Fortress Forever Staff
 
Jester's Avatar
 
Join Date: Sep 2007
Class/Position: O: Scout
Affiliations: {NFO} - New Family Order
Posts Rated Helpful 0 Times
Aye, I don't use quickswitch. Dr. Satan already explained how it worked.
Jester 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 03:57 PM.


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