I would like to have fire in hf, but don’t know how to build. Is texture animation possible?
You’ll need to use the new system particles that were introduced two weeks ago. They were unfortunately not explained and caused many crashes; and are currently under-development.
Thanks all I know for now.
Yes, I have tried it and I’m not crashed. But if I use a png texture, so the transparent part is black until now.
It is a begin I have made it with rezing of easy flat entities with a timer script:
You only need the part of the code the runs the sprite. I imagine you would have to put your images in your scripts folder.
I am not sure how to embed the video here sorry
I haven’t tried until now, but will do in the next time To embed a video here you only must post the link.
Meantime I have improved my fire script a bit, so that the flames also move, when the fireplace is moved. Maybe this script could be usefully also for other things.
Here you can get it: https://dl.dropboxusercontent.com/u/48725104/fire.js If you start it the fireplace will be rezed and the flames.
thanks for the script
I have added a domain check now to the script. So it also can run, if you teleport and it will stop. If you are back in the domain, where you have rezed the fire, it will start again.
Do you mean only the person running the scripts sees the fire?
The fireplace and the fire can see all. But the fire will burn only as long, as you run the script at the domain. This dos mean, you must be on the place. Sure, this isn’t the best way, It would be better, if a script would run in the fireplace. Will think about it.
I have thought about a script, which I could put in the fireplace. But to get the position of the fireplace, I need the entityID. Isn’t there a function, which gives the entityID of the model, where the script is in?