To speed this up lets see if anyone can offer some code conversion I need the following converted from ES to SM:
Code:
es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_math wcs_z1 + 40
es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 25 25 25 255 9
es_math wcs_z1 + 10
es est_effect 10 #a 0.2 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 0 255 0 255 9
es_math wcs_z1 + 10
es est_effect 10 #a 0.4 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 25 25 25 255 9
es_math wcs_z1 + 10
es est_effect 10 #a 0.6 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 0 255 0 255 9
Code:
es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid)
es_math wcs_z1 + 40
es est_effect 10 #a .6 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 25 25 25 255 90
es_math wcs_z1 + 10
es est_effect 10 #a .4 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 0 255 0 255 90
es_math wcs_z1 + 10
es est_effect 10 #a .2 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 25 25 25 255 90
es_math wcs_z1 + 10
es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 99 50 2 3 11 0 0 255 0 255 90
Code:
es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker)
es es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid)
es_math wcs_z1 + 20
es_math wcs_z2 + 20
es est_Effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 10 10 25 25 25 server_var(wcs_alpha)
es_math wcs_y1 + 40
es est_Effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 10 10 25 25 25 server_var(wcs_alpha)
es_math wcs_y1 - 20
es est_Effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 10 10 25 25 25 server_var(wcs_alpha)