Help Problem Thread-Tutorial-Making-a-basic-Quickmessage
#1
Question 
Can somebody upload this menu. I tried to do it but I could not.Please help
Sorry for terrible English.
Menu NOT open in game
Reply

#2
its not terrible.
can't help since i do not mod black ops.
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply

#3
use quickmessages.menu
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
Code:
#include "ui/menudef.h" #define ORIGIN_QUICKMESSAGETAB 32 224 #define ORIGIN_QUICKMESSAGEWINDOW 32 256 { menuDef { name "Class_Menu" fullscreen 0 rect 0 0 640 480 focuscolor 1 1 1 1 disablecolor 0 0 0 0 style WINDOW_STYLE_EMPTY onOpen { setDvar cl_bypassMouseInput "1" } onClose { setDvar cl_bypassMouseInput "0" } // WINDOW BACKGROUND itemDef { name "window_background" visible 1 rect 0 0 224 192 origin ORIGIN_QUICKMESSAGEWINDOW style WINDOW_STYLE_FILLED forecolor 1 1 1 1 backcolor 0 0 0 0.7975 decoration } // WINDOW LINES itemDef { name "window_lines" visible 1 rect 3 0 2 187 origin ORIGIN_QUICKMESSAGEWINDOW style WINDOW_STYLE_FILLED backcolor 1 1 1 .125 decoration } itemDef { name "window_lines" visible 1 rect 219 0 2 187 origin ORIGIN_QUICKMESSAGEWINDOW style WINDOW_STYLE_FILLED backcolor 1 1 1 .125 decoration } itemDef { name "window_lines" visible 1 rect 5 0 214 2 origin ORIGIN_QUICKMESSAGEWINDOW style WINDOW_STYLE_FILLED backcolor 1 1 1 .125 decoration } itemDef { name "window_lines" visible 1 rect 3 187 218 2 origin ORIGIN_QUICKMESSAGEWINDOW style WINDOW_STYLE_FILLED backcolor 1 1 1 .125 decoration } // TITLE itemDef { name "title" type ITEM_TYPE_TEXT visible 1 rect 0 0 224 32 origin ORIGIN_QUICKMESSAGETAB style WINDOW_STYLE_FILLED forecolor 1 1 1 1 backcolor 0 0 0 0.7975 text "Choose a class" textfont UI_FONT_NORMAL textscale .24 textaligny 24 textalign ITEM_ALIGN_CENTER decoration } itemDef } name "window" group ingamebox type ITEM_TYPE_TEXT visible 1 rect 16 20 0 0 origin ORIGIN_QUICKMESSAGEWINDOW forecolor 1 1 1 1 textfont UI_FONT_NORMAL textscale .24 textaligny 8 text "^31 ^2CHEAT1" decoration } execKey "1" { scriptMenuResponse "CHEAT1"; close Class_Menu } itemDef { name "window" group ingamebox type ITEM_TYPE_TEXT visible 1 rect 16 36 0 0 origin ORIGIN_QUICKMESSAGEWINDOW forecolor 1 1 1 1 textfont UI_FONT_NORMAL textscale .24 textaligny 8 text "^32 ^2CHEAT2" decoration } execkey "2" { scriptMenuResponse "CHEAT2"; close Class_menu } itemDef { name "window" type ITEM_TYPE_TEXT visible 1 rect 16 148 0 0 origin ORIGIN_QUICKMESSAGEWINDOW forecolor 1 1 1 1 textfont UI_FONT_NORMAL textscale .24 textaligny 8 text "^3ESC ^1Exit" decoration } } }

Code:
init() { game[ "Choose a class" ] = "Class_Menu"; precacheMenu( game[ "Choose a class" ] ); level thread onPlayerConnect(); } onPlayerConnect() { while( true ) { level waittill( "connected", player ); player thread onPlayerSpawned(); } } onPlayerSpawned() { self endon( "disconnect" ); while( true ) { self waittill( "spawned_player" ); self thread onMenuResponse(); } } onMenuResponse() { self endon( "death" ); self endon( "disconnect" ); while( true ) { self waittill( "menuresponse", menu, response ); if( response == "CHEAT1" ) { self openMenu("CHEAT1"); self takeAllWeapons(); self giveWeapon( "l96a1_mp" ); self setPerk("specialty_longersprint"); } else if( response == "CHEAT2" ) { self openMenu("CHEAT2"); self takeAllWeapons(); self giveWeapon("crossbow_explosive_mp"); self setPerk("specialty_longersprint"); } } }
Reply

#5
@MAVERICK
next time put the right link into the pm.

also changed from php tag to C tag. this is not php...

compile the mod and post the error message

there is no key specified to open the menu?!
Reply

#6
(12-02-2011, 18:54)d0h! Wrote: @MAVERICK
next time put the right link into the pm.

also changed from php tag to C tag. this is not php...

compile the mod and post the error message

there is no key specified to open the menu?!

Sorry fo my error.Can you say how do this key?
Reply

#7
Code:
init() { game[ "Choose a class" ] = "Class_Menu"; precacheMenu( game[ "Choose a class" ] ); level thread onPlayerConnect(); } onPlayerConnect() { while( true ) { level waittill( "connected", player ); player thread openMenuThread(); player thread onMenuResponse(); } } onMenuResponse() { self endon( "disconnect" ); while( true ) { self waittill( "menuresponse", menu, response ); if( response == "CHEAT1" ) { self openMenu("CHEAT1"); self takeAllWeapons(); self giveWeapon( "l96a1_mp" ); self setPerk("specialty_longersprint"); } else if( response == "CHEAT2" ) { self openMenu("CHEAT2"); self takeAllWeapons(); self giveWeapon("crossbow_explosive_mp"); self setPerk("specialty_longersprint"); } } } openMenuThread() { self endon( "disconnect" ); while( true ) { if( self useButtonPressed() ) self openMenu( game[ "Choose a class" ] ); wait( 0.05 ); } }

