I wonder how could this be implemented. I already have a small demo of it using terrain deformers and pathing blockers but its so buggy since pathing is currently extremely hard to handle with a sane way....
First
Best way to do a mining map would be just to put the whole map full of 1x1 pathing blockers and remove them when you "mine". It seems highly unefficient, but even minerals has like tons of rocks and it seems to work just fine so I wonder if this is viable.
Second
Im currently just generating pathing blockers when the worker "digs". There are quite a lot of problems here...you cannot detect height of point (it doesnt change if you use terrain deformer), you cannot change pathing without using pathing blockers. So its extremely hard to make it bug free, smooth and efficient.
Third
Third option would be (this havent been tested) to set points height with triggers. Im not sure how the set point heigh works but you can set and detect it with triggers (does set point height mean 1x1 or what? you cannot set region height). The downside with this would be that sort of hard to make and might not be as smooth as other sollutions.
What you guys think? I will probly play around a bit more with my current system and try to get it working. I might even throw a video out. Probly wont have time to work too much with the editor, but I would like to hear if anyone else got sollutions or suggestions how to do this.
I didnt think it was relavent. Since I want to get working mechanics. I suppose Ill try to get a video out today to show what I mean by mining. I think it has lot of potential use (more than my random terrain :/).
I should try to improve the code or remake with other style if I want this to be actually usable.
Kinda anoyed from the fact that it doesnt work and dont have any simple way of fixing it :(
edit* After testing it also appears that terrain deformers dont always create samekind of deformation when you apply it to a point...so thats why its really not possible to make it look perfect....
As for fixes...I suppose I could try to create double wall of blockers to prevent bugs or even better would most likely be somekind of checker for holes that runs everytime you have mined something (this might be a bif unefficient method)
It broke the whole map...no backups from last hours :(
BUT NOT TO BE AFRAID
It took like 30mins to rewrite the code :D. The thinking process took quite a while, I feel a bit dumb now, but making this took so long cause I didnt undestand how this shit works :/
I wonder how could this be implemented. I already have a small demo of it using terrain deformers and pathing blockers but its so buggy since pathing is currently extremely hard to handle with a sane way....
First
Best way to do a mining map would be just to put the whole map full of 1x1 pathing blockers and remove them when you "mine". It seems highly unefficient, but even minerals has like tons of rocks and it seems to work just fine so I wonder if this is viable.
Second
Im currently just generating pathing blockers when the worker "digs". There are quite a lot of problems here...you cannot detect height of point (it doesnt change if you use terrain deformer), you cannot change pathing without using pathing blockers. So its extremely hard to make it bug free, smooth and efficient.
Third
Third option would be (this havent been tested) to set points height with triggers. Im not sure how the set point heigh works but you can set and detect it with triggers (does set point height mean 1x1 or what? you cannot set region height). The downside with this would be that sort of hard to make and might not be as smooth as other sollutions.
What you guys think? I will probly play around a bit more with my current system and try to get it working. I might even throw a video out. Probly wont have time to work too much with the editor, but I would like to hear if anyone else got sollutions or suggestions how to do this.
@zenx1: Go
What? I'm a teeny bit confused as to what exactly your map is going to be....Just mining stuff?
I didnt think it was relavent. Since I want to get working mechanics. I suppose Ill try to get a video out today to show what I mean by mining. I think it has lot of potential use (more than my random terrain :/).
I couldnt get it working so whatever......
I should try to improve the code or remake with other style if I want this to be actually usable.
Kinda anoyed from the fact that it doesnt work and dont have any simple way of fixing it :(
As for fixes...I suppose I could try to create double wall of blockers to prevent bugs or even better would most likely be somekind of checker for holes that runs everytime you have mined something (this might be a bif unefficient method)
Oh well, I will continue on trying more stuff...
ffffffffffffffffffffffffffffuuuuuuuuuuuuuuuuuuuuuuuuuck
how is it possible that when I try to save computer crashes and map broke....
I had already way improved the mining and it was coming pretty good...lost probly like 4-8h of work :(
I suppose ill start over again.....
Save once ever 30 minutes :P
@Taintedwisp: Go
It broke the whole map...no backups from last hours :(
BUT NOT TO BE AFRAID
It took like 30mins to rewrite the code :D. The thinking process took quite a while, I feel a bit dumb now, but making this took so long cause I didnt undestand how this shit works :/
so new video coming today
@Taintedwisp: Go
No, be like me and save with OCD. As in save every 3 trigger actions.