My fireflies stop fireflying

Technical Help and Support for the Torchlight Editor (TorchED)

Moderators: Runic Games, Perfect World

My fireflies stop fireflying

Postby Dojo » Sat Nov 14, 2009 5:12 pm

... after a few seconds when the game started. I created layout link particle and made everything the same as for existing fireflies in the town (loaded the layout for comparing values). But mine disappear after 4 sec. My layout is added via /MERGE/... can that be the reason?

HELP!!!
Dojo
 
Posts: 77
Joined: Fri Oct 30, 2009 1:46 pm

Re: My fireflies stop fireflying

Postby Azrael » Sat Nov 14, 2009 5:41 pm

Dojo wrote:... after a few seconds when the game started. I created layout link particle and made everything the same as for existing fireflies in the town (loaded the layout for comparing values). But mine disappear after 4 sec. My layout is added via /MERGE/... can that be the reason?

HELP!!!


did you change the particle life?
User avatar
Azrael
 
Posts: 164
Joined: Fri Oct 30, 2009 8:30 am

Re: My fireflies stop fireflying

Postby Volbard » Sat Nov 14, 2009 6:03 pm

DId you make the fireflies from scratch or just copy the system? Do they last forever in the editor?

If you're still having trouble, post a link and I'll check them out.
User avatar
Volbard
Runic Staff
 
Posts: 298
Joined: Fri Jun 05, 2009 4:41 pm

Re: My fireflies stop fireflying

Postby Dojo » Sun Nov 15, 2009 5:11 am

The fireflies (and also moths) play fine in the editor. I created layout link particles using "MEDIA\PARTICLES\OBJECTS\MINEPROPS\FIREFLIES.LAYOUT".

Ingame they play ~2 seconds and disappear. I am using them in this mod:

viewtopic.php?f=20&t=6931#p68781

You will find them at the laterns for example.
Dojo
 
Posts: 77
Joined: Fri Oct 30, 2009 1:46 pm

Re: My fireflies stop fireflying

Postby Ojji » Sun Nov 15, 2009 11:51 am

Try making them loop?
User avatar
Ojji
 
Posts: 147
Joined: Wed Nov 11, 2009 10:10 am
Location: Maryland

Re: My fireflies stop fireflying

Postby Dojo » Mon Nov 16, 2009 6:03 am

There is no such option for layout link particles. As far as I know they are looping automatically (??).
Dojo
 
Posts: 77
Joined: Fri Oct 30, 2009 1:46 pm

Re: My fireflies stop fireflying

Postby Volbard » Mon Nov 16, 2009 11:47 am

I opened that mod file (TownMineArea-1), but there's no particle directory. Am I looking at the right mod?
User avatar
Volbard
Runic Staff
 
Posts: 298
Joined: Fri Jun 05, 2009 4:41 pm

Re: My fireflies stop fireflying

Postby Dojo » Mon Nov 16, 2009 1:09 pm




I am using a layout link patricle that links to fireflies and 2 others that link to moths.
Dojo
 
Posts: 77
Joined: Fri Oct 30, 2009 1:46 pm

Re: My fireflies stop fireflying

Postby Volbard » Mon Nov 16, 2009 1:16 pm

Oh, guess I misunderstood then. I thought you made your own firefly particles and then linked to them. Ok, I'll look again. |^)
User avatar
Volbard
Runic Staff
 
Posts: 298
Joined: Fri Jun 05, 2009 4:41 pm

Re: My fireflies stop fireflying

Postby Volbard » Mon Nov 16, 2009 4:15 pm

After some testing, it appears that it's not a problem with your mod. The firefly systems are getting killed because they contain both an init emitter that doesn't loop and a regular one that does, and when the init one finishes the whole thing gets culled. It's a bug that must have been introduced when trying to optimize particle systems. It may also be affecting other systems that are built in the same way, but I can't think of any off the top of my head.

I've remade that particle with the init emitter and continuous emitter in different systems, and that fixes the problem. You can add it to your mod, it will have the side affect of fixing all the fireflies in the mine and in town as well:

fireflies.layout
User avatar
Volbard
Runic Staff
 
Posts: 298
Joined: Fri Jun 05, 2009 4:41 pm

Re: My fireflies stop fireflying

Postby Dojo » Mon Nov 16, 2009 4:46 pm

Thanks alot!

Thanks! Thanks! Thanks!

edit: Hm where exactly do I have to copy/include this now? :oops:
Dojo
 
Posts: 77
Joined: Fri Oct 30, 2009 1:46 pm


Return to TorchED Help and Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest