|
Eazel Allen
EA-design™
Join date: 11 Feb 2007
Posts: 123
|
09-09-2008 02:44
Hi Im trying to add boat wash particles to a boat project I am working on And I have searched everywhere in sl for examples of this so I can get an idea on how to script it but have been unlucky so far so I hope somone can point me in right direction here .I have been to ivory towers and I do already know how to make particles I am just looking for an example as a template.
thank you Eazel
_____________________
http://secondlife://cub/235/190/465/
http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=48444
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
09-09-2008 06:31
hmm, might be easier to use one large particle picture that repeats rapidly while the boat is moving. the PSYS_PART_FOLLOW_VELOCITY_MASK should make make the particle trail correctly as the boat moves/turns. i think that's the same method that footprint particles use. my quick search in the forum didn't find any results though. maybe the particle lab?
|
|
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
|
09-09-2008 12:56
ill see what i can come up with i may have a few hidden in my 30k inv somewhere from when i made a few boats
|
|
Eazel Allen
EA-design™
Join date: 11 Feb 2007
Posts: 123
|
09-10-2008 02:44
From: Mrc Homewood ill see what i can come up with i may have a few hidden in my 30k inv somewhere from when i made a few boats Thank you that would be a help if you can find any . And thank you Ruthven I will try that Ive also been experimenting with drop age and size and that works quite well because you get a nice spread as the wake gets longer. I think to really get it right im going to have to draw something in ps so when the wake spreads the particle it seperates into 2 wakes. Any other ideas would be welcome .
_____________________
http://secondlife://cub/235/190/465/
http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=48444
|
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
09-10-2008 04:27
From: Eazel Allen Hi ... I am just looking for an example as a template. Eazel JP Sample Ripple Script from The Particle Lab http://slurl.com/secondlife/Teal/180/74/21 may provide a starting point; most boats I've seen seem to use something based upon it; // The BARE BONES Particle Script, Vers 4.0 - 10/23/2006 - Jopsy Pendragon // A sample script from the Particle Laboratory of Teal // You may copy, mod, sell, spindle, mutilate this script as you please. // If you distribute MOD derivatives of this script please include // a mention of The Particle Lab of Teal in the comments. Thanks! :)
default { state_entry() { llParticleSystem( [ PSYS_SRC_TEXTURE, llGetInventoryName(INVENTORY_TEXTURE, 0), PSYS_PART_START_SCALE, <.2,.1, 0>, PSYS_PART_END_SCALE, <.5,.2, 0>, PSYS_PART_START_COLOR, <1,1,1>, PSYS_PART_END_COLOR, <1,1,1>, PSYS_PART_START_ALPHA, 1.0, PSYS_PART_END_ALPHA, 1.0, PSYS_SRC_BURST_PART_COUNT, 20, PSYS_SRC_BURST_RATE, 0.4, PSYS_PART_MAX_AGE, 2.0, PSYS_SRC_MAX_AGE, 0.0, PSYS_SRC_PATTERN, 4, // 1=DROP, 2=EXPLODE, 4=ANGLE, 8=ANGLE_CONE, PSYS_SRC_ACCEL, <0.0,0.0,0.0>, // PSYS_SRC_BURST_RADIUS, 0.0, PSYS_SRC_BURST_SPEED_MIN, .5, PSYS_SRC_BURST_SPEED_MAX, .5, PSYS_SRC_ANGLE_BEGIN, 0.0*DEG_TO_RAD, PSYS_SRC_ANGLE_END, 45.0 *DEG_TO_RAD, PSYS_SRC_OMEGA, <0,0,0>, // PSYS_SRC_TARGET_KEY, llGetLinkKey(llGetLinkNum() + 1), PSYS_PART_FLAGS, ( 0 | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK | PSYS_PART_EMISSIVE_MASK | PSYS_PART_FOLLOW_VELOCITY_MASK // | PSYS_PART_WIND_MASK // | PSYS_PART_BOUNCE_MASK // | PSYS_PART_FOLLOW_SRC_MASK // | PSYS_PART_TARGET_POS_MASK // | PSYS_PART_TARGET_LINEAR_MASK ) ] ); } }
Hope this helps.
|