Raised This Month: $ Target: $400
 0% 

how do i disable small/med/large blocks in blockmaker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mullekurden
Member
Join Date: Apr 2008
Old 08-31-2008 , 04:51   how do i disable small/med/large blocks in blockmaker
Reply With Quote #1

hello i have one of the old blockmaker version without the small & large blocks and i have made custom models.

but now i want to update the plugin to 4.01 (see here: http://forums.alliedmods.net/showthread.php?t=62967 )

but then every1 must download the small and large models too. that will be like 80 models + that i have cutom textures on them so it will be a large size of all blocks.

ive uploaded the .sma of the newest version and i wonder how to disable some large and small models step by step so players dont have to load like 80 models. the players will only load the blocks im using to the server (an example; invincibility small/large are useless for my server because it dosent matter if its small/med/large, it will still give the same thing.

im not a scripter so could you tell me step by step of to do in the .sma?

thank you
Attached Files
File Type: sma Get Plugin or Get Source (blockmaker_v4.01.sma - 646 views - 162.9 KB)
File Type: amxx blockmaker_v4.01.amxx (115.6 KB, 193 views)
__________________

mullekurden is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-31-2008 , 13:23   Re: how do i disable small/med/large blocks in blockmaker
Reply With Quote #2

Lines changed:

481
482
488
489
492
493
Attached Files
File Type: sma Get Plugin or Get Source (blockmaker_v4.01.sma - 799 views - 162.9 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
mullekurden
Member
Join Date: Apr 2008
Old 08-31-2008 , 13:37   Re: how do i disable small/med/large blocks in blockmaker
Reply With Quote #3

thank you can you please give me an example with a small medium and large block on those rows?
__________________

mullekurden is offline
mullekurden
Member
Join Date: Apr 2008
Old 08-31-2008 , 13:44   Re: how do i disable small/med/large blocks in blockmaker
Reply With Quote #4

exolent is that plugin made for no small and large blocks?
if so:
Quote:
i wonder how to disable SOME large and small models step by step so players dont have to load like 80 models.
i wanted to disable the useless small and large blocks like stealth. not all small/large models, i want some of them to be on my server but for now player needs to download ALL models im not using too.

like this:

PHP Code:
{
    
BM_PLATFORM,        
    
BM_BHOP,        
    
BM_DAMAGE,        
    
BM_HEALER,        
    
BM_NOFALLDAMAGE,    
    
BM_ICE,            
    
BM_TRAMPOLINE,        
    
BM_SPEEDBOOST,        
    
BM_INVINCIBILITY,    
    
BM_STEALTH,        
    
BM_DEATH,        
    
BM_NUKE,        
    
BM_CAMOUFLAGE,        
    
BM_LOWGRAVITY,        
    
BM_FIRE,       
    
BM_SLAP,        
    
BM_RANDOM,        
    
BM_HONEY,        
    
BM_BARRIER_CT,        
    
BM_BARRIER_T,        
    
BM_BOOTSOFSPEED,    
    
BM_GLASS,        
    
BM_BHOP_NOSLOW,        
    
BM_AUTO_BHOP  
}

{
    
BM_PLATFORM_small,        
    
BM_BHOP_small,        
    
BM_DAMAGE_small,        
    
BM_HEALER_small,        
    
BM_NOFALLDAMAGE_small,    
    
BM_ICE_small,            
    
BM_TRAMPOLINE_small,        
    
BM_SPEEDBOOST_small,        
    
BM_INVINCIBILITY_small,    
    
BM_STEALTH_small,        
    
BM_DEATH_small,        
    
BM_NUKE_small,        
    
BM_CAMOUFLAGE_small,        
    
BM_LOWGRAVITY_small,        
    
BM_FIRE_small,       
    
BM_SLAP_small,        
    
BM_RANDOM_small,        
    
BM_HONEY_small,        
    
BM_BARRIER_CT_small,        
    
BM_BARRIER_T_small,        
    
BM_BOOTSOFSPEED_small,    
    
BM_GLASS_small,        
    
BM_BHOP_NOSLOW_small,        
    
BM_AUTO_BHOP_small
}

{
       
BM_PLATFORM_big,        
    
BM_BHOP_big,        
    
BM_DAMAGE_big,        
    
BM_HEALER_big,        
    
BM_NOFALLDAMAGE_big,    
    
BM_ICE_big,            
    
BM_TRAMPOLINE_big,        
    
BM_SPEEDBOOST_big,        
    
BM_INVINCIBILITY_big,    
    
BM_STEALTH_big,        
    
BM_DEATH_big,        
    
BM_NUKE_big,        
    
BM_CAMOUFLAGE_big,        
    
BM_LOWGRAVITY_big,        
    
BM_FIRE_big,       
    
BM_SLAP_big,        
    
BM_RANDOM_big,        
    
BM_HONEY_big,        
    
BM_BARRIER_CT_big,        
    
BM_BARRIER_T_big,        
    
BM_BOOTSOFSPEED_big,    
    
BM_GLASS_big,        
    
BM_BHOP_NOSLOW_big,        
    
BM_AUTO_BHOP_big  

and if i dont want the server to load as example the small ct barrier ill do like this:
PHP Code:
    //BM_BARRIER_CT_SMALL 
if i have:
PHP Code:
//BM_SPEEDBOOST_BIG 
it will also disable so the server wont download the sprite for the big speedboost block either
__________________


Last edited by mullekurden; 08-31-2008 at 14:11.
mullekurden is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:05.


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