AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how do i disable small/med/large blocks in blockmaker (https://forums.alliedmods.net/showthread.php?t=76822)

mullekurden 08-31-2008 04:51

how do i disable small/med/large blocks in blockmaker
 
2 Attachment(s)
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 :)

Exolent[jNr] 08-31-2008 13:23

Re: how do i disable small/med/large blocks in blockmaker
 
1 Attachment(s)
Lines changed:

481
482
488
489
492
493

mullekurden 08-31-2008 13:37

Re: how do i disable small/med/large blocks in blockmaker
 
thank you can you please give me an example with a small medium and large block on those rows?

mullekurden 08-31-2008 13:44

Re: how do i disable small/med/large blocks in blockmaker
 
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


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

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