Arma 3
102 평점
Flickering Lights
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Data Type: Composition
Meta: Dependency
파일 크기
게시일
업데이트일
105.346 KB
2021년 8월 24일 오전 10시 56분
2021년 8월 26일 오후 3시 41분
변경 사항 3개 ( 보기 )

다운로드 위해 구독하기
Flickering Lights

설명
Description
A composition that contains all the lamps in the game modified so that they constantly flicker. All the lamps flicker differently - i.e. they have random flickering patterns.
If you'd like to edit the flickering of a lamp, right-click on it and press on Attributes. Afterwards, in the Init field, change the number (where X is) in the sleep (random X); command. The sleep command below the _this switchLight "OFF"; is for how long the lamp should be off and the sleep command below the _this switchLight "ON"; is for how long the lamp should be on.
If you don't want the lamps to flicker randomly, replace the (random X) after the sleep command with a number (the amount of seconds you want the lamp to be on or off).

Also, huge shout out to Hypoxic for helping me out with some of the scripting for the lamps and helping me optimize the code so that it's multi-player compatible.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★

If you enjoyed this composition, please don't hesitate to rate it up and add it to your favorites.



I'd also love to hear what you think about it down in the comments.
Thanks for subscribing! :)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★

[www.buymeacoffee.com]
인기 토론 모두 보기(1)
6
2021년 10월 23일 오후 6시 04분
고정됨: Bug Reports & Suggestions
STARMAN
댓글 26
M. Cross 2023년 10월 22일 오전 6시 01분 
It works and It's MP compatible. Big thumbs up from me
Blackbird Ater 2023년 9월 19일 오전 9시 35분 
No problem. Thanks for getting back to me :)
STARMAN  [작성자] 2023년 9월 6일 오전 11시 33분 
@Blackbird Ater - I'm glad you're enjoying the composition. :)

As for the questions:
1. I really have no idea. I was a beginner in Arma 3 scripting when I made this, so I had no idea back then. I also have no idea right now, because I gave up on Arma 3 scripting shortly after making this composition.
2. Yes. I think... I again have no idea. :D

The composition was made two years ago and I barely remember how Arma 3 scripting works right now and as I mentioned, I have also given up on it, so yeah... I'm afraid I can't really help you with the questions. However, I do suggest joining (if you haven't already) the official Arma 3 Discord server and I am more than 100% sure that someone there will have the answers to your questions. There's a dedicated scripting channel and what not.
Blackbird Ater 2023년 9월 6일 오전 9시 41분 
Thank you for posting this composition! It is awesome!! Really pumped to use it this week in our op!

Would you mind clarifying two things for me? I am a bit of a newbie with scripting so I apologize if I am not making sense.

First, why do you run this in the init, instead of calling an SQF via an execVM? I could be mistaken, but I thought when it comes to scripts, especially loops, it is better to use an execVM. Again, I barely know what I am talking about so I could way off.

Secondly, in the code you have:

l# = this (e.g. the Airport Lamp is l1 = this, the next one is l2 = this

Is l# just giving the lamp a variable name? Thanks again :)
STARMAN  [작성자] 2023년 4월 11일 오후 6시 55분 
@flycatNZ - It's not a scenario, it's a composition.
flycatNZ 2023년 4월 11일 오후 2시 02분 
Can't seem to find the scenario to play in single-player. And its not there in my profile under save/steam ¯\_(ツ)_/¯
Colgate Toothpaste 2022년 5월 21일 오후 7시 00분 
hey i'm not seeing this comp in the menu man
JusTaGamer 2022년 5월 8일 오전 8시 29분 
i have loaded your Comp, but there is nothig flickering in my Singleplayer and there is standing nothing in the init field of Lamps. What i must do ?
NFC3SPECTRO 1911 TTV 2021년 10월 30일 오후 4시 00분 
do you hava a script for giroflex light?
BridgeBurn100 2021년 10월 17일 오후 5시 21분 
So I am having a problem with the flickering when its put on a server. I added the lights in on a template and have tried different numbers which work when testing in the editor. When I put the template up on my units server I only see the briefest flash from the lights. Any idea on why it would be so different from the editor to the server?