Raised This Month: $12 Target: $400
 3% 

Adding code on my Blockmaker ( NADE property )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Eternities
Junior Member
Join Date: Jun 2014
Old 07-05-2014 , 15:03   Adding code on my Blockmaker ( NADE property )
Reply With Quote #1

Hello... I'm needing help with my blockmaker..

I want to know how can i add property value to change nade between "HE" , "SMOKE", "FLASH"..

At this moment is set as a "HE" but i have properties menu... and i only have transparency set on this block! and I want to add on this block... the properties to switch between "HE" , "SMOKE" and "FLASH"
and rename it as "NADES"

or if it is more simple... adding.. FLASH and SMOKE blocks separetly......

How i need to proceed... and where i need to edit or adding code...

Sorry for my bad english.. i'm from french canada!
thanks!

Last edited by Eternities; 07-05-2014 at 15:05.
Eternities is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-05-2014 , 19:17   Re: Adding code on my Blockmaker ( NADE property )
Reply With Quote #2

You want to block HE & SMOKE & FLash ?
__________________
Eagle07 is offline
Eternities
Junior Member
Join Date: Jun 2014
Old 07-05-2014 , 19:50   Re: Adding code on my Blockmaker ( NADE property )
Reply With Quote #3

Quote:
Originally Posted by Eagle07 View Post
You want to block HE & SMOKE & FLash ?
Well actually.. i have HE nade block in my block menu...

In the properties menu... of the HE block... I have::

Type: HE nade ( default name, cant be changed )
Properties #1 : Transparency : Default 255
Properties #2 : On top only : Default Yes

I want to add ::
Properties #3 : Nade type: Default HE .. can be changed between.. Flash, Smokes, He..

OR if this is hard...

I just want to add 2 new blocks called

Flash nade and Smoke nade and adding trans and ontoponly properties i can do it... but adding new blocks i dont know how !


SO in a brief description... there's 2 ways ...

First.. changing current HE nades.. into "NADES" with type properties between flash, he and smoke...

OR

Second... Adding those nade in different block name... FLASH - SMOKE ( i already have HE )


EDIT ::: I would like to add MONEY BLOCK and FIRE BLOCK and BLIND and DUCK ...

with properties of money... ( ontoponly, transparency, money ) ( default of money : 5000$.. can be changed of the value you want by typing it in the chat )
with properties of fire .... ( ontoponly, transpency, damage, damage per second ) ( Damage default : 5 ( can be changed w/e you want by typing the value ) and DMG per second ( default 0,5 ... can be changed into w/e i want by typing the value )

"" "" of blind... ( ontoponly, transparency, time, cooldown) ( time behing blind.. ) ( cooldown before you're blind again when standing on block )...
"" "" of duck ... ( ontoponly, transparency )


ALSO i did read that :: "" https://forums.alliedmods.net/showthread.php?t=112757 ""
But it doesnt work with my bm because it's not based on Necro BM version... Some part is the same... some is not...
Also Necro doesnt use properties action... mine use it... :

Exemple for On top online ::

PHP Code:
new const g_property4_name[TOTAL_BLOCKS][] =
{
    
"",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"",
    
"",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only",
    
"On Top Only"
};

new const 
g_property4_default_value[TOTAL_BLOCKS][] =
{
    
"",
    
"1",
    
"1",
    
"1",
    
"",
    
"",
    
"1",
    
"1",
    
"1",
    
"0",
    
"1",
    
"0",
    
"0",
    
"0",
    
"",
    
"0",
    
"0",
    
"1",
    
"1",
    
"1",
    
"1",
    
"1",
    
"1",
    
"1",
    
"1",
    
"1"
}; 

Last edited by Eternities; 07-05-2014 at 20:57.
Eternities 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 07:40.


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