Jump to content
Sign in to follow this  
mrbean1112

Alright i need some stuff

Recommended Posts

Okay.. I need to know the following (ALL OF THESE NEED TO BE IN MULTIPLAYER COMPATIBILITY please)

1. How do you make a specific player emulate blacking out.. like with the whole titlecut thing? and how can you make them be facing another direction when they awake.

Actually.. thats about it. I am making a survival zombie mission. Does anyone else have any ideas on things to do if the person is too Tired (Controlled by a sleep variable) or hungry? (Controlled by a hunger variable)

like is there any way to get bad accuracy without giving damage?

may look kinda weird if you don't eat.. and you get blood all over you biggrin_o.gif

thanks for the help if anyone helps.

*edit

just thought of something else, here is the way my scripts are set up.

#Start

?(player == w1 && w1sleep = 50): [w1] exec "kindatired.sqs" ; goto "Start"

?(player == w1 && w1sleep = 100): [w1] exec "reallytired.sqs" ; goto "Start"

?(player == w1 && w1sleep = 200): [w1] exec "takingdamagetired.sqs" ; goto "start"

goto "start"

Then im just going to have like.. for kinda tired have a light blackout mode.. then they start blacking out more and more.. then taking damage will be really bad for them. will this work in multiplayer?

Share this post


Link to post
Share on other sites

try to be a little less demanding with your thread title wink_o.gif

>>1. How do you make a specific player emulate blacking out.. like with the whole titlecut thing? and how can you make them be facing another direction when they awake.

Try using cutText to black the screen out (check the effects locality first), setDir for changing direction.

>>like is there any way to get bad accuracy without giving damage?

Setting damage into the negative numbers works in a different way in ArmA. The gun does not wobble as it did in OFP, but the unit's health increases, especially against explosive damage! Can't really think of anything to help you atm, maybe a looping subtle setVector(Up)?

>>#Start

?(player == w1 && w1sleep = 50): [w1] exec "kindatired.sqs" ; goto "Start"

?(player == w1 && w1sleep = 100): [w1] exec "reallytired.sqs" ; goto "Start"

?(player == w1 && w1sleep = 200): [w1] exec "takingdamagetired.sqs" ; goto "start"

goto "start"

put some sleep time (~) in this loop, it is very low priority effect and will otherwise slow the game down checking those conditions every single frame! Your script as above will not work either. use w1sleep >= <number>, {} brackets around the then block and invert the check order.

Share this post


Link to post
Share on other sites

Hmm alright ... yeah i realize my thread title may sound a bit..... Rude.

heheh

but uhhhh yeah for my sleep thing i am just going to have a loop that exec's the loop every 20 seconds or so.

So how exactly do i set the black out to affect only one person? i knew how to do this in OFP.. but i have forgotten.. and am wondering if it is different in Armed assault. I have a weird bug in my Armed assault, no matter what you change the black in time to, it always goes like in a second.

>.<

Share this post


Link to post
Share on other sites
So how exactly do i set the black out to affect only one person?

You check if the tired unit is "player".

if (theTiredOne == player) then {titlecut [" ","BLACK OUT",5];};

Share this post


Link to post
Share on other sites

try using a thread title that will enable people to find this in the future, just incase someone else is ever in the same position as you and needs the info

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×