Notes |
|
(0001276)
|
Edward-san
|
2011-04-03 18:17
(edited on: 2011-04-03 18:20) |
|
|
|
(0001288)
|
Gez
|
2011-04-04 12:32
|
|
In truth, it probably should be reverted to the normal behavior and maybe gravityless variants of the powerup created to replace their standard variants in the few maps that "required" this change. |
|
|
(0001291)
|
unknownna
|
2011-04-05 12:09
(edited on: 2011-04-05 12:13) |
|
> In truth, it probably should be reverted to the normal behavior
I agree.
Skulltag:
// [BC] I've applied +NOGRAVITY to all sphere powerups.
ACTOR Megasphere : CustomInventory 83
{
Game Doom
SpawnID 132
+COUNTITEM
+NOGRAVITY
+INVENTORY.ALWAYSPICKUP
Inventory.PickupMessage "$GOTMSPHERE"
Inventory.PickupSound "misc/p_pkup"
Inventory.PickupAnnouncerEntry "megasphere"
States
{
Spawn:
MEGA ABCD 6 BRIGHT
Loop
Pickup:
TNT1 A 0 A_GiveInventory("BlueArmorForMegasphere", 1)
TNT1 A 0 A_GiveInventory("MegasphereHealth", 1)
Stop
}
}
GZDoom 323:
ACTOR Megasphere : CustomInventory 83
{
Game Doom
SpawnID 132
+COUNTITEM
+INVENTORY.ALWAYSPICKUP
Inventory.PickupMessage "$GOTMSPHERE"
Inventory.PickupSound "misc/p_pkup"
States
{
Spawn:
MEGA ABCD 6 BRIGHT
Loop
Pickup:
TNT1 A 0 A_GiveInventory("BlueArmorForMegasphere", 1)
TNT1 A 0 A_GiveInventory("MegasphereHealth", 1)
Stop
}
}
|
|
|
|
> In truth, it probably should be reverted to the normal behavior
I agree with this, too. Nevertheless I think we need a compat flag that restores the current behavior then because some mods rely on it. |
|
|
|
Ok, I removed NOGRAVITY from InvulnerabilitySphere, Soulsphere, Megasphere and BlurSphere and added the new compatflag "nogravity spheres", controlled by the new CVAR compat_nogravity_spheres. The compatflag gives these spheres the NOGRAVITY flag again, but only when they are spawned by the map. Please test. |
|
|
(0001321)
|
unknownna
|
2011-04-09 22:24
(edited on: 2011-04-09 22:28) |
|
> Please test.
It works, but if sv_itemrespawn and sv_respawnsuper is 1, the NOGRAVITY spheres will not respawn with the flag applied to them.
|
|
|
|
This hopefully fixes the respawn issue. |
|
|
|
Yes, it seems to work now. |
|
|
|
Ok, so I can consider this to be resolved, right? |
|
|
|
Not yet. The spheres don't have the NOGRAVITY flag applied to them after a map reset if compat_nogravity_spheres is set to 1. |
|
|
|
Ok, this should also fix the problems after a map reset. |
|
|
|
It seems to work under normal conditions, but I somehow managed to desync the spheres. I don't know how to reproduce it yet. |
|
|
|
1. Start a survival server with nogravity_sphere_test_02.wad loaded. Make sure that compat_nogravity_spheres is set to 1.
2. Connect a client to the server.
3. Join the game.
4. During the warm-up countdown, "compat_nogravity_spheres 0" in the console.
It doesn't always desync though. But in the worst case, none of the spheres will be affected by gravity when compat_nogravity_spheres is set to 0. |
|
|
|
Well, compat_nogravity_spheres is not supposed to be changed during the game (but there is no convenient way to prevent it from being toggled freely). It's just a crutch to keep the few existing maps that rely on it working. As long as it fulfills this purpose, I think we shouldn't put any more work into it. |
|
|
|
I agree, but I wonder if this is a symptom of a deeper problem. |
|
|
|
Depends on what you mean with desync: Does this mean that client and server don't agree on whether the sphere has NOGRAVITY? |
|
|
|
> Does this mean that client and server don't agree on whether the sphere has NOGRAVITY?
No, it seems that the client and server are synced together. |
|
|
(0001497)
|
unknownna
|
2011-04-29 01:25
(edited on: 2011-04-29 01:59) |
|
I found another issue: Spheres aren't affected by the compatflag after a map reset in (Team)Possession. Perhaps it's not a bug.
Edit:
It seems that if sv_itemrespawn/sv_respawnsuper is set to 0, items will not respawn during map resets in (Team)Possession.
|
|
|
(0001527)
|
Torr Samaho
|
2011-05-01 13:12
(edited on: 2011-05-01 13:18) |
|
For some reason possession deliberately doesn't do a full map reset. It just respawns everything that would respawn based on the current dmflags. So I'd say this is not really a bug.
Nevertheless, does anybody see a good reason why possession doesn't do a full map reset?
|
|