Hi all,
I am making a sniper mission and would like to make my gun zoomed all the time and restrict player to zoomout. I tried and got this:
;Artificial Intelligence Script
;Header
desc = Weapon Pickup
;Triggers
:state=0:showplrweapon,enterzoom,hudreset,hudx=50,hudy=90,hudsize=18,hudtext=Picked up an MSG90 sniper rifle,hudname=msg90prompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:state=1,playertake,coloff,rundecal=-1,plrsound=audiobank\items\pickupweapon.wav,hudshow=msg90prompt,hudfadeout=msg90prompt
:state=2:state=3,playerdrop,colon,plrsound=audiobank\items\pickup.wav
:state=3,plrdistfurther=65:state=10
;End of Script
Its a MSG90 weapon script. I also tried using triggers and gunspec.txt but none of them did the job.
Here is the trigger zone script (its contains some other stuff also)
;Artificial Intelligence Script
; Written by Shivam
desc = Global Script of Level 2
:state=0,plrwithinzone=1:musicoverride=audiobank\atmos\clockhum.wav,sky=skybank\DTISkies\taj,ambience=10,enterzoom,state=1
:state=0,zoomed=0:enterzoom,state=2
:state=2:state=0
;End of Script
Can someone please try to help me? none of them work.
EDIT: Another question - Is it possible to restrict player's sniper gun's angle, so that plr can only see the parts i want him to and not look back and stuff, is there a command like restrict camera angle to 120 degree to so? if not is there a way to do so?
Your signature has been erased by a mod. please make it no larger than 9999999 x 9999999