Raised This Month: $ Target: $400
 0% 

Blockmaker Color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 05-30-2009 , 17:55   Blockmaker Color
Reply With Quote #1

After i uploaded my blockmaker into my ftp, and i went to my server then the blockmaker was all messed up, the color wouldnt show! it just had the abbrieveation for it. y=yellow w=white r=red =[ help
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 05-31-2009 , 05:41   Re: Blockmaker Color
Reply With Quote #2

What do you mean?

Did it look like "wBlock Menu" in-game?
zacky is offline
Send a message via Skype™ to zacky
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 05-31-2009 , 22:11   Re: Blockmaker Color
Reply With Quote #3

Quote:
Originally Posted by zacky View Post
What do you mean?

Did it look like "wBlock Menu" in-game?
Yeah,

wBlock Menu
r1.yPlatform
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 06-01-2009 , 02:37   Re: Blockmaker Color
Reply With Quote #4

Change it to \r1. \yPlatform
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!


Last edited by LaineN; 06-02-2009 at 15:16.
LaineN is offline
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 06-01-2009 , 19:09   Re: Blockmaker Color
Reply With Quote #5

i tried that and it still didnt work
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-01-2009 , 22:39   Re: Blockmaker Color
Reply With Quote #6

What game are you running it on?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 06-03-2009 , 17:21   Re: Blockmaker Color
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
What game are you running it on?
Counter-Strike1.6 HideNSeek 2.8 W/ Blockmaker 4.01 By Necro
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-03-2009 , 17:36   Re: Blockmaker Color
Reply With Quote #8

I just needed the game.
Anyway, Counter-Strike 1.6 allows colored menus, so that isn't the problem.

Show us the code for the menus.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 06-06-2009 , 01:25   Re: Blockmaker Color
Reply With Quote #9

Code:
/create main menu
    new size = sizeof(gszMainMenu);
    add(gszMainMenu, size, "\yBlock Maker Menu^n^n");
    add(gszMainMenu, size, "\r1. \wBlock Menu^n");
    add(gszMainMenu, size, "\r2. \wTeleport Menu^n");
    add(gszMainMenu, size, "\r3. \wTimer Menu^n");
    add(gszMainMenu, size, "\r4. \wMeasuring Tool^n");
    add(gszMainMenu, size, "\r5. \wLong Jump Creator^n^n");
    add(gszMainMenu, size, "\r6. %sNoclip: %s^n");
    add(gszMainMenu, size, "\r7. %sGodmode: %s^n^n^n");
    add(gszMainMenu, size, "\r9. \wOptions Menu^n");
    add(gszMainMenu, size, "\r0. \wClose");
    gKeysMainMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
    
    //create block menu
    size = sizeof(gszBlockMenu);
    add(gszBlockMenu, size, "\yBlock Menu^n^n");
    add(gszBlockMenu, size, "\r1. \wBlock Type: \y%s^n");
    add(gszBlockMenu, size, "\r2. %sCreate Block^n");
    add(gszBlockMenu, size, "\r3. %sConvert Block^n");
    add(gszBlockMenu, size, "\r4. %sDelete Block^n");
    add(gszBlockMenu, size, "\r5. %sRotate Block^n^n");
    add(gszBlockMenu, size, "\r6. %sNoclip: %s^n");
    add(gszBlockMenu, size, "\r7. %sGodmode: %s^n");
    add(gszBlockMenu, size, "\r8. \wBlock Size: \y%s^n^n");
    add(gszBlockMenu, size, "\r9. \wOptions Menu^n");
    add(gszBlockMenu, size, "\r0. \wBack");
    gKeysBlockMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | B0;
    gKeysBlockSelectionMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | B0;
    
    //create teleport menu
    size = sizeof(gszTeleportMenu);
    add(gszTeleportMenu, size, "\yTeleporter Menu^n^n");
    add(gszTeleportMenu, size, "\r1. %sTeleport Start^n");
    add(gszTeleportMenu, size, "\r2. %sTeleport Destination^n");
    add(gszTeleportMenu, size, "\r3. %sSwap Teleport Start/Destination^n");
    add(gszTeleportMenu, size, "\r4. %sDelete Teleport^n");
    add(gszTeleportMenu, size, "\r5. %sShow Teleport Path^n^n");
    add(gszTeleportMenu, size, "\r6. %sNoclip: %s^n");
    add(gszTeleportMenu, size, "\r7. %sGodmode: %s^n^n^n");
    add(gszTeleportMenu, size, "\r9. \wOptions Menu^n");
    add(gszTeleportMenu, size, "\r0. \wBack");
    gKeysTeleportMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
    
    //create timer menu
    size = sizeof(gszTimerMenu);
    add(gszTimerMenu, size, "\yTimer Menu^n^n");
    add(gszTimerMenu, size, "\r1. %sTimer Start^n");
    add(gszTimerMenu, size, "\r2. %sTimer End^n");
    add(gszTimerMenu, size, "\r3. %sSwap Start/End^n");
    add(gszTimerMenu, size, "\r4. %sDelete Timer^n");
    add(gszTimerMenu, size, "\r5. %sRotate Timer^n^n");
    add(gszTimerMenu, size, "\r6. %sNoclip: %s^n");
    add(gszTimerMenu, size, "\r7. %sGodmode: %s^n^n^n");
    add(gszTimerMenu, size, "\r9. \wOptions Menu^n");
    add(gszTimerMenu, size, "\r0. \wBack");
    gKeysTimerMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
    
    //measuring tool menu
    size = sizeof(gszMeasureMenu);
    add(gszMeasureMenu, size, "\yMeasuring Tool Menu^n^n");
    add(gszMeasureMenu, size, "\r1. \wBlock 1: \y%s^n");
    add(gszMeasureMenu, size, "\r2. \wBlock 2: \y%s^n");
    add(gszMeasureMenu, size, "\r3. \wPosition 1: \y%.2f, %.2f, %.2f^n");
    add(gszMeasureMenu, size, "\r4. \wPosition 2: \y%.2f, %.2f, %.2f^n^n");
    add(gszMeasureMenu, size, "\r5. %sMeasuring Tool: %s^n");
    add(gszMeasureMenu, size, "\r6. %sNoclip: %s^n");
    add(gszMeasureMenu, size, "\r7. %sGodmode: %s^n^n^n");
    add(gszMeasureMenu, size, "\r9. \wOptions Menu^n");
    add(gszMeasureMenu, size, "\r0. \wBack");
    gKeysMeasureMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B9 | B0;
    
    //long jump menu
    size = sizeof(gszLongJumpMenu);
    add(gszLongJumpMenu, size, "\yLong Jump Creator Menu^n^n");
    add(gszLongJumpMenu, size, "\r1. \wDistance +^n");
    add(gszLongJumpMenu, size, "\r2. %sCreate \y%d %sUnit Long Jump Along \y%s^n");
    add(gszLongJumpMenu, size, "\r3. \wDistance -^n");
    add(gszLongJumpMenu, size, "\r4. %sDelete Block^n");
    add(gszLongJumpMenu, size, "\r5. %sRotate^n^n");
    add(gszLongJumpMenu, size, "\r6. %sNoclip: %s^n");
    add(gszLongJumpMenu, size, "\r7. %sGodmode: %s^n");
    add(gszLongJumpMenu, size, "\r8. \wBlock Size: \y%s^n^n");
    add(gszLongJumpMenu, size, "\r9. \wOptions Menu^n");
    add(gszLongJumpMenu, size, "\r0. \wBack");
    gKeysLongJumpMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | B0;
    
    //create the options menu
    size = sizeof(gszOptionsMenu);
    add(gszOptionsMenu, size, "\yOptions Menu^n^n");
    add(gszOptionsMenu, size, "\r1. %sSnapping: %s^n");
    add(gszOptionsMenu, size, "\r2. %sSnapping gap: \y%.1f^n");
    add(gszOptionsMenu, size, "\r3. %sAdd to group^n");
    add(gszOptionsMenu, size, "\r4. %sClear group^n^n");
    add(gszOptionsMenu, size, "\r5. %sDelete all blocks^n");
    add(gszOptionsMenu, size, "\r6. %sDelete all teleports^n^n");
    add(gszOptionsMenu, size, "\r7. %sSave to file^n");
    add(gszOptionsMenu, size, "\r8. %sLoad from file^n");
    add(gszOptionsMenu, size, "\r9. \wShow help^n");
    add(gszOptionsMenu, size, "\r0. \wBack");
    gKeysOptionsMenu = B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | B0;
    
    //create choice (YES/NO) menu
    size = sizeof(gszChoiceMenu);
    add(gszChoiceMenu, size, "\y%s^n^n");
    add(gszChoiceMenu, size, "\r1. \wYes^n");
    add(gszChoiceMenu, size, "\r2. \wNo^n^n^n^n^n^n^n^n^n^n");
    add(gszChoiceMenu, size, "\r0. \wBack");
    gKeysChoiceMenu = B1 | B2 | B0;
}

