[tutorial]Sensitivity Shooting Script

View previous topic View next topic Go down

[tutorial]Sensitivity Shooting Script

Post by FreckleS on Thu Jan 03, 2008 12:10 am

hey people, this tutorial is about making a shooting script, eg. changing specific values from not shooting to shooting, of course you could use such commands for prone or run etc. but we will focus on shooting...blah has already assisted us with a m_pitch tutorial http://cheatersutopia.com/forum/showthread.php?p=133559#post133559

First Project-Sensitivity Shooting Script

1. Open a new blank notepad document.

2. Firstly we need the commands to toggle between, the sensitivity command being plain old
Code:
sensitivity
and the second part being
Code:
+attack/-attack
for a holding script now we need to mix so type
Code:
set shooton "+attack;sensitivity 2.12"
now thats the firing part done...now the non-firing(much the same)
Code:
set shootoff "-attack;sensitivity 5.5"
success, almost completed.
now the toggle
Code:
set shooton "+attack;sensitivity 2.12;set vstr shootoff"
Code:
set shootoff "-attack;sensitivity 5.5;set vstr shooton"
ok now one last command, to bind a key to toggle the toggle

Code:
bind mouse1 "+vstr shooton shootoff"
and add some credits and you get-
Code:
//Sensitivity Shooting Script
//By FreckleS

set shooton "+attack;sensitivity 2.12;set vstr shootoff"
set shootoff "-attack;sensitivity 5.5;set vstr shooton"
bind mouse1 "+vstr shooton shootoff"
ok thats one finished, its bed time but ill add some more laters...out

FreckleS
Config Coder
Config Coder

Male
Number of posts : 13
Age : 23
Location : Underwater
MonsterPoint : 0
Respected?! : 0
Registration date : 2008-01-03

View user profile http://www.cfgworld.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum