Results 1 to 10 of 39

Thread: PICK up and MOVE MG42 Mod (Mobile MG42)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by G-Stuff002 View Post
    Thanks Tally, I'll try to do additions it myself, but what's my error? I make additional points in weapons menu but I have wrong distance
    Spoiler:
    Click image for larger version. 

Name:	distance2.jpg 
Views:	16 
Size:	59.9 KB 
ID:	1440


    1_weapon_pistol GSC.7z
    1weapon_pistols Menu.7z


    I both reviewed all the content of the sites Nexus and gamefront and did not find the necessary stand-alone versions, many are repeated and the most interesting are not present
    You have this for the flamethrower:

    Code:
    	itemDef 
    	{
      		name   		"button_flamethrower"
      		visible   		1
      		rect  		 0 0 128 24
      		origin   		ORIGIN_CHOICE5
      		forecolor  	GLOBAL_UNFOCUSED_COLOR
      		type   		ITEM_TYPE_BUTTON
     		text   		"@6. flamethrower"
      		textfont  		UI_FONT_NORMAL
      		textscale  	GLOBAL_TEXT_SIZE
      		textstyle  	ITEM_TEXTSTYLE_SHADOWED
      		textaligny  	20
    		dvartest	"ui_allow_pistols"
    		showDvar	{ "1" }
      		action
      		{
       			play "mouse_click";
       			scriptMenuResponse "flamethrower_mp";
      		}
      		onFocus
      		{
    			play "mouse_over";
       			hide webley_info;
    			hide tt30_info;
    			hide colt_info;
    			hide luger_info;
    			hide p38_info;
                      hide mg42dpl_info;
                      show flamethrower_info;
       			
      		}
    	}
    In that one, your ORIGIN_CHOICE number is 5. That position is already occupied by the P38. So, you should renumber it to 6:

    Code:
    	itemDef 
    	{
      		name   		"button_flamethrower"
      		visible   		1
      		rect  		 0 0 128 24
      		origin   		ORIGIN_CHOICE6
      		forecolor  	GLOBAL_UNFOCUSED_COLOR
      		type   		ITEM_TYPE_BUTTON
     		text   		"@6. flamethrower"
      		textfont  		UI_FONT_NORMAL
      		textscale  	GLOBAL_TEXT_SIZE
      		textstyle  	ITEM_TEXTSTYLE_SHADOWED
      		textaligny  	20
    		dvartest	"ui_allow_pistols"
    		showDvar	{ "1" }
      		action
      		{
       			play "mouse_click";
       			scriptMenuResponse "flamethrower_mp";
      		}
      		onFocus
      		{
    			play "mouse_over";
       			hide webley_info;
    			hide tt30_info;
    			hide colt_info;
    			hide luger_info;
    			hide p38_info;
                      hide mg42dpl_info;
                      show flamethrower_info;
       			
      		}
    	}
    If you ever get 2 weapons in the same place, always check your ORIGIN_CHOICE numbers.

  2. The Following User Says Thank You to Tally For This Useful Post:

    G-Stuff002 (27th February 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •