For some days now i try to change the behavior or just the color of light sources.
The difficulty is that every change in the cubemitter json or the ambientlight json comes to an end in always the same error
rpc | received reply with unknown call id '2657’
2015-Jul-10 17:57:13.926399 | client | 0 | renderer.renderer | failed to load render resource /particles/lamp/firefly_lamp.cubemitter.json
2015-Jul-10 17:57:13.926399 | client | 2 | horde.general | Resource ‘/particles/lamp/firefly_lamp.cubemitter.json’ of type 1007: No data loaded (file not found?)
2015-Jul-10 17:57:13.926399 | client | 0 | app | Assertion Failed: false(…\source\client\renderer\renderer.cpp:1980)
2015-Jul-10 17:57:14.401426 | server | 1 | simulation.remote_client | started buffering client updates. (seq:7821 ack:7811)
2015-Jul-10 17:57:26.570122 | client | 0 | sysinfo | Memory Stats: Fatal Exception
Thats just an example of the try in which i tried to rename the cubemitter file without changing anything else
It`s not the file paths i use so where is the renderer reference pointing towards these files ?
Is there a guide to solve this ? or is it just impossible (now) ?
You can currently add your own particle effects to the game. But they must have valid values. Like this…
/uploads/stonehearth/original/2X/8/8d420199f92f6b892f7060ba7480e8c57fb8e775.gif
What exactly were you trying to achieve?
Which file and where did you rename it?
(original from lamp_effect_wall)(working)
i tried to change this into
“cubemitter”: “particles/lamp/firefly_lamp.cubemitter.json”,
and rename the file and changed the path to pinpoint towards my file
so just renaming and no changes to the values
Did you specify it like this? I’m not sure if you have to have specifically the data/horde/particles structure into your mod, but just in case, it’s better to follow the stonehearth folder structure when modding.
ok, got it working but again i`m totally confused by writing paths.
Sometimes i must write them in full length sometimes short is enough (same folder i know) sometimes half the lenght is enough
plz plz someone explain the rules of writing paths to me (i did it at least a thousand times wrong)
differences between
"file()"
"my_mod:path1:path2"
“my_mod/folder1/folder2/folder”
“my_mod/folder1/folder2/folder3/file.json(.qb, .png and so on)”
Big thanks to you Relyss, maybe i come back later with new problems…
critters ?
and i always follow the original folder structure not confusing myself
“file(entities/whatever/my_entity)” equals to "my_mod/entities/whatever/my_entity/my_entity.json"
but if you want to use file() to shorten any other extension than json, you’ll have to write the full path including the name and extension of the file: “file(entities/whatever/my_entity/my_entity.png)”
my_mod:path1:path2 is an uri. It’s used to reference some part of your mod inside other files, and mostly used in the manifest (although in your mod manifest you don’t need to put “my_mod” before “path1:path2”). “path1:path2” doesn’t need to be folder names, they could be whatever, especially in the aliases section of the manifest, but it’s more convenient to use your folder structure anyway
Inside some json files, when referencing something from your mod (especially icons) you’ll have to write the full path too, beginning with forward slash ( “/my_mod/entities/my_entity/my_icon.png”) or else the game will fail to load it.
What must i do to have a cubemitter which is always on ?
I changed all the values and got a cubemitter to do what i wanted him to do but …only at night which is worthless until it`s a bone spitting cubemitter …
“your_effect” being the effect that points to your cubemitter. (Adjust the path if needed and make sure that the json doesn’t have typos or syntax errors).