Jump to content

Recommended Posts

Posted

Heal works, but sometimes I catch myself shooting instead of throwing medpacks, especially after a reload. I play discrete, killing enemy from behind or luring an enemy into an ambush. I'm surprised I never thought of this script or used the heal script years ago, because it was pretty useful these few days, the only downside is the random gun firing when pressing the bind on my mouse2. 

 

As for the revive script, it doesn't switch back to gun at all. It just sticks out the needle, and you have to press fire (+attack/mouse1) manually. These scripts are promising but so far hurting my style of play especially when I bump into a random teammate and want to quickly give them medpacks and I start firing causing the enemy to be alerted as to our whereabouts.

 

Auto Heal 
//Auto Heal
set healthon "weaponbank 6; wait 2; +attack"
set healthoff "-attack; wait 2; weaponbank 3"
bind mouse2 "+vstr healthon healthoff"

 

 

(The Revive script was just renamed from the heal script and absolutely doesn't change back to weapon, maybe the "wait" is too long or too short) 

Auto Revive

//Auto Revive
set reviveon "weaponbank 5; wait 2; +attack"
set reviveoff "-attack; wait 2; weaponbank 2"
bind mouse4 "+vstr reviveon reviveoff"

  • Like 1
Posted

 

Try to use

 

wait 90

 

instead of wait 2. That's weird, the auto heal should not give you random gun fire. Modify it a bit like

 

//Auto Heal

set healthon "weaponbank 6; wait 90; +attack"

set healthoff "wait 90; -attack; weaponbank 3"

bind mouse2 "+vstr healthon healthoff"

 

Alternatively, you can use mouse scroll down bind to select the medpack weapon, and hit fire button to release medpacks. Scroll up to change to weapon of your change.

 

Same goes with auto revive, like so

 

//Auto Revive

set reviveon "weaponbank 5; wait 90; +attack"

set reviveoff "wait 90; -attack; weaponbank 3"

bind mouse4 "+vstr reviveon reviveoff"

 

I modify it a bit so that it changes to your bigger weapon. Hope it works for you

  • Like 1
Posted

Did it worked?

 

Salamat is the word for "Thank You" in many Filipino languages, including Tagalog, Cebuano, and Hiligaynon. It most likely comes from the triliteral Semitic root S-L-M, due to Arabs who roamed the area. In its Arabic form سلامات, it is also used as a greeting in many Arabic cultures.

 

From Wikipedia, the free encyclopedia

  • Like 4
Posted

Did it worked?

I was testing it out at that moment PiNoY for several hours. It's a better step in the right direction, but the random shooting happens still happens. When I get the time again i'll host a game and play around with it a bit more. 

 

Is there anything in your knowledge about scripting that could help me understand what could cause such a problem? I'm going to be reading more on scripting atm very rusty. 

Posted

I have almost same script, but I dont have random shooting. Maybe give me a demo of your random shooting for me to understand better? Was it as soon as you release the button or while you are pressing the button? When does random shooting exactly happens? After first med pack drops or before?

  • Like 1
Posted

I have almost same script, but I dont have random shooting. Maybe give me a demo of your random shooting for me to understand better? Was it as soon as you release the button or while you are pressing the button? When does random shooting exactly happens? After first med pack drops or before?Wa

Excellent I'll make a short demo when I get the time.

 

The random shooting happens usually after I reload and I quickly press/hold down mouse2 and while the reload animation finishes, my gun starts firing instead of the medpacks being thrown while i'm holding mouse2 for my medick after pressing reload. The firing is from myself pressing mouse2 bind. 

 

I can adjust to this small problem, I just have to slow down and beware of the buttons I'm pressing and use patience to press them. 

 

As for the demos 

Posted

If you have a gaming mouse just bind 5 and 6 to two of the buttons on it. Thats what I do.

  • Like 1
Posted

Here's the demo. It is a minor problem, but my habitual reloading and quickly switching back to med pack interferes with one another. I will have to adjust because I think there is no fix tbh. 

 

I just loved the idea of throwing med-packs and quickly switching back to my main gun, without binding it saving me space for more binds.

 

My gaming mouse is G402, and there is no drivers to use for it by logitech as of yet on MAC OSX. My steer mouse driver for mac is alright but the binding ability for anything above mouse5 doesn't work.

 

https://www.mediafire.com/?jp7ai1cnw4q7ks3

  • 1 month later...
Posted

Maybe put a waiting before the script.  At times when you reload it can be like 2 seconds after the reload is finished before the reload command is actually finished. 

  • Like 2
Posted

Hey don't worry thanks I scrapped this script all together because I finally got logitech software support working on my Hyperion Fury mouse. They didn't have support for the mouse on MAC OSX when I was using this script.

 

Thanks though, now I have a new problem lol with the new software and my keyboard FML.

  • 4 weeks later...
Posted

The wait command is based on your frame rate, Higher FPS means longer wait commands for the same durration.  If you make the wait command too short it'll skip various commands until the time for said action is done (tossing health for example) so if you have a +attack command and the -attack get's skipped over (because the wait was too short) you end up with a continuous firing situation.  

 

I discovered this early in the RtCW days when I had a script that would start then would go through all bullets (pistol then gun, then stuck holding a ticking grenade that you could not toss (-attack)

 

In fact from the early demo days of RtCW I have (on one of my very old towers) a full Beach map script that will go up and plant dyno, tag flag, grab obj and run to finish.  It works fine as long as no one shoves or nudges you off the scripted path.  Seeing that it runs for several minutes you can't do anything else till it finishes either.  But it was fun to code.  I made a chicken dance script for wild west (same game different mod) just for fun as well.  

Posted

if you are going to use keys that close to 5 and 6 (revive needle and heal) why get rid of your lean left/right?  (default Q/E)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.