Search found 209 matches

by WIZ4
Fri Apr 05, 2019 8:23 am
Forum: Resolved Problems and Bugs
Topic: [0.17.25]New Russian font - ugly
Replies: 3
Views: 1844

[0.17.25]New Russian font - ugly

After 0.17.24, the Russian font became too fat and not orderly.
Old:
5SSIBzxREAk.jpg
5SSIBzxREAk.jpg (27.9 KiB) Viewed 1844 times
kVXORTNhGok.jpg
kVXORTNhGok.jpg (102.57 KiB) Viewed 1844 times
New:
663qrN9Ydjo.jpg
663qrN9Ydjo.jpg (32.61 KiB) Viewed 1844 times
aYvGrnNknLI.jpg
aYvGrnNknLI.jpg (101.58 KiB) Viewed 1844 times
Especially ugly: 'default-semibold' and 'default-dialog-button'
Please, return the old font back.
by WIZ4
Tue Apr 02, 2019 12:43 pm
Forum: Modding help
Topic: [Solved]Could not create cutscene controller
Replies: 1
Views: 727

Re: Could not create cutscene controller

I forgot to put a waypoint in the table. Problem solved

Code: Select all

	local waypoint = {{
		position = {x=90,y=89},
		transition_time = 1000,
		time_to_wait = 1000
	}}
by WIZ4
Mon Apr 01, 2019 1:07 pm
Forum: Modding help
Topic: [Solved]Could not create cutscene controller
Replies: 1
Views: 727

[Solved]Could not create cutscene controller

I'm trying to create a cutscene: function cutscene(player) local waypoint = { position = {x=100,y=100}, transition_time = 1000, time_to_wait = 1000 } player.set_controller{ --line 546 type = defines.controllers.cutscene, waypoints = waypoint, final_transition_time = 1000} And when I call this functi...
by WIZ4
Mon Apr 01, 2019 11:10 am
Forum: Implemented mod requests
Topic: Get access to last online time
Replies: 2
Views: 864

Re: Get access to last online time

So fast! Thank you, Bilka!
by WIZ4
Sun Mar 31, 2019 12:02 pm
Forum: Implemented mod requests
Topic: Get access to last online time
Replies: 2
Views: 864

Get access to last online time

In the /admin frame there is a column with the latest time when the player was online. Can we access the last_online_time?
At the moment I have to save it in a global variable.
Screenshot_21.jpg
Screenshot_21.jpg (93.19 KiB) Viewed 864 times
by WIZ4
Tue Mar 26, 2019 10:43 pm
Forum: Resolved Problems and Bugs
Topic: [Albert] [Oxyd] [0.17.5] GUI right of toolbelt misaligned
Replies: 6
Views: 5579

Re: [Albert] [Oxyd] [0.17.5] GUI right of toolbelt misaligned

I see a 1 pixel shift with the toolbar open
E7QDL9J4sZU.jpg
E7QDL9J4sZU.jpg (50.94 KiB) Viewed 4076 times
Screenshot_20.jpg
Screenshot_20.jpg (146.82 KiB) Viewed 4076 times
by WIZ4
Thu Mar 21, 2019 11:40 am
Forum: Modding help
Topic: [Solved]cancel_crafting error 'invalid crafting queqe index'
Replies: 2
Views: 862

Re: cancel_crafting error 'invalid crafting queqe index'

Nice that worked! Thanks for your help
by WIZ4
Wed Mar 20, 2019 2:12 pm
Forum: Modding help
Topic: [Solved]cancel_crafting error 'invalid crafting queqe index'
Replies: 2
Views: 862

[Solved]cancel_crafting error 'invalid crafting queqe index'

I'm trying to undo the player craft using this command: /c for i, option in pairs(game.player.crafting_queue) do game.player.cancel_crafting({index=1,count=option['count']}) end Craft is canceled, but I get an error. before: Screenshot_12.jpg after: Screenshot_13.jpg This is probably due to the fact...
by WIZ4
Mon Mar 18, 2019 3:50 pm
Forum: Modding discussion
Topic: How to add scripts to the editor?
Replies: 4
Views: 1146

Re: How to add scripts to the editor?

Thanks, I will see it
by WIZ4
Sun Mar 17, 2019 6:45 pm
Forum: Resolved Problems and Bugs
Topic: [17.14]Turning off friendly_fire prevents fish from curing a player
Replies: 2
Views: 2080

[17.14]Turning off friendly_fire prevents fish from curing a player

Enter this command

Code: Select all

