Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Crosshair away with run

Author
Message
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 4th Mar 2010 14:24 Edited at: 4th Mar 2010 18:14
How can i delete the crosshair when player run?
TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 4th Mar 2010 20:30
What mod are you using?
I know this is possible in Project Blue.
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 5th Mar 2010 12:50
I have PB 1.7 and Fenix Mod 1.1
Mugen
19
Years of Service
User Offline
Joined: 27th Aug 2005
Location:
Posted: 5th Mar 2010 21:01
Hmmm, just a theory here. But what if in the setuplevel.fpi you make a line that detects the keycode for when you run, lets say it is shift, and have it so when that button is pressed it does the :hidecrosshair command

Try this out, not sure if it will work, but place it in your setuplevel.fpi



it should work, basically it states when shift is pressed the hidecrosshair command is true so it should do it.
Thats of course assuming you have airmod, or PB, or Fenix mod.

If you have no mods, it won't work, but since you said you have Fenix it should.

Mugen is the name pal, Ya got that?
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 6th Mar 2010 09:00
@Mugen

This work only when I press shift but when I press shidt + W,A,S or D crosshair back
TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 6th Mar 2010 12:22
Well, if you use Project Blue you could use this:


This is so that the crosshair will come back if you stop running.
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 6th Mar 2010 14:16
@TerrorNation


Quote: "

:plrusingrun=1:hidecrosshair
:plrusingrun=0:showcrosshair

"


Where I must past it? to setuplevel.fpi ???
Mugen
19
Years of Service
User Offline
Joined: 27th Aug 2005
Location:
Posted: 6th Mar 2010 23:42
yeah try to put it into setuplevel.fpi

Mugen is the name pal, Ya got that?
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 7th Mar 2010 09:29
This is my setuplevel.fpi

If plr run delete the crosshair becouse if I zoom crosshair is shown

When I delete the :plrusingrun=1:hidecrosshair
:plrusingrun=0:showcrosshair if I zoom crosshair delete becouse If I run crosshair is shown

Sorry for my embroiled English.
TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 7th Mar 2010 10:46 Edited at: 7th Mar 2010 10:46
I would make 2 scripts for running and zooming and put them in 2 trigger zones:

Running


Zooming


The reason I have used states is that without them, lets say you wanted to zoom and stay still, there would be a problem because they'd be conflicting as both lines of code would return TRUE. But if you change the state for hiding the crosshair, VISUALLY the crosshair will disappear, but if you have a piece of code that makes it REAPPEAR somewhere else, it will not conflict because the code that makes it disappear is now FALSE which means it doesn't try to rehide the crosshair when you want it to appear.

I hope that made sense
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 8th Mar 2010 02:42
Why not use these two lines?



With that, it will always hide the crosshair UNLESS the player is not zooming AND not running.
Those lines can also be placed inside of your setuplevel.fpi script and should work just fine.


The one and only,


WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 8th Mar 2010 08:13
@Plystire

Thanks
WhiteWolf PL
14
Years of Service
User Offline
Joined: 20th Jan 2010
Location: Poland
Posted: 8th Mar 2010 13:56
whether there is a possibility of something like this in x10????
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 10th Mar 2010 22:27
Nope, crosshair control is not in X10.


The one and only,


TerrorNation
14
Years of Service
User Offline
Joined: 18th Dec 2009
Location:
Posted: 10th Mar 2010 23:06
@Pystire
You showed me how it's done

Login to post a reply

Server time is: 2024-11-25 01:28:41
Your offset time is: 2024-11-25 01:28:41