Jump to content

EO

Member
  • Content Count

    3351
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by EO


  1. If the FOG code is too much then you can also try just browsing through CfgCloudlets in the config browser in-game. If you see one you like you can test it out with something like this:

    This will spawn a red ball near the player and attach the particle effect to it. You can try various BIS particle effects, there's probably one close to what you're after.

    Awesome input tpw! I will give this a go. Thanks.


  2. That's strange:confused:

    I know I posted in this thread with a couple of links provided where you could find A2 an OA mods that have already been made for smoking.

    The purpose of me doing that was so you could download them, crack them open and give them a good looking over.

    Not sure why someone would delete my post?:butbut:

    Thanks Kommiekat, I'll do some digging myself regarding those A2/OA mods. Cheers.


  3. Trial and error? What have you tried so far? Just because you aren't currently familiar with scripting doesn't mean you can't learn. :) Rip the code open, see how he did the mouth stuff, figure out where it's positioned and move that position.

    Took your advice and opened up the code....I can see it....I can sort of understand the logic....but, no, outwith my grasp i'm afraid! C'est la vie.

    // BREATH FUNCTION

    tpw_fog_fnc_breathe =

    {

    private ["_unit","_int","_nextTime", "_source","_myParticleSource","_mylogic", "_fog","_nextbreath","_time","_factor"];

    {

    _unit = _x;

    // Only bother if unit is alive, close to player and foggy conditions are met

    if ((alive _unit) && {tpw_fog_flag} && {_unit distance player < tpw_fog_radius} && {_unit == vehicle _unit}) then

    {

    _nextTime = _unit getVariable ["myNextBreathTime", -1];

    if(_nextTime == -1) then

    {

    _unit setVariable ["myNextBreathTime", diag_tickTime + (random 3)];

    _source = "logic" createVehicleLocal (getpos _unit);

    _unit setVariable ["myBreathingParticleLogic", _source];

    if(_unit == player) then

    {

    _source attachto [_unit,[0,0.1,.04], "neck"];

    }

    else

    {

    _source attachto [_unit,[0,0.05,-0.08], "pilot"];

    };

    _unit setVariable ["myBreathingParticleSource", nil];

    };

    _myParticleSource = _unit getVariable ["myBreathingParticleSource", nil];

    if(diag_tickTime >= _nextTime) then

    {

    if (isNil "_myParticleSource") then

    {

    _unit setVariable ["myNextBreathTime", diag_tickTime + 0.5];

    _mylogic = _unit getVariable "myBreathingParticleLogic";

    _fog = "#particlesource" createVehicleLocal (getpos _mylogic);

    _fog setParticleParams [

    ["\a3\Data_f\ParticleEffects\Universal\Universal", 16, 12, 13,0],

    "",

    "Billboard",

    0.5,

    0.5,

    [0,0,0],

    [0,0.0,-0.3],

    1,1.275,1,0.2,

    [0,0.2,0],

    [[1,1,1,0.02], [1,1,1,0.01], [1,1,1,0]],

    [1000],

    1,

    0.04,

    "",

    "",

    _mylogic

    ];

    _fog setParticleRandom [0.5, [0, 0, 0], [0.25, 0.25, 0.25], 0, 0.5, [0, 0, 0, 0.1], 0, 0, 10];

    _fog setDropInterval 0.01;

    _unit setVariable ["myBreathingParticleSource", _fog];

    }

    else

    {

    // Next breath, shorter time for more fatigue

    _time = 2 + (random 1);

    _factor = _time - ((getfatigue _unit) * _time); // shorter breath when fatigued

    _nextbreath = diag_ticktime + 0.5 + _factor;

    _unit setVariable ["myNextBreathTime", _nextbreath];

    deletevehicle (_unit getVariable "myBreathingParticleSource");

    _unit setVariable ["myBreathingParticleSource", nil];

    };

    };

    }

    else

    {

    _unit setVariable ["myNextBreathTime", -1];

    deletevehicle (_unit getVariable "myBreathingParticleLogic");

    deletevehicle (_unit getVariable "myBreathingParticleSource");

    };

    } forEach allUnits;

    };


  4. Trial and error? What have you tried so far? Just because you aren't currently familiar with scripting doesn't mean you can't learn. :) Rip the code open, see how he did the mouth stuff, figure out where it's positioned and move that position.

    I'll certainly give it a go, but i fear i may come running back here with my tail between my legs:computer:


  5. Have a look at TPW MODS. There's a breath fog routine that could easily be adapted to simulate smoke.

    Hi tpw, your mod already gets great use on just about every mission i make so thanks for that, and your right the fog breath on a larger scale would be awesome for what i need.

    Trouble is i'm a user, not a creator of scripting!

    Is there anything you could suggest to create that fog breath effect to emit from a person, rather than just the mouth.

    Regards.


  6. Here is Dsylecxi's profile.....Enjoy!

    <?xml version="1.0" encoding="UTF-16"?>

    <Profile>

    <Name>Dslyecxi</Name>

    <Description>Dslyecxi</Description>

    <ExclusiveLoad>0</ExclusiveLoad>

    <TrueViewEnabled>0</TrueViewEnabled>

    <Curve>

    <Axis>0</Axis>

    <Enabled>1</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-49.7041</Val>

    <Val>6</Val>

    <Val>-30</Val>

    <Val>6</Val>

    <Val>-15</Val>

    <Val>6</Val>

    <Val>-7.39645</Val>

    <Val>4.10256</Val>

    <Val>-1</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>1</Val>

    <Val>0</Val>

    <Val>7.39645</Val>

    <Val>4.10256</Val>

    <Val>15</Val>

    <Val>6</Val>

    <Val>30</Val>

    <Val>6</Val>

    <Val>49.7041</Val>

    <Val>6</Val>

    </Inputs>

    </Curve>

    <Curve>

    <Axis>1</Axis>

    <Enabled>1</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-49</Val>

    <Val>6</Val>

    <Val>-30</Val>

    <Val>6</Val>

    <Val>-22.4852</Val>

    <Val>6</Val>

    <Val>-6.50888</Val>

    <Val>3.58974</Val>

    <Val>-2.5</Val>

    <Val>0.5</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>2.5</Val>

    <Val>0.5</Val>

    <Val>6.50888</Val>

    <Val>3.58974</Val>

    <Val>22.4852</Val>

    <Val>6</Val>

    <Val>30</Val>

    <Val>6</Val>

    <Val>49</Val>

    <Val>6</Val>

    </Inputs>

    </Curve>

    <Curve>

    <Axis>2</Axis>

    <Enabled>0</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-48.9105</Val>

    <Val>2</Val>

    <Val>-40</Val>

    <Val>2</Val>

    <Val>-30</Val>

    <Val>2</Val>

    <Val>-13.3136</Val>

    <Val>2</Val>

    <Val>-6.21302</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>6.21302</Val>

    <Val>0</Val>

    <Val>13.3136</Val>

    <Val>2</Val>

    <Val>30</Val>

    <Val>2</Val>

    <Val>40</Val>

    <Val>2</Val>

    <Val>48.9105</Val>

    <Val>2</Val>

    </Inputs>

    </Curve>

    <Curve>

    <Axis>3</Axis>

    <Enabled>1</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-48.9105</Val>

    <Val>2</Val>

    <Val>-40</Val>

    <Val>2</Val>

    <Val>-30</Val>

    <Val>2</Val>

    <Val>-20</Val>

    <Val>2</Val>

    <Val>-3</Val>

    <Val>2</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>3</Val>

    <Val>2</Val>

    <Val>20</Val>

    <Val>2</Val>

    <Val>30</Val>

    <Val>2</Val>

    <Val>40</Val>

    <Val>2</Val>

    <Val>48.9105</Val>

    <Val>2</Val>

    </Inputs>

    </Curve>

    <Curve>

    <Axis>4</Axis>

    <Enabled>0</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-49.7041</Val>

    <Val>4</Val>

    <Val>-40</Val>

    <Val>4</Val>

    <Val>-30</Val>

    <Val>4</Val>

    <Val>-19.5266</Val>

    <Val>4</Val>

    <Val>-2.5</Val>

    <Val>4</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>2.5</Val>

    <Val>4</Val>

    <Val>19.5266</Val>

    <Val>4</Val>

    <Val>30</Val>

    <Val>4</Val>

    <Val>40</Val>

    <Val>4</Val>

    <Val>49.7041</Val>

    <Val>4</Val>

    </Inputs>

    </Curve>

    <Curve>

    <Axis>5</Axis>

    <Enabled>0</Enabled>

    <Inverted>0</Inverted>

    <Mirrored>1</Mirrored>

    <Limited>0</Limited>

    <Limit>180</Limit>

    <Type>0</Type>

    <Inputs>

    <Val>-49.4083</Val>

    <Val>2</Val>

    <Val>-40</Val>

    <Val>2</Val>

    <Val>-30</Val>

    <Val>2</Val>

    <Val>-20</Val>

    <Val>2</Val>

    <Val>-3</Val>

    <Val>2</Val>

    <Val>0</Val>

    <Val>0</Val>

    <Val>2</Val>

    <Val>2</Val>

    <Val>24</Val>

    <Val>2</Val>

    <Val>28.1065</Val>

    <Val>0</Val>

    <Val>40</Val>

    <Val>0</Val>

    <Val>48.8</Val>

    <Val>0</Val>

    </Inputs>

    </Curve>

    <Hotkey>

    <Name>Center</Name>

    <ActionID>1</ActionID>

    <Key>101</Key>

    <Enable>1</Enable>

    <Toggle>1</Toggle>

    <Trap>0</Trap>

    <IsDevice>0</IsDevice>

    <DeviceGuid>{00000000-0000-0000-0000-000000000000}</DeviceGuid>

    <ButtonID>0</ButtonID>

    </Hotkey>

    <Hotkey>

    <Name>Pause</Name>

    <ActionID>2</ActionID>

    <Key>120</Key>

    <Enable>1</Enable>

    <Toggle>1</Toggle>

    <Trap>1</Trap>

    <IsDevice>0</IsDevice>

    <DeviceGuid>{00000000-0000-0000-0000-000000000000}</DeviceGuid>

    <ButtonID>0</ButtonID>

    </Hotkey>

    <Hotkey>

    <Name>Precision</Name>

    <ActionID>3</ActionID>

    <Key>118</Key>

    <Enable>1</Enable>

    <Toggle>1</Toggle>

    <Trap>1</Trap>

    <IsDevice>0</IsDevice>

    <DeviceGuid>{00000000-0000-0000-0000-000000000000}</DeviceGuid>

    <ButtonID>0</ButtonID>

    </Hotkey>

    <Hotkey>

    <Name>Profile</Name>

    <ActionID>4</ActionID>

    <Key>119</Key>

    <Enable>0</Enable>

    <Toggle>1</Toggle>

    <Trap>1</Trap>

    <IsDevice>0</IsDevice>

    <DeviceGuid>{00000000-0000-0000-0000-000000000000}</DeviceGuid>

    <ButtonID>0</ButtonID>

    </Hotkey>

    </Profile>


  7. Hi folks, just a quick one, has there been or is anyone thinking of making a Gurkha units mod/addon?

    Seems as though they are the forgotten faction in the Arma series who have a rich military/combat history.

    From a personal viewpoint, I think they would be very popular with the Arma community. Any thoughts?


  8. Hi folks, just a quick one, has there been or is anyone thinking of making a Gurkha units mod/addon?

    Seems as though they are the forgotten faction in the Arma series who have a rich military/combat history.

    From a personal viewpoint, I think they would be very popular with the Arma community. Any thoughts?

×