AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011 (https://forums.alliedmods.net/showthread.php?t=148387)

Greyscale 03-20-2011 18:11

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
Well shit. Very nice.

Peace-Maker 03-23-2011 15:15

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
stock Client_SetScreenOverlayForAll(const String:path[]);
Code:

for (new client=0; client <= MaxClients; client++)

miniman 03-30-2011 02:42

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
PHP Code:

stock Collision_Group_t:Entity_GetCollisionGroup(entity)
{
    return 
GetEntProp(entityProp_Data,"m_CollisionGroup");


change to :

PHP Code:

stock Collision_Group_t:Entity_GetCollisionGroup(entity)
{
    return 
Collision_Group_t:GetEntProp(entityProp_Data,"m_CollisionGroup");


otherwise it causes tag mismatch warning

0x00 04-11-2011 11:16

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
Team_SetName(); doesnt work with TF2

berni 04-11-2011 11:34

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
Quote:

Originally Posted by 0x00 (Post 1447731)
Team_SetName(); doesnt work with TF2

This should already be fixed on svn.

0x00 04-11-2011 12:29

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
I've just tried to dissolve ragdolls and entities (weapons) and doesnt seems to be working either, are those fixed in the latest svn?

berni 04-11-2011 13:14

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
Oh I forgot to mention, the team names in TF2's scoreboard are probably client side like in CS:S, it only works for games where the scoreboard names are networked like in HL2:DM. CS:S's scoreboard is clientside so I assume TF2's is too.

Dissolving player ragdolls only works in the player_death event (with Effect_DissolvePlayerRagDoll()). For Entities you should use Effect_DissolveEntity(), but I haven't tested it with entities afaik, it maybe doesn't work at all.

0x00 04-11-2011 13:19

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
Ok. Now about the dissolver, I'm calling Effect_DissolvePlayerRagDoll(); on player_death event and Effect_DissolveEntity(); on WeaponDrop of SDKHooks, ragdoll never dissolves however weapons dissolve randomly ( most of the time not, but sometimes yes - I've tested and they got dissolved 3 times out of 38 ).

berni 04-11-2011 13:34

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
ok, I'm going to test this out and will come back to you ^^

0x00 04-12-2011 07:47

Re: SMLIB 0.10.1 BETA (over 300 Function Stocks) | updated 07.03.2011
 
By delaying the dissolver for player ragdolls to 0.1s solved the problem, however doing the same (even with higher values) doesnt seems to work with weapons & the entity dissolver. Waiting your feedback. :3


All times are GMT -4. The time now is 21:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.