News:

Welcome to World of Banished!

Main Menu

Advanced Blender Help? about "points"

Started by angainor88, September 23, 2018, 11:55:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

angainor88

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.

RedKetchup

#1
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
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

angainor88

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";
}
]
}

RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

RedKetchup

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 ^^
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

Tom Sawyer

@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.