Forums


Destroyable/Exploding Object Script

Post requests for goods or services

Destroyable/Exploding Object Script

Postby Gusher Castaignede » Sat Jun 24, 2017 8:48 pm

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
User avatar
Gusher Castaignede
 
Posts: 26
Joined: Tue Mar 17, 2015 10:03 pm
Has liked: 1 time
Been liked: 4 times

Re: Destroyable/Exploding Object Script

Postby Shandon Loring » Wed Jun 28, 2017 8:14 pm

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
Shandon Loring
 
Posts: 653
Joined: Sat Oct 26, 2013 3:25 am
Has liked: 465 times
Been liked: 696 times

Re: Destroyable/Exploding Object Script

Postby Gusher Castaignede » Wed Jun 28, 2017 9:37 pm

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.
User avatar
Gusher Castaignede
 
Posts: 26
Joined: Tue Mar 17, 2015 10:03 pm
Has liked: 1 time
Been liked: 4 times

Re: Destroyable/Exploding Object Script

Postby Shandon Loring » Tue Jul 04, 2017 8:03 pm

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();
}
}
User avatar
Shandon Loring
 
Posts: 653
Joined: Sat Oct 26, 2013 3:25 am
Has liked: 465 times
Been liked: 696 times

Re: Destroyable/Exploding Object Script

Postby Gusher Castaignede » Wed Jul 05, 2017 4:56 pm

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!
User avatar
Gusher Castaignede
 
Posts: 26
Joined: Tue Mar 17, 2015 10:03 pm
Has liked: 1 time
Been liked: 4 times


Return to Wanted

Who is online

Users browsing this forum: No registered users and 1 guest

cron