Quake3World.com Forums
     Quake 4 Discussion
        weaps script in sticky doesnt appear to work


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: 

Hella Cool
Hella Cool
Joined: 01 Jul 2005
Posts: 1229
PostPosted: 10-18-2005 04:07 PM           Profile Send private message  E-mail  Edit post Reply with quote


try just impulse6?




Top
                 

It felt good...
It felt good...
Joined: 28 Mar 2001
Posts: 9558
PostPosted: 10-18-2005 04:09 PM           Profile   Send private message  E-mail  Edit post Reply with quote


Try looking in quake4config.cfg and see a mention of it. Or mebbe do /cvarlist or /bindlist in console.




Top
                 

straight at you
straight at you
Joined: 18 Dec 2000
Posts: 27931
PostPosted: 10-18-2005 04:17 PM           Profile Send private message  E-mail  Edit post Reply with quote


I haven't been able to get any console commands to work yet. I can't get it to show the framerate.

I finally figured out I have to put the "+set com_allowConsole 1" in the game shortcut in order to use the console, as it won't work in the config. I wonder how many game settings are like that. FOV is apparently like that as well.

Also, I'm not getting "TAB" completion in the console - is anybody else?




Top
                 

Commander
Commander
Joined: 04 Aug 2004
Posts: 141
PostPosted: 10-18-2005 04:19 PM           Profile Send private message  E-mail  Edit post Reply with quote


Well does

bind 1 "_impulse6"

work?

If so then try

bind 1 "say hi;_impulse6"

If that works then try

set test ""
bind 1 "vstr test;_impulse6"

If that works then try

set test "_impulse6"
bind 1 "vstr test"

Report back with results please. :)




Top
                 

Commander
Commander
Joined: 04 Aug 2004
Posts: 141
PostPosted: 10-18-2005 05:01 PM           Profile Send private message  E-mail  Edit post Reply with quote


What does "listbinds" produce by chance...I don't have the game as of yet...so I'm a little slow getting info. :)

On a odd note...maybe try some of the old weapon select commands from Q3 and Q2.




Top
                 

Quake Addict
Quake Addict
Joined: 13 May 2000
Posts: 1794
PostPosted: 10-18-2005 05:18 PM           Profile Send private message  E-mail  Edit post Reply with quote


Why don't you make the change directly into youre q4config.cfg...
and i don't think its [set] for the command line, but [seta] just like quake 3



_________________
Fast and furious_That's what it's all about...Image


Top
                 

Quake Addict
Quake Addict
Joined: 13 May 2000
Posts: 1794
PostPosted: 10-18-2005 05:31 PM           Profile Send private message  E-mail  Edit post Reply with quote


ok



_________________
Fast and furious_That's what it's all about...Image


Top
                 

One Man Army
One Man Army
Joined: 23 Dec 1999
Posts: 10568
PostPosted: 10-18-2005 06:27 PM           Profile Send private message  E-mail  Edit post Reply with quote


the command is "bind x toggle _impulseX"




Top
                 

straight at you
straight at you
Joined: 18 Dec 2000
Posts: 27931
PostPosted: 10-18-2005 06:27 PM           Profile Send private message  E-mail  Edit post Reply with quote


riddla wrote:
Direct binding via console doesnt appear to work. I tried

bind KP_5 _impulse2

no dice.

here's the condump errors from when I try that script:
Code:
Unknown command '_impulse3'
Unknown command '_impulse7'
Unknown command '_impulse2'
Unknown command '_impulse1'
Unknown command '_impulse5'
Unknown command '_impulse6'
Unknown command '_impulse4'
Unknown command '_impulse0'
Unknown command '_impulse3'
]condump wtf.txt
Dumped console text to wtf.txt



This is a stupid question, but have you tried changing the " marks around? Like instead of

bind KP_5 _impulse2

using

bind "KP_5" "_impulse2"

:confused:




Top
                 

straight at you
straight at you
Joined: 18 Dec 2000
Posts: 27931
PostPosted: 10-18-2005 06:28 PM           Profile Send private message  E-mail  Edit post Reply with quote


DooMer wrote:
the command is "bind x toggle _impulseX"


Oh.




Top
                 

