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 only while looking down sight

Author
Message
TheCoolGuy
14
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 12th Jul 2010 12:04
I am running on 117.002 (V117 Beta 2)

I know you can make the crosshair disappear when you look down the sight, but I want to make a fairly realistic holographic EOTech sight (on MP9 M203M402R), by making the crosshair appear when you look down the sight. I will add zoomgunlag to the gunspec to make it look more realistic aswell.

Any suggestions?

Thanks in advance.
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 12th Jul 2010 14:16
If you use Project Blue, the following gunscript will achieve this effect.

;Artificial Intelligence Script

;Header

desc = Enable Crosshair with Ironsights

;Triggers

:state=0:hidecrosshair,etimerstart,state=1
:state=1,mouseclick=1,reloading=0:fireweapon
:state=1,mouseclick=2,zoomed=0,etimergreater=500:etimerstart,showcrosshair,enterzoom
:state=1,mouseclick=2,zoomed=1,etimergreater=500:etimerstart,hidecrosshair,leavezoom

;End of Script


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
TheCoolGuy
14
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 12th Jul 2010 14:28
Thanks Marc, but I don't have project blue, sorry. Is it possible to do this without Project Blue?
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 12th Jul 2010 15:11
Nope...Project Blue is the only way to do this as it's the only mod which allows weapon scripts


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
TheCoolGuy
14
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 12th Jul 2010 15:25
Fair enough.

Thanks for the info Marc.
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 12th Jul 2010 20:20
Use Project Green

It's a downgraded version of PB , but it's free!
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 12th Jul 2010 20:41 Edited at: 12th Jul 2010 22:37
EDIT: My mistake, then there is no way for v1.17

I'd change the world, but I don't have the source code
Bigsnake
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: England
Posted: 12th Jul 2010 22:27
Quote: "I'm guessing you have Fenix mod, so just put this in a triggerzone"


Did you read what he said

Quote: "I am running on 117.002 (V117 Beta 2)"


Windows 7, Amd Athlon 7750 Black Editon (64 bit,3ghz + Dual Core), ATI Readon HD 4870 1gb Edition, 4gb Ram.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 14th Jul 2010 04:01
@Gencheff:

PG does not have weapon scripts either. PB is the only Mod that allows weapon scripts (unless I have completely spaced on it and forgot to take it out )


The one and only,


Login to post a reply

Server time is: 2024-11-24 21:55:59
Your offset time is: 2024-11-24 21:55:59