Hello! Black market fix screen

Place to get help with not working mods / modding interface.
Post Reply
Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Hello! Black market fix screen

Post by Airat9000 »

;) please help in update mod
viewtopic.php?f=92&t=30889&start=220
bug in screen example
2017-08-21_0-51-48.png
2017-08-21_0-51-48.png (1.59 MiB) Viewed 3074 times
Last edited by Airat9000 on Mon Aug 21, 2017 1:42 pm, edited 1 time in total.

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Hello!

Post by Airat9000 »

need help ((

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Hello! Black market fix screen

Post by darkfrei »

Did you try fix it by yourself?

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Hello! Black market fix screen

Post by Airat9000 »

darkfrei wrote:Did you try fix it by yourself?
yes author not connect and update ((

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Hello! Black market fix screen

Post by darkfrei »

Airat9000 wrote:
darkfrei wrote:Did you try fix it by yourself?
yes author not connect and update ((
In the mod portal is no notification. You must write him PM on the forum, only this will be read in the next time.

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Hello! Black market fix screen

Post by Airat9000 »

darkfrei wrote:
Airat9000 wrote:
darkfrei wrote:Did you try fix it by yourself?
yes author not connect and update ((
In the mod portal is no notification. You must write him PM on the forum, only this will be read in the next time.
I wrote to him, but he is silent ..

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Help please developers mod fix

Post by Airat9000 »

need help correct mod - the modders do not want anything to help or do not know, I'll forgive the help from you developers can you tell me how to fix the bug.

Π½ΡƒΠΆΠ½ΠΎ ΠΏΠΎΠΌΠΎΡ‰ΡŒ ΠΏΠΎΠΏΡ€Π°Π²ΠΈΡ‚ΡŒ ΠΌΠΎΠ΄ - ΠΌΠΎΠ΄ΠΎΠ΄Π΅Π»Ρ‹ Π½Π΅ хотят Π½ΠΈ Π² Ρ‡Π΅ΠΌ ΠΏΠΎΠΌΠΎΡ‰ΡŒ ΠΈΠ»ΠΈ Π½Π΅ знаю, ΠΏΡ€ΠΎΡ‰Ρƒ ΠΏΠΎΠΌΠΎΡ‰ΠΈ Ρƒ вас Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚Ρ‡ΠΈΠΊΠΈ ΠΌΠΎΠΆΠ΅Ρ‚ Π²Ρ‹ подскаТСтС ΠΊΠ°ΠΊ ΠΏΠΎΠΏΡ€Π°Π²ΠΈΡ‚ΡŒ Π±Π°Π³.

post
viewtopic.php?f=25&t=52033

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Hello! Black market fix screen

Post by Airat9000 »

find code in work to styles tables

Code: Select all

data:extend(
	{
		--------------------------------------------------------------------------------------
		{
			type = "font",
			name = "font_blkmkt",
			from = "default",
			border = false,
			size = 14
		},
		{
			type = "font",
			name = "font_bold_blkmkt",
			from = "default-bold",
			border = false,
			size = 14
		},
		
		--------------------------------------------------------------------------------------
		{
			type = "sprite",
			name = "sprite_main_blkmkt",
			filename = "__BlackMarket__/graphics/but-main.png",
			width = 22,
			height = 22,
		},
		{
			type = "sprite",
			name = "sprite_energy_blkmkt",
			filename = "__BlackMarket__/graphics/energy.png",
			width = 22,
			height = 22,
		},
	}
)		

--------------------------------------------------------------------------------------
local default_gui = data.raw["gui-style"].default

default_gui.frame_blkmkt_style = 
{
	type="frame_style",
	parent="frame_style",
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	resize_row_to_width = true,
	resize_to_row_height = true,
	-- max_on_row = 1,
}

default_gui.flow_blkmkt_style = 
{
	type = "flow_style",
	
	top_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	right_padding = 0,
	
	horizontal_spacing = 2,
	vertical_spacing = 2,
	resize_row_to_width = true,
	resize_to_row_height = true,
	max_on_row = 1,
	
	graphical_set = { type = "none" },
}

default_gui.table_blkmkt_style =
{
	type = "table_style",
	horizontal_spacing = 5,
	vertical_spacing = 2,
	resize_row_to_width = true,
	resize_to_row_height = true,
	max_on_row = 1,
}

--------------------------------------------------------------------------------------
default_gui.label_blkmkt_style =
{
	type="label_style",
	parent="label_style",
	font="font_blkmkt",
	align = "left",
	default_font_color={r=1, g=1, b=1},
	hovered_font_color={r=1, g=1, b=1},
	top_padding = 1,
	right_padding = 1,
	bottom_padding = 0,
	left_padding = 1,
}

default_gui.label_bold_blkmkt_style =
{
	type="label_style",
	parent="label_blkmkt_style",
	font="font_bold_blkmkt",
	default_font_color={r=1, g=1, b=0.5},
	hovered_font_color={r=1, g=1, b=0.5},
}

default_gui.textfield_blkmkt_style =
{
    type = "textfield_style",
	font="font_bold_blkmkt",
	align = "left",
    font_color = {},
	default_font_color={r=1, g=1, b=1},
	hovered_font_color={r=1, g=1, b=1},
    selection_background_color= {r=0.66, g=0.7, b=0.83},
	top_padding = 0,
	bottom_padding = 0,
	left_padding = 1,
	right_padding = 1,
	minimal_width = 50,
	maximal_width = 400,
	graphical_set =
	{
		type = "composition",
		filename = "__core__/graphics/gui.png",
		priority = "extra-high-no-scale",
		corner_size = {3, 3},
		position = {16, 0}
	},
}    

default_gui.checkbox_blkmkt_style =
{
	type = "checkbox_style",
	parent="checkbox_style",
	font = "font_bold_blkmkt",
	font_color = {r=1, g=1, b=1},
	top_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	right_padding = 2,
	-- minimal_height = 32,
	-- maximal_height = 32,
}

default_gui.button_blkmkt_style = 
{
	type="button_style",
	parent="button_style",
	font="font_bold_blkmkt",
	align = "center",
	default_font_color={r=1, g=1, b=1},
	hovered_font_color={r=1, g=1, b=1},
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	left_click_sound =
	{
		{
		  filename = "__core__/sound/gui-click.ogg",
		  volume = 1
		}
	},
}

default_gui.button_blkmkt_credits_style = 
{
	type="button_style",
	parent="button_style",
	font="font_bold_blkmkt",
	align = "center",
	default_font_color={r=1, g=1, b=1},
	hovered_font_color={r=1, g=1, b=1},
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	height = 36,
	scalable = false,
	left_click_sound =
	{
		{
		  filename = "__core__/sound/gui-click.ogg",
		  volume = 1
		}
	},
}

--------------------------------------------------------------------------------------
default_gui.sprite_main_blkmkt_style = 
{
	type="button_style",
	parent="button_style",
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	height = 36,
	width = 36,
	scalable = false,
}

default_gui.sprite_group_blkmkt_style = 
{
	type="button_style",
	parent="button_style",
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	width = 64,
	height = 64,
	scalable = false,
	default_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
	hovered_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
	clicked_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
	disabled_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
}

default_gui.sprite_obj_blkmkt_style = 
{
	type="button_style",
	parent="button_style",
	top_padding = 0,
	right_padding = 0,
	bottom_padding = 0,
	left_padding = 0,
	height = 32,
	width = 32,
	-- minimal_width = 32,
	-- minimal_height = 32,
	scalable = false,
	default_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
	hovered_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 32, 0, 32, 32),
	clicked_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 64, 0, 32, 32),
	disabled_graphical_set = extract_monolith("__BlackMarket__/graphics/gui.png", 0, 0, 32, 32),
}

Koub
Global Moderator
Global Moderator
Posts: 7175
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Help please developers mod fix

Post by Koub »

[Koub] Topic moved to modding help
Koub - Please consider English is not my native language.

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Hello! Black market fix screen

Post by Airat9000 »

:D temp fixed!
all that I could do with my knowledge.

всС Ρ‡Ρ‚ΠΎ смог ΡΠ΄Π΅Π»Π°Ρ‚ΡŒ ΠΈ ΠΌΠΎΠΈΠΌΠΈ знаниями.
2017-09-02_7-42-42.png
2017-09-02_7-42-42.png (1.7 MiB) Viewed 2865 times
2017-09-02_7-42-28.png
2017-09-02_7-42-28.png (1.69 MiB) Viewed 2865 times
BlackMarket_1.0.32.zip
(1.2 MiB) Downloaded 91 times

Post Reply

Return to β€œModding help”