Element/Effect: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{New items|4.0132|1.4| There should be description. }} == Effect lists == {|class="wikitable" style="text-align: center; font-size: 12px;" |- !width="150"|Name !width="300"|Des...")
 
m (Добавление языков)
 
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{New items|4.0132|1.4|
{{New items|3.0140|1.4|
There should be description.
The Effect class represents custom effect elements in the game world such as smoke, sparks, fire etc.
 
The element type of this class is '''"effect"'''.
}}
}}


== Effect lists ==
 
__TOC__
== Effects list ==
There are 82 effects.
<syntaxhighlight lang="lua">--A table containing all effect names.
local effectNames = {
"blood_heli","boat_prop","camflash","carwashspray","cement","cloudfast","coke_puff","coke_trail","cigarette_smoke",
"explosion_barrel","explosion_crate","explosion_door","exhale","explosion_fuel_car","explosion_large","explosion_medium",
"explosion_molotov","explosion_small","explosion_tiny","extinguisher","flame","fire","fire_med","fire_large","flamethrower",
"fire_bike","fire_car","gunflash","gunsmoke","insects","heli_dust","jetpack","jetthrust","nitro","molotov_flame",
"overheat_car","overheat_car_electric","prt_blood","prt_boatsplash","prt_bubble","prt_cardebris","prt_collisionsmoke",
"prt_glass","prt_gunshell","prt_sand","prt_sand2","prt_smokeII_3_expand","prt_smoke_huge","prt_spark","prt_spark_2",
"prt_splash","prt_wake","prt_watersplash","prt_wheeldirt","petrolcan","puke","riot_smoke","spraycan","smoke30lit","smoke30m",
"smoke50lit","shootlight","smoke_flare","tank_fire","teargas","teargasAD","tree_hit_fir","tree_hit_palm","vent","vent2",
"water_hydrant","water_ripples","water_speed","water_splash","water_splash_big","water_splsh_sml","water_swim","waterfall_end",
"water_fnt_tme","water_fountain","wallbust","WS_factorysmoke"
}</syntaxhighlight>
{|class="wikitable" style="text-align: center; font-size: 12px;"
{|class="wikitable" style="text-align: center; font-size: 12px;"
|-
|-
Line 9: Line 27:
!width="300"|Description
!width="300"|Description
<!--!width="160"|Image-->
<!--!width="160"|Image-->
<!--!width="50"|Rotatable-->
|-
|-
|prt_blood
|blood_heli
|spark? maybe meant to be a mini red blood splash
|bloody explosion
|-
|-
|prt_bubble
|boat_prop
|bubble!
|a surf
|-
|-
|prt_cardebris
|camflash
|car debris. like when you crash a car
|small flare
|-
|-
|prt_collisionsmoke
|carwashspray
|thick white smoke
|steam, as on a carwash
|-
|-
|prt_glass
|cement
|large shard of glass?!
|cement
|-
|-
|prt_gunshell
|cloudfast
|a gun shell
|fast clouds
 
|-
|-
|prt_sand
|coke_puff
|sand
|puff of a coke
|-
|-
|prt_sand2
|coke_trail
|more sand
|a pouring water
|-
|-
|prt_smokeII_3_expand
|cigarette_smoke
|weak smoke
|a smoke from a cigarette
|-
|-
|prt_smoke_huge
|explosion_barrel
|lot's of expanding smoke
|explosion and splinters of a box
|-
|-
|prt_spark
|explosion_crate
|sparks fly up and then fall down.
|explosion and splinters of the large box
|-
|-
|prt_spark_2
|explosion_door
|powerful sparks flying upwards
|a smoke with sparks  
|-
|prt_splash
|water splash
|-
|prt_wake
|movement in the water
|-
|prt_watersplash
|splash of water. like when a car lands in deep water
|-
|prt_wheeldirt
|puff of dust
|-
|boat_prop
|tiny water splash?
|-
|camflash
|flash of a camera
|-
|-
|exhale
|exhale
|exhaled smoke
|a small smoke  
|-
|-
|explosion_fuel_car
|explosion_fuel_car
|a seemingly randomized small explosion
|explosion, as from the machine
|-
|-
|explosion_large
|explosion_large
|huge explosion with debris
|the large explosion  
|-
|-
|explosion_medium
|explosion_medium
|big explosion with debris
|average explosion  
|-
|-
|explosion_molotov
|explosion_molotov
|molotov cocktail explosion
|explosion, as from a molotov cocktail  
|-
|-
|explosion_small
|explosion_small
|normal explosion
|small explosion  
|-
|-
|explosion_tiny
|explosion_tiny
|small explosion
|very small explosion  
|-
|-
|explosion_tiny
|extinguisher
|fire extinguisher foam
|foam of the fire extinguisher  
|-
|flame
|small fire
|-
|-
|fire
|fire
|fire
|fire  
|-
|-
|fire_bike
|fire_med
|fire from bike
|average fire  
|-
|-
|fire_car
|fire_large
|fire from the engine of a car
|large fire  
|-
|-
|fire_large
|flamethrower
|large fire
|fire of the flamethrower
|-
|-
|fire_med
|fire_bike
|medium sized fire
|fire, as from a burning motorcycle
|-
|-
|flamethrower
|fire_car
|flame being thrown
|fire, as from the burning machine
|-
|-
|gunflash
|gunflash
|flash at the end of a gun being fired
|as the bullet from a trunk takes off
|-
|-
|gunsmoke
|gunsmoke
|small smoke from a gun
|a smoke from a gun  
|-
|insects
|insects
|-
|-
|heli_dust
|heli_dust
|dust particles being blown around by a helicopters propellers
|a dust, as from the helicopter
|-
|-
|jetpack
|jetpack
|flame from a jetpack. colour changes between yellow and blue
|a jetpacks fire
|-
|-
|jetthrust
|jetthrust
|weak blue flame from muffler of car during the use of nitro
|fire from the muffler of the machine, as during use of nitrogen
|-
|nitro
|nitro  
|-
|-
|molotov_flame
|molotov_flame
|the fire from the rag of a molotov cocktail
|fire from a Molotov Cocktail
|-
|nitro
|nitro, varying colour/size etc
|-
|-
|overheat_car
|overheat_car
|smoke from the hood of a damaged car. varying grey colour
|smoke from damaged car  
|-
|-
|overheat_car_electric
|overheat_car_electric
|similar to the damaged car smoke. has yellow electric sparks
|wrecked electro-machine
|-
|prt_blood
|spark? maybe meant to be a mini red blood splash
|-
|-
|riot_smoke
|prt_boatsplash
|huge smoke that appears above buildings during the LS Riots
|foam
|-
|prt_bubble
|bubble
|-
|prt_cardebris
|splinters from a box
|-
|prt_collisionsmoke
|a dense white smoke  
|-
|prt_glass
|a crashing glass
|-
|-
|spraycan
|prt_gunshell
|green spray paint from the spray can
|shells
|-
|-
|tankfire
|prt_sand
|large blast followed by smoke. like at the end of a tanks turret during fire
|sand, which was scattered
|-
|-
|teargas
|prt_sand2
|small gas explosion from a gas grenade
|there is less sand, than in previous animation
|-
|-
|teargasAD
|prt_smokeII_3_expand
|large spreading gas from a gas grenade
|a grey smoke
|-
|-
|water_hydrant
|prt_smoke_huge
|jet of water as from a fire hydrant. audio included
|there is a lot of grey smoke
|-
|-
|water_ripples
|prt_spark
|circular ripples in the water
|of a spark
|-
|-
|water_speed
|prt_spark_2
|big splash in water
|the large sparks
|-
|-
|water_splash
|prt_splash
|small splash in water
|burst
|-
|-
|water_splash_big
|prt_wake
|large splash in water
|a wave
|-
|-
|water_splsh_sml
|prt_watersplash
|tiny splash in water
|sparks
|-
|-
|water_swim
|prt_wheeldirt
|swim splash in water
|sparks from wheels of the car
|-
|petrolcan
|a jet
|-
|-
|cigarette_smoke
|puke
|smoke from the end of a cigarette
|belch
|-
|-
|Flame
|riot_smoke
|small fire with crackling sfx
|there is a lot of smoke
|-
|-
|insects
|spraycan
|tiny flies flying around
|spray
|-
|-
|smoke30lit
|smoke30lit
|smoke
|a smoke  
|-
|-
|smoke30m
|smoke30m
|dark smoke
|a rich smoke  
|-
|-
|smoke50lit
|smoke50lit
|large smoke
|more richer smoke  
|-
|-
|vent
|shootlight
|thin smoke
|a light being shot out (used for searchlights), sparks and glass
|-
|-
|vent2
|smoke_flare
|thin smoke
|a light being shot out, sparks and glass, it makes a good firework effect
|-
|-
|waterfall_end
|tank_fire
|mist from the bottom of a waterfall
|a shot from the tank
|-
|-
|water_fnt_tme
|teargas
|upward jet of water from a fountain with sfx
|gas, as from gas grenade
|-
|-
|water_fountain
|teargasAD
|upward jet of water from a fountain with sfx.
|gas, as from small gas grenade
|-
|-
|tree_hit_fir
|tree_hit_fir
|small green leaves falling
|leaf falling  
|-
|-
|tree_hit_palm
|tree_hit_palm
|large green leaves falling
|falling of pair large leafs
|-
|-
|blood_heli
|vent
|explosion of blood
|slowly dissipating a smoke
|-
|-
|carwashspray
|vent2
|spray of soap/steam from a car wash
|practically too most
|-
|-
|cement
|water_hydrant
|cement pouring
|the large flow of water
|-
|-
|cloudfast
|water_ripples
|2 fast forward travelling clouds
|circles on water
|-
|-
|coke_puff
|water_speed
|puff of cocaina
|the large sparks from water
|-
|-
|coke_trail
|water_splash
|pouring trail of coke.
|small sparks from water
|-
|-
|explosion_barrel
|water_splash_big
|wooden explosion
|average sparks
|-
|-
|explosion_crate
|water_splsh_sml
|wooden explosion
|sparks, only them it is not visible almost
|-
|-
|explosion_door
|water_swim
|smoke and sparks
|small sparks at navigation
|-
|-
|petrolcan
|waterfall_end
|shooting/trickling water/fuel. used as a peeing effect
|there is a lot of pair
|-
|-
|puke
|water_fnt_tme
|yesterdays dinner
|the large flow of water
|-
|-
|shootlight
|water_fountain
|a light being shot out (used for searchlights). sparks and glass
|water of a fountain
|-
|smoke_flare
|a light being shot out. sparks and glass. yes, it makes a good firework effect
|-
|-
|wallbust
|wallbust
|lots of smoke/dust from a wall collapsing
|a disappearing heap pair
|-
|-
|WS_factorysmoke
|WS_factorysmoke
|yellow/greenish smoke
|smoke
|}
 
==Related scripting functions==
===Client===
* [[createEffect]]
* [[setEffectSpeed]]
* [[getEffectSpeed]]
* [[setEffectDensity]]
* [[getEffectDensity]]
 
[[Category:Element Types]]
 
[[en:Element/Effect]]
[[ru:Element/Effect]]
[[hu:Element/Effect]]

Latest revision as of 11:03, 15 April 2021

The Effect class represents custom effect elements in the game world such as smoke, sparks, fire etc.

The element type of this class is "effect".


Effects list

There are 82 effects.

--A table containing all effect names.
local effectNames = {
"blood_heli","boat_prop","camflash","carwashspray","cement","cloudfast","coke_puff","coke_trail","cigarette_smoke",
"explosion_barrel","explosion_crate","explosion_door","exhale","explosion_fuel_car","explosion_large","explosion_medium",
"explosion_molotov","explosion_small","explosion_tiny","extinguisher","flame","fire","fire_med","fire_large","flamethrower",
"fire_bike","fire_car","gunflash","gunsmoke","insects","heli_dust","jetpack","jetthrust","nitro","molotov_flame",
"overheat_car","overheat_car_electric","prt_blood","prt_boatsplash","prt_bubble","prt_cardebris","prt_collisionsmoke",
"prt_glass","prt_gunshell","prt_sand","prt_sand2","prt_smokeII_3_expand","prt_smoke_huge","prt_spark","prt_spark_2",
"prt_splash","prt_wake","prt_watersplash","prt_wheeldirt","petrolcan","puke","riot_smoke","spraycan","smoke30lit","smoke30m",
"smoke50lit","shootlight","smoke_flare","tank_fire","teargas","teargasAD","tree_hit_fir","tree_hit_palm","vent","vent2",
"water_hydrant","water_ripples","water_speed","water_splash","water_splash_big","water_splsh_sml","water_swim","waterfall_end",
"water_fnt_tme","water_fountain","wallbust","WS_factorysmoke"
}
Name Description
blood_heli bloody explosion
boat_prop a surf
camflash small flare
carwashspray steam, as on a carwash
cement cement
cloudfast fast clouds
coke_puff puff of a coke
coke_trail a pouring water
cigarette_smoke a smoke from a cigarette
explosion_barrel explosion and splinters of a box
explosion_crate explosion and splinters of the large box
explosion_door a smoke with sparks
exhale a small smoke
explosion_fuel_car explosion, as from the machine
explosion_large the large explosion
explosion_medium average explosion
explosion_molotov explosion, as from a molotov cocktail
explosion_small small explosion
explosion_tiny very small explosion
extinguisher foam of the fire extinguisher
flame small fire
fire fire
fire_med average fire
fire_large large fire
flamethrower fire of the flamethrower
fire_bike fire, as from a burning motorcycle
fire_car fire, as from the burning machine
gunflash as the bullet from a trunk takes off
gunsmoke a smoke from a gun
insects insects
heli_dust a dust, as from the helicopter
jetpack a jetpacks fire
jetthrust fire from the muffler of the machine, as during use of nitrogen
nitro nitro
molotov_flame fire from a Molotov Cocktail
overheat_car smoke from damaged car
overheat_car_electric wrecked electro-machine
prt_blood spark? maybe meant to be a mini red blood splash
prt_boatsplash foam
prt_bubble bubble
prt_cardebris splinters from a box
prt_collisionsmoke a dense white smoke
prt_glass a crashing glass
prt_gunshell shells
prt_sand sand, which was scattered
prt_sand2 there is less sand, than in previous animation
prt_smokeII_3_expand a grey smoke
prt_smoke_huge there is a lot of grey smoke
prt_spark of a spark
prt_spark_2 the large sparks
prt_splash burst
prt_wake a wave
prt_watersplash sparks
prt_wheeldirt sparks from wheels of the car
petrolcan a jet
puke belch
riot_smoke there is a lot of smoke
spraycan spray
smoke30lit a smoke
smoke30m a rich smoke
smoke50lit more richer smoke
shootlight a light being shot out (used for searchlights), sparks and glass
smoke_flare a light being shot out, sparks and glass, it makes a good firework effect
tank_fire a shot from the tank
teargas gas, as from gas grenade
teargasAD gas, as from small gas grenade
tree_hit_fir leaf falling
tree_hit_palm falling of pair large leafs
vent slowly dissipating a smoke
vent2 practically too most
water_hydrant the large flow of water
water_ripples circles on water
water_speed the large sparks from water
water_splash small sparks from water
water_splash_big average sparks
water_splsh_sml sparks, only them it is not visible almost
water_swim small sparks at navigation
waterfall_end there is a lot of pair
water_fnt_tme the large flow of water
water_fountain water of a fountain
wallbust a disappearing heap pair
WS_factorysmoke smoke

Related scripting functions

Client