ArmAtec/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==New section==
==About Me==
===Subsection===
Im me ill fill this in more later
====Sub-subsection====
===Scripts===


Create Discoball effect
Create Discoball effect
Line 14: Line 14:
~0.01
~0.01
goto"redo"
goto"redo"
</code>
</code>
[[User:ArmAtec|ArmAtec]]
[[User:ArmAtec|ArmAtec]]



Revision as of 01:02, 24 January 2007

About Me

Im me ill fill this in more later

Scripts

Create Discoball effect _Uposaa = discoheli _light = "#lightpoint" createVehicleLocal getpos _Uposaa; _light lightAttachObject [_Uposaa, [0,0,0]]

  1. redo

_light setLightBrightness random 1.0; _light setLightAmbient[random 1.0, random 1.0, random 1.0]; _light setLightColor[random 1.0, random 1.0, random 1.0]; ~0.01 goto"redo"


ArmAtec


Create Smoke effects (Drop commands) _craft =_this select 0; _VelAng = compile LoadFile "functions\VelAng.sqf"

\ca\data\ParticleEffects\BLOOD\BLOOD
\ca\data\ParticleEffects\CLOUDLETSAND\CLOUDLETSAND
\ca\data\ParticleEffects\CLOUDLETWATER\CLOUDLETWATER
\ca\data\ParticleEffects\FireAndSmokeAnim\SmokeAnim
\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim
\ca\data\ParticleEffects\PSTONE\PSTONE
\ca\data\ParticleEffects\RocketSmoke\RocketSmoke
\ca\data\ParticleEffects\SPARKSEFFECT\SPARKSEFFECT
\ca\data\ParticleEffects\WATEREFFECTS\WATEREFFECTS
  1. top

_dir = getDir _craft _pos2 = getPosasl _craft _pitch = [_craft] call _VelAng _yoff = -3 + cos _pitch _zoff = -3 + sin _pitch _ang = 30 _v = 2 _hvel = _v * Cos _ang _xvel = 0 _yvel = _hvel _zvel = _hvel * Tan _ang _shape = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8]; _animationame = ""; _type = "billboard"; _timerperiod = .5; _lifetime = 1; _pos = [((_pos2 select 1)+(_yoff * sin _dir)) ,((_pos2 select 1)+(_yoff * cos _dir)), ((_pos2 select 2) + _zoff)] hint format ["%1",_pos] _movevel = [_xvel , _yvel, _zvel] _rotationvel = 1; _weight = 1; _volume = .5; _rubbing = 0; _size = [0.5,6,10]; _col_anim_ranp = [[0.2,0.17,0.124,0.4],[0.5,0.46,0.31,0.1],[1,1,1,0]]; _randirintensity = [0.2]; _ontimer = 1.2; _beforedestroy = 0.25; _uknown1 = "" _uknown2 = "" _uknown3 = ""

drop [_shape, _animationame, _type, _timerperiod, _lifetime, _pos,_movevel,_rotationvel,_weight,_volume,_rubbing,_size, _col_anim_ranp, _randirintensity, _ontimer, _beforedestroy, _uknown1, _uknown2, _uknown3]; ?(WIZ_TOMtest) :goto"exi" ~0.01 goto"top"

  1. exit

exit

ArmAtec