Author: Mandoble
Author Website: http://www.ofpec.com

Requirements: No addons required

Version: 1.3

Short description:

Date: 2008-06-02 06:16


Comments: (0)
Rating:



 





3-mando_fountain.jpg

Mando Fountain
by
Mandoble


Description:
Script to add "fountains" or waterfalls attached to any object.


Usage:
mandofountain.sqf v1.3
by Mandoble
Generates water from fountains
Arguments:
    fountain object
    [x,y,z] relative to fountain position to adjust pipe placement
    Initial angle from where the water will spread relative to water fountain object
    Arc from initial angle from where the water may be spread left and right
    Initial horizontal speed of water drops in m/s
    Initial vertical speed of water drops in m/s
    Number of simultaneous drops
    Number identitying this fountain
    sizes array or just [] if you want to use the default one
    colors array or just [] if you want to use the default one
    Life-time of the particles (> 1 and <= 4)
The ID number is used to create four internal variables for the fountain (## is the id):
    mando_fountain_arcini_##
    mando_fountain_deg_##
    mando_fountain_spd_##
    mando_fountain_spv_##
You may modify the values of these variables from outside the script to change dinamically the water effect.
Use setVariable command to modify these internal vars.
Example:
[fountain1,[0,0,3.2],0,360,0.5,16,1,[],[],3]execVM"mandofountain.sqf";


Media:
See it in action:




Forum topic:
- OFPEC.com




Enable javascript to be able to download from Armaholic please!



Tags: No tags