Jump to content

Particles generated from RBD Impacts


Farid

Recommended Posts

The problem is in the expression for the object name you are attempting to reference in the Copy and Point Sops.

frag_* + stamp() isn't what you want since your object names are frag##_

"frag" + padzero(2,stamp("..","FORVALUE",0)) + "_" will work correctly.

The padzero is necessary since your group names are 00, 01, ... 20 and the stamp value is 0, 1, ... 20.

Edited by graham
Link to comment
Share on other sites

The problem is that all your expressions are wrong syntax wise.

In the Copy sop you have:

dopnumrecords("/obj/AutoDopNetwork","frag" + padzero(2, stamp("..","FORVALUE",0),"Impacts","Impacts"))+"_"

The '+"_" is in the wrong place. It should be

dopnumrecords("/obj/AutoDopNetwork", "frag" + padzero(2, stamp("..","FORVALUE",0)) + "_", "Impacts" ,"Impacts")

The same little problem occurs in the Point Sop expression as well.

Attached is a working version.

working.hip

Edited by graham
Link to comment
Share on other sites

Thanks Graham ,

Its working perfect.

why are u using 10 * npoints(opinputpath("../",0))??

I will be using this system for my fallen object so as they fall they should emit sprites so that i can apply dust shader onto them .It will definitely be a lot of help.

Thanks alot for helping me out here.

zasid

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...