There's now a menu option to choose a couple preset colors for your props, as well as a cmd called sm_setpropcolor for custom colors.
You can now choose with sm_propspawner_use_mode what should happen when a plugin spawned prop is +use'd. If set to 1, the prop will not be able to be moved by CTs. If set to 2 and a CT moves it, they will be added to the notify list.
Plugin spawned props will no longer collide with func_clip_vphysics entities.
Plugin spawned props will be set to CT team if sm_propspawner_notify_shot is set.
The channel used in ShowHudText for the notify list hud will change every once in a while, to avoid collisions. Also fixed the issue where it would change position on screen depending on how many lines it had.
Any change that mentions "plugin spawned props" will not work unless sm_propspawner_notify_shot is set at the moment the prop is spawned, due to how g_aSpawnedProps works. I believe its original purpose of unhooking SDKHook_OnTakeDamage may be unnecessary (see https://forums.alliedmods.net/showthread.php?t=291921), and it would perhaps be better to change this so all props are added to g_aSpawnedProps always.
Changes are:
- There's now a menu option to choose a couple preset colors for your props, as well as a cmd called sm_setpropcolor for custom colors.
- You can now choose with sm_propspawner_use_mode what should happen when a plugin spawned prop is +use'd. If set to 1, the prop will not be able to be moved by CTs. If set to 2 and a CT moves it, they will be added to the notify list.
- Plugin spawned props will no longer collide with func_clip_vphysics entities.
- Plugin spawned props will be set to CT team if sm_propspawner_notify_shot is set.
- The channel used in ShowHudText for the notify list hud will change every once in a while, to avoid collisions. Also fixed the issue where it would change position on screen depending on how many lines it had.
Any change that mentions "plugin spawned props" will not work unless sm_propspawner_notify_shot is set at the moment the prop is spawned, due to how g_aSpawnedProps works. I believe its original purpose of unhooking SDKHook_OnTakeDamage may be unnecessary (see https://forums.alliedmods.net/showthread.php?t=291921), and it would perhaps be better to change this so all props are added to g_aSpawnedProps always.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Changes are:
Any change that mentions "plugin spawned props" will not work unless sm_propspawner_notify_shot is set at the moment the prop is spawned, due to how g_aSpawnedProps works. I believe its original purpose of unhooking SDKHook_OnTakeDamage may be unnecessary (see https://forums.alliedmods.net/showthread.php?t=291921), and it would perhaps be better to change this so all props are added to g_aSpawnedProps always.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.