Radiation [SUBMISSION]
- Blue Shadow
- Administrator
Less
More
- Posts: 1129
7 years 7 months ago #21
by Blue Shadow
Replied by Blue Shadow on topic Radiation [SUBMISSION]
There seems to be an issue: the radiation actor won't start hurting you unless it sees you first. Let's say the actor is inside a small, closed room. If you pass by the room, you won't be damaged. Once you open the door and the actor sees you, it'll start hurting you. If you close the door or get out of its sight, you'll still be hurt (this is an expected behavior). You'll be hurt as long as you're in its range. Once you get out of its range then get in, it won't hurt you unless it sees you first.
Does that make any sense?
Now, looking at the code, I see usage of A_JumpIfCloser and A_Look. This means the actor tries to do things based on whether it has a target or, if it does, said target is in range or not. I believe this where the problem lies. The actor's logic need not to rely on targeting a specific actor.
Does that make any sense?
Now, looking at the code, I see usage of A_JumpIfCloser and A_Look. This means the actor tries to do things based on whether it has a target or, if it does, said target is in range or not. I believe this where the problem lies. The actor's logic need not to rely on targeting a specific actor.
Please Log in or Create an account to join the conversation.
- HexenMapper
- Topic Author
- Dark Imp
Less
More
- Posts: 12
7 years 7 months ago #22
by HexenMapper
Replied by HexenMapper on topic Radiation [SUBMISSION]
Dang, I'll have a look into this...
Please Log in or Create an account to join the conversation.
- Dreadopp
- Administrator
Less
More
- Posts: 183
7 years 2 months ago #23
by Dreadopp
Replied by Dreadopp on topic Radiation [SUBMISSION]
Just wondering if there has been any update with the issue mentioned above.
Please Log in or Create an account to join the conversation.
- HexenMapper
- Topic Author
- Dark Imp
Less
More
- Posts: 12
7 years 2 months ago #24
by HexenMapper
Replied by HexenMapper on topic Radiation [SUBMISSION]
I haven't done any work on this - its fairly low priority and I'm pretty busy these days
Please Log in or Create an account to join the conversation.
- Blue Shadow
- Administrator
Less
More
- Posts: 1129
7 years 2 months ago #25
by Blue Shadow
Replied by Blue Shadow on topic Radiation [SUBMISSION]
Closing then.
Please Log in or Create an account to join the conversation.