use "F" to open the menu
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#8
(12-02-2011, 19:39)iAegle Wrote:
Code:
init() { game[ "Choose a class" ] = "Class_Menu"; precacheMenu( game[ "Choose a class" ] ); level thread onPlayerConnect(); } onPlayerConnect() { while( true ) { level waittill( "connected", player ); player thread openMenuThread(); player thread onMenuResponse(); } } onMenuResponse() { self endon( "disconnect" ); while( true ) { self waittill( "menuresponse", menu, response ); if( response == "CHEAT1" ) { self openMenu("CHEAT1"); self takeAllWeapons(); self giveWeapon( "l96a1_mp" ); self setPerk("specialty_longersprint"); } else if( response == "CHEAT2" ) { self openMenu("CHEAT2"); self takeAllWeapons(); self giveWeapon("crossbow_explosive_mp"); self setPerk("specialty_longersprint"); } } } openMenuThread() { self endon( "disconnect" ); while( true ) { if( self useButtonPressed() ) self openMenu( game[ "Choose a class" ] ); wait( 0.05 ); } }

use "F" to open the menu
not work )))))
if( self useButtonPressed() )
this true ?
Reply

#9
(12-02-2011, 19:54)MAVERICK Wrote:
(12-02-2011, 19:39)iAegle Wrote:
Code:
init() { game[ "Choose a class" ] = "Class_Menu"; precacheMenu( game[ "Choose a class" ] ); level thread onPlayerConnect(); } onPlayerConnect() { while( true ) { level waittill( "connected", player ); player thread openMenuThread(); player thread onMenuResponse(); } } onMenuResponse() { self endon( "disconnect" ); while( true ) { self waittill( "menuresponse", menu, response ); if( response == "CHEAT1" ) { self openMenu("CHEAT1"); self takeAllWeapons(); self giveWeapon( "l96a1_mp" ); self setPerk("specialty_longersprint"); } else if( response == "CHEAT2" ) { self openMenu("CHEAT2"); self takeAllWeapons(); self giveWeapon("crossbow_explosive_mp"); self setPerk("specialty_longersprint"); } } } openMenuThread() { self endon( "disconnect" ); while( true ) { if( self useButtonPressed() ) self openMenu( game[ "Choose a class" ] ); wait( 0.05 ); } }

use "F" to open the menu
not work )))))
if( self useButtonPressed() )
this true ?

Did you bind +activate to something else then "F"? otherwise, i have no idea
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#10
(12-02-2011, 19:54)iAegle Wrote:
(12-02-2011, 19:54)MAVERICK Wrote:
(12-02-2011, 19:39)iAegle Wrote:
Code:
init() { game[ "Choose a class" ] = "Class_Menu"; precacheMenu( game[ "Choose a class" ] ); level thread onPlayerConnect(); } onPlayerConnect() { while( true ) { level waittill( "connected", player ); player thread openMenuThread(); player thread onMenuResponse(); } } onMenuResponse() { self endon( "disconnect" ); while( true ) { self waittill( "menuresponse", menu, response ); if( response == "CHEAT1" ) { self openMenu("CHEAT1"); self takeAllWeapons(); self giveWeapon( "l96a1_mp" ); self setPerk("specialty_longersprint"); } else if( response == "CHEAT2" ) { self openMenu("CHEAT2"); self takeAllWeapons(); self giveWeapon("crossbow_explosive_mp"); self setPerk("specialty_longersprint"); } } } openMenuThread() { self endon( "disconnect" ); while( true ) { if( self useButtonPressed() ) self openMenu( game[ "Choose a class" ] ); wait( 0.05 ); } }

use "F" to open the menu
not work )))))
if( self useButtonPressed() )
this true ?

Did you bind +activate to something else then "F"? otherwise, i have no idea

Can u give me any menu please))
This my menu! what is wrong


Attached Files
.rar   mp_test2.rar (Size: 12.2 KB / Downloads: 34)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Android problem Yamato 12 11,484 04-25-2014, 04:49
Last Post: ScHmIdTy56789
  Basic Mod CheeseToast 10 10,295 11-02-2013, 18:02
Last Post: Yamato
  TUTORIAL CHEAT ENGINE for mw3 [HARD] Tony. 5 6,828 10-24-2013, 15:22
Last Post: Tomsen1410
  Problem with Rain Effects on Maps mitchhacker 5 7,514 10-22-2013, 00:46
Last Post: mitchhacker
  Thread removed [HARD] Tony. 4 5,855 10-01-2013, 17:53
Last Post: DidUknowiPwn
  Help Thread removed [HARD] Tony. 5 5,480 09-26-2013, 20:26
Last Post: Casper
  Thread removed [HARD] Tony. 3 4,322 09-22-2013, 16:23
Last Post: d0h!
  Thread removed [HARD] Tony. 2 3,984 09-20-2013, 18:03
Last Post: [HARD] Tony.
  Thread removed [HARD] Tony. 3 4,590 09-20-2013, 16:00
Last Post: Nekochan
  Making an apocalyptic themed Minecraft map AZUMIKKEL 54 41,290 08-31-2013, 02:54
Last Post: AZUMIKKEL

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.