Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Drox Operative > Drox Operative modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2018, 01:23 AM
Cockbite Cockbite is offline
Expert
 
Join Date: Jun 2010
Posts: 44
Default Minimap is being doubled instead of replaced on merge

I'm trying to make the minimap bigger by editing the game.mnu using the mergeWith command. What am I doing wrong here? Do I need to include the entire game.mnu in the mod instead of merging?

This is the code I have in ../UI/_LargerMinimap.mnu. The three lines that were changed have the original values commented out for reference.

Code:
mergeWith Game

// Minimap

Widget
{
	position 595.0 115.0 // 592.0 4.0
	offset -50.0 0.0
	size 100.0 10.0
	font SmallDefault
	textSource AreaName
	textAlignment center
	draworder 3
	showCondition MiniMapOn
	blocksMouse 0
	PartiallyIgnoreWidescreenCenter 1
	highlightTextSource AreaName Text "\n\n$$AvailableQuestsIn$$ " AreaNameNoKey Text ":\n" AvailableQuestsOnLevel
}

Widget
{
	position 599.0 71.0
	offset -62.5 -71.5 // -50.0 -50.0
	size 115.0 115.0 // 87.0 87.0
	texture Textures/UI/minimap/minimap_border.tga
	draworder -2
	showCondition MiniMapOn
	blocksMouse 0
	color "1 .9 .8"
	PartiallyIgnoreWidescreenCenter 1
}
This is the result. My bigger minimap is appearing behind the original instead of replacing it. I tried changing the name of my menu to make sure it was loaded last, but it had no effect.

Reply With Quote
  #2  
Old 07-19-2018, 05:50 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 8,725
Default

mergeWith basically just adds widgets to the menu in question, so in this case you would want to replace the entire menu.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, & Din's Legacy
Patreon
Reply With Quote
  #3  
Old 07-19-2018, 07:06 PM
Cockbite Cockbite is offline
Expert
 
Join Date: Jun 2010
Posts: 44
Default

Okay. Thanks, Shadow.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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 01:39 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2016 Soldak Entertainment, Inc.