News:

Welcome to World of Banished!

Main Menu

need help for multiple house smoke points

Started by zombeat, January 19, 2015, 07:05:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zombeat

Hello,
i'm new here and i want to thanks everybody for all the help i found there.

i manage to build the first part of my mod "wood tent"


i took the apiary exemple, replace the template/apiary.src by the wood house template found in ressources ...
all works fine, building, packaging, pkm works great with many mods and apiary

but now i'm trying to add multiple models to my tent and have problems with different smoke placement

i try adding this in ParticleAttachment:
{
bool _addOnCreate = false;
Particle _particle = "ParticleSystems\ChimneySmoke\ChimneySmoke.rsc";
String _attachNode = "smoke1";
}

{
bool _addOnCreate = false;
Particle _particle = "ParticleSystems\ChimneySmoke\ChimneySmoke.rsc";
String _attachNode = "smoke2";
}

it works but i have two smokes on my tent

so i tryed this :
(http://banishedmods.com/archive/index.php?thread-1585.html) thanks to rageingnonsense
but it doesn't work :(


i have my 2 meshes working (push "f" to change them)
but the smoke at the same place

if anyone found a clue to share with me ...

ps. i searched a lot on this forum and on google and try all i can
and i apologize for my english

i use cinema 4D and notepad++

RedKetchup

#1
are your 2 mesh in the same .fbx ? or 2 seperate .fbx ?

i dont think you should have smoke1... smoke2.... etc

you should only have a smoke1 in multiple copy (as many you have of different mesh) and they need to be 'linked' to your specific mesh.

1 smoke1 at top of the chimney of mesh1 and 'linked -----' as part of your mesh1.
1 smoke1 at top of the chimney of mesh2 and 'linked------' as part of your mesh2.
1 smoke1 at top of the chimney of mesh3 and 'linked------' as part of your mesh3.

and in your .rsc you should only call for a smoke1 in particle

i m used to work with 3DSMax, and 3DSMax accept dummys with same name (which where notepad is usefull for blender and other progs)


ps.: if you can make it work properly with your cinema4D and notepad, maybe you should make different .fbx (have their own files) and there, only have their own smoke1 in their own files.
but definetly in either case, you shouldnt call any smoke2.
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

zombeat

thanks for your reply and your mods !

yes my 2 mesh are in the same fbx
but after i read your reply i think differents fbx is the easiest solution

i keep this names in the .rsc ?
for exemple :
{
PickingMesh _mesh
[
"Models\WoodTent1Build01Picking.rsc",
"Models\WoodTent1Build02Picking.rsc",
"Models\WoodTent1Picking.rsc"
]
}

{
PickingMesh _mesh
[
"Models\WoodTent2Build01Picking.rsc",
"Models\WoodTent2Build02Picking.rsc",
"Models\WoodTent2Picking.rsc"
]
}


and i link the differents fbx in the rsc in the model folder.


for smoke1 and smoke2 i understand the bad results, but i was desperate haha


for the same fbx solution i could have this ? :

mesh1
  -smoke1

mesh2
  -smoke1

points
  -build_001
  -use_001



thanks again

RedKetchup

#3
yes you can keep same names of .rsc (just change the name.fbx it refer to)

i m not sure, i can be wrong but i would try :

mesh1
- points
    -build_001
    -use_001
    -smoke1

mesh2
-points
    -build_001
    -use_001
    -smoke1

for the case being all in same .fbx


but again, having seperated .fbx works very well and way more super more easier to deal with. (and thats what i did in my Colorful Little House addon)
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .