Hey, im building a map where you can call down radiation (permenant structure), so each player will max have 50 structure (4 player map), and if anybody get near any of them they will take damage, i know i can use the Effect search area, and then add an damage effect, but in my world it sounds like much work CPU wise, so i was hopping anybody had an good ide to it.
Thats probably the best way, you could cut the interval a little (maybe damaging once every second or something, dependand on your map. But honestly, I think even every 0.0625 would work just fine). If you do not care about stacking damage, you could just take the damage effect and give it an area. Otherwise, do it like psi storm, persistent or behavior at the structure -> periodic search -> apply behavior -> periodic damage.
Overall, the performance of the data editor is very good, should not be a problem. Any other solution would most likely be inferior, for example when involving triggers or something.
another question, dose it take more CPU if they serach all target and apply for thous that are in range (one time), or they just serach all target and finds out that they already have it on?
because i dont know if it is the applying that is big CPU killer, or if it is the serach thing.
hope you can understand what im saying
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, im building a map where you can call down radiation (permenant structure), so each player will max have 50 structure (4 player map), and if anybody get near any of them they will take damage, i know i can use the Effect search area, and then add an damage effect, but in my world it sounds like much work CPU wise, so i was hopping anybody had an good ide to it.
Thats probably the best way, you could cut the interval a little (maybe damaging once every second or something, dependand on your map. But honestly, I think even every 0.0625 would work just fine). If you do not care about stacking damage, you could just take the damage effect and give it an area. Otherwise, do it like psi storm, persistent or behavior at the structure -> periodic search -> apply behavior -> periodic damage.
Overall, the performance of the data editor is very good, should not be a problem. Any other solution would most likely be inferior, for example when involving triggers or something.