/c game.forces.player.friendly_fire = false
Now the use of fish does not cure the player
by WIZ4
Sun Mar 17, 2019 3:21 pm
Forum: Modding discussion
Topic: How to add scripts to the editor?
Replies: 4
Views: 1146

Re: How to add scripts to the editor?

Oh, I thought it was possible to do it in the scenario
by WIZ4
Sat Mar 16, 2019 6:52 pm
Forum: Modding discussion
Topic: How to add scripts to the editor?
Replies: 4
Views: 1146

How to add scripts to the editor?

I see the lua button in editor for scripts. But I can't figure out how to use it.
zheltye_cvety_so_vspleskom_zheltoj_kraski_na_chernom_fone_Ob1751-764x764.jpg
zheltye_cvety_so_vspleskom_zheltoj_kraski_na_chernom_fone_Ob1751-764x764.jpg (124.58 KiB) Viewed 1146 times
I want to do something similar, like what was shown in fff-276:
fff-276-script-render-2.gif
fff-276-script-render-2.gif (13.4 MiB) Viewed 1146 times
by WIZ4
Fri Mar 15, 2019 1:01 am
Forum: Resolved Problems and Bugs
Topic: [kovarex] [0.17.6] UI Description of the mod is outside parent window
Replies: 3
Views: 2687

Re: [kovarex] [0.17.6] UI Description of the mod is outside parent window

I have the same problem function create_bug() local frame = game.players[1].gui.center.add { type = "frame", name = "main_frame"} frame.style.width = 400 frame.style.height = 250 local scroll = frame.add { type = "scroll-pane", name = "scroll"} local scrol_2 =...
by WIZ4
Mon Mar 04, 2019 4:23 pm
Forum: Implemented mod requests
Topic: Add the ability to make a button pressed
Replies: 2
Views: 667

Add the ability to make a button pressed

I would like to be able to make a button pressed. This may be a button style. Or attribute, button.pressed = true
It should be possible to release this button on click.
Screenshot_6.jpg
Screenshot_6.jpg (3.56 KiB) Viewed 667 times
by WIZ4
Sun Feb 24, 2019 12:42 pm
Forum: Modding help
Topic: How to change the distance between gui elements
Replies: 7
Views: 2561

Re: How to change the distance between gui elements

Tried to set guielement.style.xxx_padding = 0 but didn't help, I'm still having distance between elements: 2019-02-23_22-49-31.png But earlier the same code worked just fine: 2019-02-23_22-52-07.png EDIT: I add buttons to a flow. Tried to set paddings of both a flow and buttons, but it didn't work....
by WIZ4
Sat Feb 09, 2019 7:46 pm
Forum: Modding help
Topic: Why is my circle uneven?
Replies: 1
Views: 616

Why is my circle uneven?

I am trying to create a circle of entities. I wrote a function for this: function circle(x,y,r) local angle = 0 x = x + 0.5 - (x + 0.5) % 1 y = y + 0.5 - (y + 0.5) % 1 r = r + 0.5 while angle < 2*math.pi do angle = angle + r/r^2 local xs = (x + r * math.cos (angle)) local ys = (y + r * math.sin (ang...
by WIZ4
Thu Feb 07, 2019 12:05 pm
Forum: Modding help
Topic: [Solved]How to create smoke?
Replies: 2
Views: 968

Re: How to create smoke?

Thanks, Bilka!
by WIZ4
Wed Feb 06, 2019 6:45 pm
Forum: Modding help
Topic: [Solved]How to create smoke?
Replies: 2
Views: 968

[Solved]How to create smoke?

I want to create smoke, the same as shown in the trailer, how can I do it? I tried to create other types of smoke(light-smoke,turbine-smoke,smoke-building), but I got errors 'unknown entity name'. However, the creation of other effects, such as fire or gray blood does not cause errors. game.surfaces...
by WIZ4
Wed Feb 06, 2019 1:04 pm
Forum: Gameplay Help
Topic: How to prevent players from using their blueprints
Replies: 1
Views: 920

How to prevent players from using their blueprints

I do not want players to use blueprints from the Internet or from other games, I have banned the ability to import blueprint string through permission group, but how can I delete blueprints players in the library or prohibit their use?
by WIZ4
Sat Feb 02, 2019 8:19 pm
Forum: News
Topic: Friday Facts #280 - Visual Feedback is the king
Replies: 243
Views: 88170

Re: Friday Facts #280 - Visual Feedback is the king

I like the new condition

Go to advanced search