Discrete nanoparticles
Moderator: Moderators
Discrete nanoparticles
I'm not sure if everybody knows this already but here it goes:
Spring thinks it runs at 32 frames per second (actually 30 but that's another discussion). The minimum interval between two consecutive events is 1 frame or 1/32 of a Spring second. Nanospray is spawned once per frame if sudfficient ressources are available. A nanoparticle always costs the same to make for a construction and always contributes the same to the construction. That means if the buildtime of a unit is not an integral multiple of the builder's workertime divided by 32 the construction costs more than the fbi says it does. For many mods that rounding error is of no consequence but for some it could be important (e.g. if you have a fixed ressource allocation for a given time and want to make sure that allocation covers exactly a set of built units).
This means that if you need there to be zero overpaying you should set your workertimes to integral multiples (or fractions) of 32 and similarily set the build times. If you want something to be built in one frame (i.e. instantly) make sure it takes exactly 1/32 of the workertime to build, using e.g. 1/100 would mean it costs a lot more than it should. If something needs less than one nanoparticle to be finished (whether that's the whole construction or just the last bit of it) you still pay for the whole nanoparticle.
Spring thinks it runs at 32 frames per second (actually 30 but that's another discussion). The minimum interval between two consecutive events is 1 frame or 1/32 of a Spring second. Nanospray is spawned once per frame if sudfficient ressources are available. A nanoparticle always costs the same to make for a construction and always contributes the same to the construction. That means if the buildtime of a unit is not an integral multiple of the builder's workertime divided by 32 the construction costs more than the fbi says it does. For many mods that rounding error is of no consequence but for some it could be important (e.g. if you have a fixed ressource allocation for a given time and want to make sure that allocation covers exactly a set of built units).
This means that if you need there to be zero overpaying you should set your workertimes to integral multiples (or fractions) of 32 and similarily set the build times. If you want something to be built in one frame (i.e. instantly) make sure it takes exactly 1/32 of the workertime to build, using e.g. 1/100 would mean it costs a lot more than it should. If something needs less than one nanoparticle to be finished (whether that's the whole construction or just the last bit of it) you still pay for the whole nanoparticle.
no, in gundam units are built by the whitebase before particles ever arive.bwansy wrote:Does it mean that the nano-particles are not merely visual effects, and that the resouces are not transfered directly to the nano-cloud, but instead, the resource is used for making nano-particles, and the nano-cloud receives the resource when being hit by the nano-particles?
You know, i was using multiples of 32 for everything when i first started messing with mods. Force of habit. Then i just started using rounded numbers since i figured there wasnt any point. I guess i should have stuck to old habits.
No. The nanoparticles themselves dont do anything. Resources are received instantly by the nanoframe. Just happens that nanoparticles correspond to the rate at which the 'packets' of resources are sent. Its really these instantly recieved packets which KDR is talking about.the nano-cloud receives the resource when being hit by the nano-particles?
I would say that is true but what about factories with multiple nanolathes? For example the federation level1 has 2 and the zeon level1 has one. However, this gives no construction speed boost. I personal know it is just a graphical effect as I have disabled them in the past.Decimator wrote:The construction appears to be applied when the nanoparticle is created. If you want to see it in action, try forcing a stall and then building something with the commander.
I think what kdk is trying to say is just the emission rate. I am not sure what in particular he is getting at.
I see. Thanks everyone for telling me about it. I haven't played Spring for quite some time.
About the problem, is it like you buy something for, say, $3.56, no change, but you only have 1 dollar bills so that you are forced to pay $4? And does this rounding error happen at the end of the construction or does it happen every second?
About the problem, is it like you buy something for, say, $3.56, no change, but you only have 1 dollar bills so that you are forced to pay $4? And does this rounding error happen at the end of the construction or does it happen every second?
Im doing a mod where units are instantly built for a certain ammount of metal.
Ive met a problem with the settings of the factory building those units.
If you set the factory WorkerTime to a high value, and the unit to be built dont cost much, the "nano chunks" sent will cost more metal than used for the unit.
I could somewhat attenuate this effect by tweaking workertime of the factory and Buildtime of the units, but theres still some metal spent.
Also, when you're out of metal, and its slowly refilling, the builder/factory wont continue building until the "minimum metal ammount to spray nanolathe" is reached. I guess workertime and this "minimal ressources ammount" are linked.
Ive met a problem with the settings of the factory building those units.
If you set the factory WorkerTime to a high value, and the unit to be built dont cost much, the "nano chunks" sent will cost more metal than used for the unit.
I could somewhat attenuate this effect by tweaking workertime of the factory and Buildtime of the units, but theres still some metal spent.
Also, when you're out of metal, and its slowly refilling, the builder/factory wont continue building until the "minimum metal ammount to spray nanolathe" is reached. I guess workertime and this "minimal ressources ammount" are linked.
also, if your factory builds the untis at a rate of 1 per secondand you add a builder ot assist, that builder will till consume resources and the unit will not build faster.
A unit is built every 32 frames. Any more builders you add will be a waste of time and resources.
For proof, use .nocost and look at the build speed, they popout and second intervals, when they have zero buildtime and cost.
A unit is built every 32 frames. Any more builders you add will be a waste of time and resources.
For proof, use .nocost and look at the build speed, they popout and second intervals, when they have zero buildtime and cost.