World of Banished

MODS Garage => Tips and Help => Topic started by: angainor88 on September 23, 2018, 11:55:24 AM

Title: Advanced Blender Help? about "points"
Post by: angainor88 on September 23, 2018, 11:55:24 AM
I've been trying to clean up my first model so it doesn't have all these extra bits lying around, and somehow made it so all the interact points are stuck at zero. The code has stayed the exact same, but now there's fire in the middle of my roof. Anyone know enough Blender to tell what has gone wrong?

The screenshot of the blender is below. I can send a link to the file if needed.
Title: Re: Advanced Blender Help? about "points"
Post by: RedKetchup on September 23, 2018, 12:37:20 PM
you are sure your point named "points" is at 0,0 ?

then go check your template at your "ParticleDescription particle" paragraph

there you have 2 options: put a link to your pointlist or NOT put a link to your pointlist.


if your "smoke" point is linked to your "points" point you need to put your link. like this:


ParticleDescription particle
{
PointList _pointList = "Models\Buildings\DoctorHouse\DoctorHousePoints.rsc";

ParticleAttachment _systems
[
{
Time _fadeInOutTime = 2.0;
bool _addOnCreate = false;
bool _addOnNotify = false;
Particle _particle = "ParticleSystems\Fire\FireMedium.rsc";
}
{
bool _addOnCreate = false;
Particle _particle = "ParticleSystems\ChimneySmoke\ChimneySmoke.rsc";
String _attachNode = "smoke";
}
]
}




if your "smoke" point is linked to your "mesh" model you need to NOT put your link. like this:


ParticleDescription particle
{
ParticleAttachment _systems
[
{
Time _fadeInOutTime = 2.0;
bool _addOnCreate = false;
bool _addOnNotify = false;
Particle _particle = "ParticleSystems\Fire\FireMedium.rsc";
}
{
bool _addOnCreate = false;
Particle _particle = "ParticleSystems\ChimneySmoke\ChimneySmoke.rsc";
String _attachNode = "smoke";
}
]
}



also make sure the "String _attachNode = "smoke";" is the exact same name as your "smoke" point in your model. if in your code it is written "smoke1" and in your model it is written "smoke" you will also get a fire smoke getting out from nowhere in middle of your mesh at 0,0
Title: Re: Advanced Blender Help? about "points"
Post by: angainor88 on September 23, 2018, 06:31:59 PM
Yeah I have the first one, and the code is all right. It's definitely at 0,0,0 (it won't let me put it anywhere else). I am pretty sure ti's something wrong with the model, but I can't seem to figure out what...

ParticleDescription particle
{
PointList _pointList = "Models\CapeDutchCottagePoints.rsc";

ParticleAttachment _systems
[
{
Time _fadeInOutTime = 2.0;
bool _addOnCreate = false;
bool _addOnNotify = false;
Particle _particle = "ParticleSystems\Fire\FireSmall.rsc";
}
{
bool _addOnCreate = false;
Particle _particle = "ParticleSystems\ChimneySmoke\ChimneySmoke.rsc";
String _attachNode = "smoke";
}
]
}
Title: Re: Advanced Blender Help? about "points"
Post by: RedKetchup on September 23, 2018, 06:43:44 PM
then your model is not at 0,0,0 ?
Title: Re: Advanced Blender Help? about "points"
Post by: RedKetchup on September 23, 2018, 07:00:34 PM
as usual if want me to check deeply... you know what you will have to do :) (upload your folder without folder build and bin) and send me the link by personal messenging. i ll throw an eye ^^
Title: Re: Advanced Blender Help? about "points"
Post by: Tom Sawyer on September 24, 2018, 12:23:44 AM
@angainor88 As far as I can see in your screenshot, there is something wrong with the scaling of your points. I can look at it and fix if you send me the Blender file. Also, I would recommend you to bind the smoke emitter on the mesh, not on points. It allows you different chimney locations in F variants.