Page 1 of 1
How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:25
by Dreedo
i've seen the smoke come out of power stations funnels... but i wanted to know how the game knows to make the smoke come out of the funnel... im trying to make smoke come out of the factories funnels but i dont know how to tell the game to make smoke come out of them... (i dont think its to do with the colour or the .nfo file)
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:35
by Ameecher
It's definitely to do with the .nfo file.
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:39
by Dreedo
ummm ok i guess i gotta look more closely now lol
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:48
by Dreedo
hmmm i tried a few things.... i even replaced the factory .nfo line with the power station .nfo line and the factory still didnt have smoke coming out (though it was half power station half factory) im quite new a coding so is there anyway you could help me? also what does the xrel and yrel mean in the .nfo file?
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:51
by Ameecher
xrel and yrel align the sprite. They won't cause any smoke. You need to know the ins and outs of NFO, something I have little idea of.
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:52
by michael blunck
what does the xrel and yrel mean in the .nfo file?
Look here:
http://wiki.ttdpatch.net/tiki-index.php ... oordinates
regards
Michael
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 12:59
by Dreedo
to bad theres nothing in the pallette thingie for smoke...
i even copied the power station funnel and overwrote the factory funnel with it and that didnt work...
with my lack of knowledge on .nfo files all i see there is the .nfo telling the game what sprite to put into the game...
thanks ameecher and michael for the help
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 13:28
by michael blunck
Dreedo wrote:to bad theres nothing in the pallette thingie for smoke...
Not in the Palette..., but regarding your question on xrel/yrel there´s something to be found in the ...AndCoordinates section of the page mentioned.
To put smoke to the factory´s funnels, you´ll have to set up an animation sequence either consisting of the original power plant´s smoke sprites, or self-drawn smoke sprites and applicate it to a modified version of that factory.
Which isn´t too trivial for a beginner, honestly. At least, it´d need reading the .nfo specs and documents.
regards
Michael
Re: How do make smoke come out of factories like power stations
Posted: 15 Dec 2007 13:58
by Dreedo
i think i might leave this for another time when i know more about nfo files... i looked at some tables on that wiki page you showed me but that didnt help me much with editing the nfo file...
thanks for the help though