Commander
Commander
Joined: 04 Aug 2004
Posts: 141
PostPosted: 10-18-2005 06:36 PM           Profile Send private message  E-mail  Edit post Reply with quote


So DooMer the following works correct?

bind x "toggle _impulse1"

What about?

bind x "toggle _impulse1 _impulse2"

Or

bind x "toggle _impulse 1 2"

And if we can have multiple values per bind (hopefully) then can we do a last weapon type binds?

bind x "toggle _impulse 1 2 3 4 5 6 7"

bind z "toggle _impulse 7 6 5 4 3 2 1"




Top
                 

One Man Army
One Man Army
Joined: 23 Dec 1999
Posts: 10568
PostPosted: 10-18-2005 07:52 PM           Profile Send private message  E-mail  Edit post Reply with quote


Yeah, I tried rgoers script exactly, and it doesnt seem to be working. Even with toggle it cant find the impulses




Top
                 

Commander
Commander
Joined: 04 Aug 2004
Posts: 141
PostPosted: 10-19-2005 01:10 AM           Profile Send private message  E-mail  Edit post Reply with quote


hmm well going off of what I just seen in the config of some russian player it seems this is likely the correct way of going about it.

Hehe provided that what I saw posted is correct.

bind 0 "impulse 0"
bind 1 "impulse 1"
bind 2 "impulse 2"
bind 3 "impulse 3"
bind 4 "impulse 4"
bind 5 "impulse 5"
bind 6 "impulse 6"
bind 7 "impulse 7"
bind 8 "impulse 8"


OR


set ua_wg1_01 "set ua_wg1 vstr ua_wg1_02; impulse 7" // Railgun
set ua_wg1_02 "set ua_wg1 vstr ua_wg1_01; impulse 2" // Shotgun
vstr ua_wg1_02 // Default

set ua_wg2_01 "set ua_wg2 vstr ua_wg2_02; impulse 6" // Rocket Launcher
set ua_wg2_02 "set ua_wg2 vstr ua_wg2_01; impulse 4" // Grenade Launcher
vstr ua_wg2_02 // Default

set ua_wg3_01 "set ua_wg3 vstr ua_wg3_02; impulse 3" // Hyper Blaster
set ua_wg3_02 "set ua_wg3 vstr ua_wg3_01; impulse 8" // Lightning Gun
vstr ua_wg3_02 // Default

set ua_wg4_01 "set ua_wg4 vstr ua_wg4_02; impulse 1" // Machine Gun
set ua_wg4_02 "set ua_wg4 vstr ua_wg4_01; impulse 5" // Nailgun
vstr ua_wg4_02 // Default

bind c "vstr ua_wg1" // Railgun & Shotgun
bind f "vstr ua_wg2" // Grenade & Rocket Launcher
bind r "vstr ua_wg3" // Lightning & Hyper Blaster
bind e "vstr ua_wg4" // Machine Gun & Nailgun
bind q "impulse 0" // Gauntlet


OR


bind c "toggle impulse 2 7" // Railgun & Shotgun
bind f "toggle impulse 4 6" // Grenade & Rocket Launcher
bind r "toggle impulse 3 8" // Lightning & Hyper Blaster
bind e "toggle impulse 1 5" // Machine Gun & Nailgun
bind q "impulse 0" // Gauntlet


OR MAYBE


bind x "toggle impulse 1 2 3 4 5 6 7"
bind z "toggle impulse 7 6 5 4 3 2 1"


Any ways guys let me know how things turn out.




Top
                 

btw cocks
btw cocks
Joined: 16 Aug 2003
Posts: 3216
PostPosted: 10-19-2005 07:37 AM           Profile Send private message  E-mail  Edit post Reply with quote


yeah the toggles I use in my config aren't actually toggling impulses, they are toggling various bullshit things (chats, player names, etc), so they work

_impulse commands can only be fired off by being bound directly to a key--using vstr to fire off an alias that contains _impulse6 is the same as entering _impulse6 at the console, which doesn't work. The only way impulses work is by hitting the key they are bound to (I have no idea why id set it up this way in Doom).

So, basically, until I figure something else out, weapon toggles look to be unavailable. I'll think of something though.




Top
                 
Quake3World.com | Forum Index | Quake 4 Discussion


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.