Notes |
|
|
This practically means that you pick up the same items twice. |
|
|
(0001494)
|
unknownna
|
2011-04-28 12:16
(edited on: 2011-04-28 12:18) |
|
This also happens in the Terminator game mode.
|
|
|
(0001516)
|
Torr Samaho
|
2011-04-30 22:57
(edited on: 2011-04-30 23:01) |
|
Oh, boy. The persons who wrote the possession artifact spawning code apparently had no idea what they were doing (or tried not to think while writing it ;)). And no, it wasn't me who wrote this code :-P. This should fix the issue and also should ensure that a free spawning spot is used if available. I also got rid of some more code duplication (will this ever end?). Note that I didn't touch Terminator yet. Considering the copy and paste coding style that was used before I came to Skulltag, I'm sure I'll need to do the same things for Terminator. Afterwards, the code will be better and shorter though. So, enough ranting for now ;-), please test if Possession works properly now. Please test the whole game mode to ensure that the removal of the duplicate code doesn't have any side effects.
|
|
|
|
It fixed the pick up issue. But I noticed in D2DUEL7 that I couldn't find the hellstone anymore. The hellstone appeared outside the map boundaries, sometimes at a coordinate of:
x: 0
y: 0
There are 4 deathmatch player starts in the map. 3 bots were in the game. So when the player starts are taken by bots/players, the hellstone is spawned somewhere outside. |
|
|
|
I see, there was a small bug in the new code. Please test if this fixes the outside of map spawning problems. |
|
|
|
|
|
|
Good. This also makes terminator use the new artifact spawning code. |
|
|
|
|