Jump to content

Recommended Posts

Heyho my friends,

 

ive started recently scripting arma again and got some nice ideas, here is my newest one, an ambient Mosque Prayer addon.

 

How it works:
it will scan the map for Land_A_Mosque_big_minaret_2_EP1 and Land_A_Minaret_EP1 buildings and add a "loudspeaker" to it.

On every sunrise and sundown it will play am ambient sound, working even if u do "timeskip" or "setdate".

 

Dev build:

Spoiler

All dev builds are on friends only status, simply add me to your friendlist to get access.

 

Profile

Download

 

Info:

The addon will auto init on each map, it will search for 2 pre defined classes( see above ), it works best on Takistan or Zagrabad.

To know when they start praying, u can check the arma rpt or do date call BIS_fnc_sunriseSunsetTime; the array will tell u when.

 

 

If u want to add other house classes add the following into the init.sqf:

Extend the array with classes u like.


fox_mosque_prayer_customBuildings = [];

 

Enable markers for testing(init.sqf):


missionNamespace setVariable ["fox_mosque_prayer_dev",true];

 

Play some random sound, no cooldown, wait at least 5min before u call it again !


[]call fox_mosque_prayer_fnc_letsPray;

 

The everday loop is in the dev build disabled cause of performance problems, it need some rework.

 

 

Todo:

  • Ares/Archilles support 817721_check_512x512.png
  • Array for custom buildings 817721_check_512x512.png
  • More ambient sounds, 8 currently 817721_check_512x512.png
  • more testing, specialy MP
  • code cleanup

 

WIP videos:

 

 

 

Takistan:

Spoiler

Op46xWA.jpg

Zagrabad:

Spoiler

6LMacXu.jpg

Takistan Mountains:

Spoiler

msk3zAk.jpg

 

  • Like 9

Share this post


Link to post
Share on other sites

Nice addition  Shiragami !

 

Will this be available in future also as a script ?

Thanks !

Share this post


Link to post
Share on other sites

If I we're to implement prayer sounds in a movie I'd make I'd had to do it all in post production.  This will help loads.  Can't wait to see more. 

Share this post


Link to post
Share on other sites

@GEORGE FLOROS GR currently working only on the addon version.

 

The addon will work with any map btw.

Ares/Archilles support, module will have 300s CD to prevent too many prayers at the same time.

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Test build should be available soon, in the meantime enjoy some praying...

 

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, Shiragami said:

Added dev build

 

Thanks Shiragami for this !

Share this post


Link to post
Share on other sites

Tested... And made this..

 

 

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Fixed a bug which prevented sharing the loudspeakers to clients in MP.

  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×