Hi mate,
sorry but I have been on Holiday.
Ok lets see,
righto, backblast should not be a problem to convert for your weapon. Back blast damage is a lil bit more tricky, simply because our damage script acquires its victim from a global array of all men units "ECP_units" (in v 1.071)
[_x,_unit,_damage,[_pos,_x_pos] call ECP_getDirPos] exec format["%1blood_squirt.sqs",blood_internal_scriptdir]
This probably gave you errors because you may not have defined several ECP global values
hehe its easy to over look some values.
ECP_units = array of all men units
_x = the victim acquired from ECP_units
_unit = the guy that fired the missile
ECP_bbda_dmg_dis = distance victim must be within to attain damage from backblast (default = 10m)
ECP_bbda_dmg_angle = angle that victim must be within while behind shooter to attain damage (default = 35 (degrees))
ECP_inAng = The global var function that checks the above angle (check init_once.sqs for this code)
ECP_bbda_dmg_max = maximum damage the back may cause the victim (default is 1)
ECP_getDirPos = The global var function that checks the direction to squirt the blood from victim. But you may not want this as you will also require ECP blood scripts and blood objects etc.
ECP_play_unit and ECP_play_sound = These are ECP specific pub vars that you need not worry about, they enable the victims scream to be heard on all clients in MP and are acquired on the clients through other monitoring scripts that wait for the pub vars to alter.
Now,
backblast.sqs probably gave you errors for similar reasons.
drop ["cl_basic", "", "Billboard", 1, 4, _pos, _velocity, 1, 0.005, 0.0042, 0.05, [_startsize,_endsize],_finalcolour, [0,1,0,1,0,1], 0.4, 0.4, "", "", _object]
Were ECP_gb_terrain and ECP_gb_c_desert etc defined?
If they werent then _finalcolour would have no value.
You can easily convert all these global vars into local ones for your addon mate. Let me know if you need any help. Just post your code up here and we'll sort it out, or send it to me via PM.
Sorry for not getting in touch sooner.
Zay