Destroyable/Exploding Object Script

Post requests for goods or services
Post Reply
User avatar
Gusher Castaignede
Posts: 258
Joined: Tue Mar 17, 2015 10:03 pm
Has thanked: 285 times
Been thanked: 250 times

Destroyable/Exploding Object Script

Post by Gusher Castaignede »

Am looking for experienced scripter for possible trade work, collaboration, or perhaps for hire for scripts that I need...contact me for more details..

Thanks
These users thanked the author Gusher Castaignede for the post:
Ilan Tochner
Image
"lnteractivity, Variety, Ease of Use"
Visit my store at Country Manor
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 times
Contact:

Re: Destroyable/Exploding Object Script

Post by Shandon Loring »

Hi G!
I'm not a guru scripter by any means, but I believe I do have an exploding sheep and script if you interested.. should be adaptable to other cool chaos.
User avatar
Gusher Castaignede
Posts: 258
Joined: Tue Mar 17, 2015 10:03 pm
Has thanked: 285 times
Been thanked: 250 times

Re: Destroyable/Exploding Object Script

Post by Gusher Castaignede »

Hello Shandom, how does the sheep explode currently? By shooting at it or?
Shandon Loring wrote:Hi G!
I'm not a guru scripter by any means, but I believe I do have an exploding sheep and script if you interested.. should be adaptable to other cool chaos.
These users thanked the author Gusher Castaignede for the post:
Shandon Loring
Image
"lnteractivity, Variety, Ease of Use"
Visit my store at Country Manor
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 times
Contact:

Re: Destroyable/Exploding Object Script

Post by Shandon Loring »

Well this is embarrassing... I can't find my sheep!!
I found my exploding Penguin, but he is totally no mod, so I can't get a look at the script
I have a backup source though, and will go seeking it shortly..

This one is not much of a substitute, but maybe helpful for something, it's dropped in an object, and when someone collides with that object it throws out a huge particle cloud (explosion) and derezzes the object..


default
{
collision_end(integer num_detected)
{
llParticleSystem

([

PSYS_PART_FLAGS,
PSYS_PART_INTERP_COLOR_MASK|
//PSYS_PART_WIND_MASK |
PSYS_PART_EMISSIVE_MASK,

PSYS_SRC_PATTERN,
PSYS_SRC_PATTERN_ANGLE_CONE,
//PSYS_SRC_PATTERN_ANGLE,
//PSYS_SRC_PATTERN_EXPLODE,

// Start of particle settings

PSYS_SRC_TEXTURE, "",//If you want the explosion to have a texture, put the UUID here.

PSYS_SRC_ANGLE_BEGIN , 0.0,
PSYS_SRC_ANGLE_END , 0.5,

PSYS_SRC_BURST_SPEED_MIN, 3.0,
PSYS_SRC_BURST_SPEED_MAX, 5.0,

PSYS_SRC_BURST_RADIUS, 0.0,
PSYS_SRC_BURST_PART_COUNT, 5,
PSYS_SRC_BURST_RATE, 0.001,
PSYS_PART_MAX_AGE, 3.0,//this is where you are going to say how big it is. This is a LARGE explosion.
PSYS_SRC_ACCEL, <0.0,0.0,0.2>,

PSYS_PART_START_SCALE, <2.0, 2.0, FALSE>,
PSYS_PART_END_SCALE, <.02,.02, FALSE>,

PSYS_PART_START_COLOR, <1,.25,0>,
PSYS_PART_END_COLOR, <1,1,.5>,

PSYS_PART_START_ALPHA, 1.0,
PSYS_PART_END_ALPHA, 0.1,

PSYS_SRC_PATTERN,
PSYS_SRC_PATTERN_EXPLODE
]);
llSleep(4);
llDie();
}
}
These users thanked the author Shandon Loring for the post:
Ilan Tochner
User avatar
Gusher Castaignede
Posts: 258
Joined: Tue Mar 17, 2015 10:03 pm
Has thanked: 285 times
Been thanked: 250 times

Re: Destroyable/Exploding Object Script

Post by Gusher Castaignede »

I just tested the script and may workout with a bit of additions and tweaks... will try to figure out how to make the tweaks but let me know how I can compensate you for the effort... appreciate it!
Image
"lnteractivity, Variety, Ease of Use"
Visit my store at Country Manor
Post Reply