ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
635 stars 74 forks source link

[HL2DM] items respawn at 0 0 0 #1681

Open gavvvr opened 10 years ago

gavvvr commented 10 years ago

Hello. There is the article about this issue on wiki: https://developer.valvesoftware.com/wiki/Weapon_Respawn_Fix and there is the solution given in this article, which is not implemented in vavle's hl2dm game or latest SDK.

I will give you some examples of real maps where this bug happens now but never happened before big hl2dm OB update (october 2010):

You can check source-TV demos if you need: https://www.mediafire.com/folder/clp91oeeaq7hg/Broken_spawns

Items also disappear from default maps like dm_lockdown (one of ar2 ball in the toilets), but you can't find them, beause (0,0,0) is outside the map. As i mentioned before, it is not mapper's fault, earlier back in 2009 item spawns were not broken.

I would also mention issue #1274 here. After one of useless hl2dm update ar2 energy core became bigger in size, so it is now stuck in the floor on dm_lockdown and probably some other maps. They might also have broken spawn because of colliding with floor, just my suggestion. But other models seems to be unchanged. image image

gavvvr commented 10 years ago

1704 related discussion

gtamike commented 6 years ago

Hope this gets looked into.

scorpius2k1 commented 3 years ago

Hope this gets looked into.

Since this bug seems to specifically affect older maps compiled before hl2dm was ported to the ob engine 11 years ago, the faster and wiser fix at this point is a complete recompile of the affected map. The plus side being the maps will be optimized for the current engine and likely have less chances having issues and crashing since many entities other than items/weapons are affected by backwards compatibility. Support from valve for hl2dm is non-existent unless something is forked from an update with tf2/css, unfortunately.

hrgve commented 3 years ago

Fixed by this: https://github.com/hrgve/hl2dm-bugfix/commit/3796b4d948273ff0bd8b2d28198d38269d95ad63