07-03-2011, 15:34
07-03-2011, 22:43
I get the following warning from the mod tool commmand: WARNING: menu file not found: ui_mp/scriptmenus/class_menu.menu
and how do i open the menu?
EDIT: nvm i found the problem
Nice tutorial, helped me alot!!
and how do i open the menu?
EDIT: nvm i found the problem
Nice tutorial, helped me alot!!
07-04-2011, 01:44
Failed again at doing it, not sure what the problem is.. i think i get lost when you say "what ever you named it to" instead of giving the examples like you do in the first half of the tutorial. What is IT etc, there is a few different things we name.
Maybe i have down syndrome, I still cant get this to work though & i tried 3 times... i get no compile errors or anything, i just cant seem to get it to show thru on spawn or a key command, so im doing something wrong..
x.x i ended up copying one from another mod the same as this that u helped on and it worked, maybe i had a name spelt wrong or something, i dont know.
Maybe i have down syndrome, I still cant get this to work though & i tried 3 times... i get no compile errors or anything, i just cant seem to get it to show thru on spawn or a key command, so im doing something wrong..
x.x i ended up copying one from another mod the same as this that u helped on and it worked, maybe i had a name spelt wrong or something, i dont know.
07-04-2011, 06:11
good tutorial
07-05-2011, 12:43
(07-04-2011, 01:44)koil Wrote: [ -> ]Failed again at doing it, not sure what the problem is.. i think i get lost when you say "what ever you named it to" instead of giving the examples like you do in the first half of the tutorial. What is IT etc, there is a few different things we name.
Maybe i have down syndrome, I still cant get this to work though & i tried 3 times... i get no compile errors or anything, i just cant seem to get it to show thru on spawn or a key command, so im doing something wrong..
x.x i ended up copying one from another mod the same as this that u helped on and it worked, maybe i had a name spelt wrong or something, i dont know.
wich mod? :3
07-08-2011, 22:38
how can you link the menu to a button?
for example, everytime you press X the menu opens
for example, everytime you press X the menu opens
07-09-2011, 08:29
self openmenu("menuname");
07-10-2011, 23:08
I'm having a problem. I can open the menu fine, however when I press my desired button, nothing happens (the menu closes, but other than that nothing).
Some of my code is:
Some of my code is:
PHP Code:
onMenuResponse()
{
self endon( "death" );
self endon( "disconnect" );
while( true )
{
self waittill( "menuresponse", menu, response );
if( response == "special1" )
{
//special1
self giveWeapon( "ak47_mp" );
self iprintlnbold("testing");
}
}
}
PHP Code:
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 "^11. Special Ability #1"
decoration
}
execKey "1" { scriptMenuResponse "special1"; close main_mod_menu; }
07-11-2011, 15:23
^bump anyone know what I might be doing wong? :S
07-15-2011, 16:22
Error: filesize > 0
assert
how to solve?
assert
how to solve?