Jump to content

ashutoshkashyap

Resident
  • Posts

    10
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The total particle count is not even 50 including all the the 5 scripts in all the 5 prims. I have already taken care of all those stuffs in the particle script. I know i am making mistakes with the placement of the llMessageLinked codes at the required place in the original script. This is my 1st time i am dealing with Physics + Land collision + llMessageLinked all of them together. So, after so many valuable feedback from all of you, i am still trying and testing.
  2. i made a hardware design (like a flower bud with 5 petals) in which all the 5 prims "shall" hit the land after getting fired from the cannon and get triggered simultaneously for the "land collision" effect. But what i observed is that the whole bomb accumulates a lot of mass. Also i observed when fired from different angles, the bomb hits the land with different angles naturally. But the biggest issue i faced is the same - not all the linked prims getting triggered.
  3. For the past 4 hrs i have been working with your codes, but it's still not giving results. So trying now the permutations & combinations with LllLinkParticleSystem...hahaha
  4. Thanks guys! I tried all permutations and combinations. llPassCollisions, llMessageLinked etc etc. I don't know where i am making the mistake in the scripts i shared. I am committing suicide now because the wall beside my chair is gone.
  5. I did like this - In root prim: .............///(upper part of script)///..... land_collision(vector pos) { llMessageLinked(LINK_SET, 0, NULL_KEY, "Explode"); llPlaySound(sound, 1.0); explode(); llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSleep(3.0); llDie(); } } /////End of Script In child prims: .............///(upper part of script)///..... land_collision(vector pos) { llPlaySound(sound, 1.0); explode(); llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSleep(3.0); llDie(); } link_message(integer sender_num, integer num, string msg, key id) { } } /////End of Script But the child prims are not getting triggered. Hope i am doing the right thing!
  6. Hi Wulfie, a) This is basic script. The other 5 scripts are having different particle effects - e.g. textures, patterns and other variables. b) All the 5 scripts will play at the same time - on land collision c) I tried linking 5 different prims with these 5 scripts but then i got the issue of "collision effect". Tried using llPassCollisions but it made me more confused over a period of time.
  7. Hi everyone, I am not a scripter but love to play around with it and create. I have been working on bomb-explosion script for the last few months after i found one while going thorough dozens of articles etc. I made a lot of versions of the original script as well as modified it a lot. To make the bomb-explosion upon land-collision look good, i need to link around 5-6 particle scripts together placed in a prim. I have been banging my head on the wall for so many months and tried everything possible to my knowledge but have failed. Would appreciate any advise, guidance. Thanks in advance! Here is the script - string sound = "Explode"; explode () { llSetStatus(STATUS_PHYSICS, FALSE); llTriggerSound("Explode", 10.0); llParticleSystem([ PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_EXPLODE, PSYS_SRC_TEXTURE, "", PSYS_SRC_MAX_AGE, 3, PSYS_SRC_BURST_RATE, 0.0, PSYS_SRC_BURST_PART_COUNT, 5, PSYS_SRC_BURST_RADIUS, 0, PSYS_SRC_BURST_SPEED_MIN, 2, PSYS_SRC_BURST_SPEED_MAX, 2, PSYS_SRC_ACCEL, <0,0,0>, PSYS_SRC_ANGLE_BEGIN, 0, PSYS_SRC_ANGLE_END, 0, PSYS_SRC_OMEGA, < 0., 0. , 0.>, PSYS_PART_START_GLOW, 0, PSYS_PART_END_GLOW, 0, PSYS_PART_MAX_AGE, 4, PSYS_PART_START_COLOR, <0,0,0>, PSYS_PART_END_COLOR, <0,0,0>, PSYS_PART_START_ALPHA, 1 , PSYS_PART_END_ALPHA, 0 , PSYS_PART_START_SCALE, <4,4,0>, PSYS_PART_END_SCALE, <4,4,0>, PSYS_PART_FLAGS, 0 | PSYS_PART_EMISSIVE_MASK | PSYS_PART_INTERP_COLOR_MASK | PSYS_PART_INTERP_SCALE_MASK | PSYS_PART_FOLLOW_VELOCITY_MASK]); } default { on_rez(integer startup) { llSetLinkAlpha(LINK_SET, 1.0, ALL_SIDES); llPreloadSound(sound); llSetTimerEvent(3.0); } timer() { llPlaySound(sound, 1.0); explode(); llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSleep(4.0); llDie(); } land_collision(vector pos) { llPlaySound(sound, 1.0); explode(); llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES); llSleep(3.0); llDie(); } }
  8. Apologies for the delay in sharing my feedback! I am very happy and satisfied with the script you customized for me. That's awesome and exactly what i needed. I had been struggling for a long time as i had shared with you, also a few other scripters which i had contacted were too arrogant. The best part was you are very friendly, humble and understanding Thanks so much!
×
×
  • Create New...