Forum Jump :

Author Message


Posts: 13
Rank:


Level: Member

Country: au
Location: Sydney
Occupation:
Age:
In-game name: Millenwise

 
#1 Posted at 2018-12-04 07:23        
     

Download:
MIL_Mirror - Dropbox/Armaholic

Description:
MIL_Mirror allows a mission maker to add a mirror-type effect to an object capable of using setObjectTexture.

To use:
    - PIP MUST BE ENABLED for the mirror to work (Options >> Video >> General >> PIP).
    - Copy the folder MIL_Mirror into your mission directory.
    - Place your intended mirror object (e.g. a whiteboard - "Land_MapBoard_01_Wall_F" - they work best) and name it.
    - Add this line to your mission's init.sqf file:
    nul = [_mirrors] execVM "MIL_Mirror\initialise.sqf";
    
    - _mirrors - array
               - names of all the mirrors
    
    - Example:
    nul = [mirror_1,mirror_2] execVM "MIL_Mirror\initialise.sqf";
    

Media:
Day/Night demo of some mirrors (0.50):


Glass House Update (2.05):

**Disclaimer - Duke Nukem is talking about himself here, definitely not me :-D

Known issues:
    - The reflection doesn't behave quite like a mirrored reflection because it's a camera, but it's the best I could achieve.
    - Resolution isn't outstanding, but it's ok.
    - Torch beams (and probably most other light sources) aren't reflected, which is pretty obvious in the video.



If anyone finds any problems please let me know.

Thank you.

Change log:

This post was edited by beno_83au (2019-03-27 23:28, 81 days ago)


Author Message


Posts: 20591
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 43
In-game name: Foxhound

 
#2 Posted at 2018-12-04 10:31        
     
Thanks for the new release :-)
News is up and you can find our mirror here:


Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 13
Rank:


Level: Member

Country: au
Location: Sydney
Occupation:
Age:
In-game name: Millenwise

 
#3 Posted at 2019-03-27 13:24        
     
Updated.

v1.1 - Glass House Update:
    Added - Breaking glass.
      - 1-3 shots at random.
      - Breaks from explosions.
      - Glass shatter effect.
      - Glass breaking noises.
    Added - 50m distance check to mirrors being "active".
    Changed - How mission creators implement the function.
      - Objects no longer need to have setObjectTexture run on them from the editor!!!
      - Instructions have changed due to this, but are now MUCH simpler.
    Changed - Increased mirror resolution.
    Fixed - Working MP implementation.

Glass House Update (2.05):

**Disclaimer - Duke Nukem is talking about himself here, definitely not me :-D

Link/s on the OP have been updated.
Props in the video, other than the mirrors, were done using @phronk's furniture script (it's unoptimised, but this is SP using one building).


Author Message


Posts: 20591
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 43
In-game name: Foxhound

 
#4 Posted at 2019-03-27 19:50        
     
Thanks for the updated release :-)
News is up and you can find our mirror here:


Visit my family webshop desteigerhoutshop.nl.