home
files
forum
docs
wiki
faq
Cube & Cube 2 FORUM
Trying to script a three-level zoom
by Muki on 08/17/2007 05:41, 30 messages, last message: 08/21/2007 06:02, 12200 views, last view: 05/05/2024 17:29
Im trying to script a zoom feature to my MOUSE 3, which clicks through three levels of zoom. Standard/Zoom 1: fov 120; hudgun 1; crosshairsize 25; sensitivity 3 Zoom 2: hudgun 0; fov 60; crosshairsize 20; sensitivity 2; Zoom 3: hudgun 0; fov 10; crosshairsize 20; sensitivity 1; I also want to add a sound each time the button is clicked... Sorry Im such a noob at this, but hey, the more I learn the better my stuff will get, and maybe Ill start taking scripting up as a hobby ;)
Board Index
#30: ..
by Acord on 08/21/2007 06:02
That's due to the shorten function, which cuts off a gun's distance at 1024 units. It's not hard to get into the code and change it.
reply to this message
Unvalidated accounts can only reply to the 'Permanent Threads' section!
create account
recover account
content by Aardappel & eihrul © 2001-2024 website by SleepwalkR © 2001-2024 53868426 visitors requested 71643597 pages page created in 0.030 seconds using 10 queries hosted by Boost Digital