setupBlockRendering(blockType, renderType, red, green, blue, alpha)
{
gRender[blockType] = renderType;
gRed[blockType] = red;
gGreen[blockType] = green;
gBlue[blockType] = blue;
gAlpha[blockType] = alpha;
}

setBlockModelNameLarge(szBlockModelTarget[256], szBlockModelSource[256], size)
{
szBlockModelTarget = szBlockModelSource;
replace(szBlockModelTarget, size, ".mdl", "_large.mdl");
}

setBlockModelNameSmall(szBlockModelTarget[256], szBlockModelSource[256], size)
{
szBlockModelTarget = szBlockModelSource;
replace(szBlockModelTarget, size, ".mdl", "_small.mdl");
}

processBlockModels()
{     
//get full path to block models config file
new szBlockModelsFile[96];
get_configsdir(szBlockModelsFile, 96);
add(szBlockModelsFile, 96, "/blockmaker_models.ini");

//open block models config file for reading
new f = fopen(szBlockModelsFile, "rt");
new szData[160];
new szType[32];
new szBlockModel[256];
new szRender[16];
new szRed[8];
new szGreen[8];
new szBlue[8];
new szAlpha[8];
new blockType;
new render;
new red;
new green;
new blue;
new alpha;

//iterate through all the lines in the file
while (!feof(f))
{
//clear data
szBlockModel = "";
szRender = "";
szRed = "";
szGreen = "";
szBlue = "";
szAlpha = "";
blockType = -1;
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
Raymondddd
Member
Join Date: Jun 2008
Location: Milbrae,94030
Old 06-12-2009 , 04:02   Re: Blockmaker Color
Reply With Quote #10

Yep, Thats the code
__________________
IN GAME NAME : Solomez
Raymondddd is offline
Send a message via ICQ to Raymondddd Send a message via AIM to Raymondddd Send a message via MSN to Raymondddd Send a message via Yahoo to Raymondddd Send a message via Skype™ to Raymondddd
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 13:50.


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