I think the screenshot is self explanatory. This was fine in 0.17.17.
Search found 137 matches
- Mon Mar 25, 2019 10:06 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.18] Controls settings search removes the content of the rows rather than rows themselves
- Replies: 1
- Views: 440
- Mon Mar 25, 2019 9:15 pm
- Forum: Ideas and Suggestions
- Topic: Make map zoom levels configurable
- Replies: 2
- Views: 1021
Re: Make map zoom levels configurable
Another year has passed and I think this deserves another bump. I have tried to mod it myself, but the existing modding API is quite restrictive in regards to the map :( I have raised a modding interface request, but from what I have been told it might be difficult for you to achieve. Could you plea...
- Mon Mar 25, 2019 8:45 pm
- Forum: Modding help
- Topic: How to rename a released mod?
- Replies: 0
- Views: 300
How to rename a released mod?
I've released a mod, but now decided that I want it to do more and the name I chose before would reflect that. I could release a new one instead and deprecate the old one. Is there a better option? A bonus noob question - how do I release an update to my mod in the mod portal? :) I cannot see anythi...
- Mon Mar 25, 2019 8:29 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.18] Artillery range not shown correctly on zoomed in map
- Replies: 2
- Views: 2540
[0.17.18] Artillery range not shown correctly on zoomed in map
Steps to reproduce: 1. Open map 2. Enable Turret Coverage 3. Zoom in to the point where you would get World View if you had a radar coverage in that area 4. Keep zooming in, at every step the artillery coverage will look different This happens both when holding a remote and when having a hand empty....
- Mon Mar 25, 2019 7:10 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.17] Cannot see the icon of the blueprint in the blueprint book on the toolbar
- Replies: 1
- Views: 521
Re: [0.17.17] Cannot see the icon of the blueprint in the blueprint book on the toolbar
That has been fixed in 0.17.18.
- Mon Mar 25, 2019 7:09 pm
- Forum: Resolved Problems and Bugs
- Topic: [Twinsen][0.17.16] 'Hand' missing for BP/BP books from library (on quickbar).
- Replies: 4
- Views: 2368
Re: [Twinsen][0.17.16] 'Hand' missing for BP/BP books from library (on quickbar).
Looks really nice! Thanks a lot!
- Sun Mar 24, 2019 8:08 pm
- Forum: Mods
- Topic: [MOD 0.17] ZoomPresets
- Replies: 0
- Views: 347
[MOD 0.17] ZoomPresets
Four configurable keys to set desired zoom level and view type. Allows to zoom out farther than in the base game. With a single key press you can open a map maximally zoomed out. With another key press you can see a large world area around you. No more scrolling with your mouse wheel! Configuration ...
- Sun Mar 24, 2019 4:26 pm
- Forum: Modding interface requests
- Topic: Changing zoom level in the map view (i.e. when render_mode == render_mode.chart)
- Replies: 2
- Views: 1148
Re: Changing zoom level in the map view (i.e. when render_mode == render_mode.chart)
PS In Vanilla map, zooming in and out is relative to the mouse cursor. It would be nice if changing zoom level via script could respect that.
- Sun Mar 24, 2019 12:54 pm
- Forum: Modding help
- Topic: Interacting with objects via zoom to world view
- Replies: 0
- Views: 379
Interacting with objects via zoom to world view
In 0.15 it was possible to interact with the objects when the map was opened and zoomed in (i.e. player.render_mode == render_mode.chart_zoomed_in), assuming that the player was close to the object. It was possible to interact with any object by increasing the value of these two properties: - charac...
- Sun Mar 24, 2019 12:44 pm
- Forum: Modding interface requests
- Topic: Changing render_mode between chart and chart_zoomed_in without changing position
- Replies: 0
- Views: 446
Changing render_mode between chart and chart_zoomed_in without changing position
LuaPlayer has following two functions: - open_map(position, scale) - zoom_to_world(position, scale) However they both require a position and it is not possible to get the position out of the game currently ( explanation ). Ideally, I would like the position to be an optional parameter, so that if th...
- Sun Mar 24, 2019 12:39 pm
- Forum: Modding interface requests
- Topic: Changing zoom level in the map view (i.e. when render_mode == render_mode.chart)
- Replies: 2
- Views: 1148
Changing zoom level in the map view (i.e. when render_mode == render_mode.chart)
Currently I can set the value game.player.zoom that will change the zoom level. This however works only if player.render_mode is render_mode.game (i.e. map is closed) or render_mode.chart_zoomed_in (i.e. map is open and zoomed in so that the world can be seen). It is currently not possible to change...
- Sun Mar 24, 2019 12:12 pm
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
Re: How to get information about map view?
I see. Thanks for the explanation. Ah, this one. That would be just changing game.player.zoom. Multiplying or dividing existing value by a constant (sensitivity), right? You cannot multiply or divide the zoom, you can only write a number to it. You cannot read player.zoom. This is why I asked how yo...
- Sun Mar 24, 2019 11:28 am
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
Re: How to get information about map view?
Would it be possible for me to attach multiple event handlers too see and analyse user's input and calculate the map position myself? No, lua doesn't have access to non-deterministic things such as direct user input. As you already found out, the most you can have are hotkeys, which still doesnt gi...
- Sun Mar 24, 2019 10:54 am
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
Re: How to get information about map view?
Player inputs aren't deterministic. The position depends on player input. For it to be deterministic, we would have to save it, or save the player input (to then be able to get the position from that). Both of these things are not feasible because it is a lot of data to save, for nearly no gain. Wo...
- Sun Mar 24, 2019 10:18 am
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
Re: How to get information about map view?
Another solution that I was just poking around is that I could define 2 keys and assign them as mouse wheel up and mouse wheel down, and change the zoom level myself. This would allow me to define sensitivity. This would work perfectly while render mode is "player" or "zoom to world&q...
- Sun Mar 24, 2019 10:13 am
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
Re: How to get information about map view?
- what is the current map position Not readable because it is not deterministic. What do you mean? Deterministic means non-random. The camera position on the map is not random. It is precisely to what the player set it to (by using WSAD, dragging, zooming) and doesn't change on its own. - what is t...
- Sat Mar 23, 2019 11:43 pm
- Forum: Modding help
- Topic: How to get information about map view?
- Replies: 10
- Views: 3219
How to get information about map view?
I am writing my first mod. I need to get some information about the map state, such as: - is map open - what is the current map position - what is the in-game position of where the mouse cursor is pointing I understand that some of these might not be doable (e.g. the last one), but I cannot find any...
- Sat Mar 23, 2019 11:36 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.17] Crashes sometimes when calling open_map(position, scale) while already in the map
- Replies: 2
- Views: 2166
Re: [0.17.17] Crashes sometimes when calling open_map(position, scale) while already in the map
close_map() called while not in map also sometimes crashes the game (and sometimes it does nothing as expected).
- Sat Mar 23, 2019 8:58 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.17] Crashes sometimes when calling open_map(position, scale) while already in the map
- Replies: 2
- Views: 2166
[0.17.17] Crashes sometimes when calling open_map(position, scale) while already in the map
I am working on a mod. I am executing the following command: /c game.player.open_map({0, 0}, 0.0035) If I don't have a map open, it always works (it opens a map, sets the position and the zoom level). However, if I have a map already open, it sometimes works (by changing the position and the zoom le...
- Sat Mar 23, 2019 7:05 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.17] Cannot see the icon of the blueprint in the blueprint book on the toolbar
- Replies: 1
- Views: 521
[0.17.17] Cannot see the icon of the blueprint in the blueprint book on the toolbar
Not exactly a bug, but a usability issue - not quite sure in which category I should have posted it. I use blueprints and blueprints books a lot and rely heavily on the icons to recognise the blueprint I am looking for. Since 0.17.17, the hand is displayed over the toolbar, hiding a significant port...