Improve the help system for the editor
Bug #1204482 reported by
Teppo Mäenpää
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
It does not seem to be possible to remove immovables in the map editor. This is kind-of frustrating, if one has accidentally put something into a wrong place.
Unless I have read the the editor tutorial poorly, the only solution is to restart from scratch, in which case this could be a documentation bug.
Forum discussion for trees/terrains help: https:/
Related branches
lp:~widelands-dev/widelands/editor_help
- SirVer: Approve (code, testing)
- GunChleoc: Needs Resubmitting
- kaputtnik (community): Approve (functionality)
-
Diff: 3411 lines (+1923/-150)63 files modifieddata/scripting/editor/format_editor.lua (+54/-0)
data/scripting/editor/terrain_help.lua (+76/-0)
data/scripting/editor/tree_help.lua (+44/-0)
data/scripting/lunit.lua (+11/-0)
data/tribes/buildings/trainingsites/atlanteans/labyrinth/init.lua (+2/-2)
data/world/immovables/trees/alder/init.lua (+1/-0)
data/world/immovables/trees/aspen/init.lua (+1/-0)
data/world/immovables/trees/beech/init.lua (+1/-0)
data/world/immovables/trees/birch/init.lua (+1/-0)
data/world/immovables/trees/cirrus/init.lua (+2/-0)
data/world/immovables/trees/larch/init.lua (+1/-0)
data/world/immovables/trees/liana/init.lua (+2/-0)
data/world/immovables/trees/maple/init.lua (+1/-0)
data/world/immovables/trees/mushroom_dark/init.lua (+2/-0)
data/world/immovables/trees/mushroom_green/init.lua (+2/-0)
data/world/immovables/trees/mushroom_red/init.lua (+2/-0)
data/world/immovables/trees/oak/init.lua (+1/-0)
data/world/immovables/trees/palm_borassus/init.lua (+1/-0)
data/world/immovables/trees/palm_coconut/init.lua (+1/-0)
data/world/immovables/trees/palm_date/init.lua (+1/-0)
data/world/immovables/trees/palm_oil/init.lua (+1/-0)
data/world/immovables/trees/palm_roystonea/init.lua (+1/-0)
data/world/immovables/trees/rowan/init.lua (+1/-0)
data/world/immovables/trees/spruce/init.lua (+1/-0)
data/world/immovables/trees/twine/init.lua (+2/-0)
data/world/immovables/trees/umbrella_green/init.lua (+2/-0)
data/world/immovables/trees/umbrella_red/init.lua (+3/-1)
data/world/resources/init.lua (+7/-4)
src/editor/CMakeLists.txt (+2/-0)
src/editor/editorinteractive.cc (+33/-13)
src/editor/editorinteractive.h (+3/-0)
src/editor/tools/editor_info_tool.cc (+1/-1)
src/editor/ui_menus/categorized_item_selection_menu.h (+1/-1)
src/editor/ui_menus/editor_help.cc (+224/-0)
src/editor/ui_menus/editor_help.h (+109/-0)
src/editor/ui_menus/editor_tool_change_resources_options_menu.cc (+2/-2)
src/logic/field.h (+2/-0)
src/logic/map_objects/immovable.cc (+21/-5)
src/logic/map_objects/immovable.h (+7/-2)
src/logic/map_objects/terrain_affinity.cc (+38/-15)
src/logic/map_objects/terrain_affinity.h (+4/-0)
src/logic/map_objects/tribes/worker.cc (+1/-1)
src/logic/map_objects/world/resource_description.cc (+3/-2)
src/logic/map_objects/world/resource_description.h (+5/-1)
src/logic/map_objects/world/terrain_description.cc (+6/-2)
src/logic/map_objects/world/terrain_description.h (+4/-1)
src/logic/map_objects/world/world.cc (+1/-1)
src/logic/map_objects/world/world.h (+1/-1)
src/map_io/map_terrain_packet.cc (+1/-1)
src/scripting/lua_bases.cc (+91/-8)
src/scripting/lua_bases.h (+3/-0)
src/scripting/lua_game.cc (+3/-2)
src/scripting/lua_map.cc (+564/-33)
src/scripting/lua_map.h (+149/-0)
src/scripting/lua_root.cc (+63/-10)
src/scripting/lua_root.h (+2/-0)
src/wui/encyclopedia_window.cc (+22/-24)
src/wui/encyclopedia_window.h (+1/-1)
src/wui/game_main_menu_save_game.cc (+7/-3)
test/maps/lua_persistence.wmf/scripting/test_persistence.lua (+6/-0)
test/maps/lua_testsuite.wmf/scripting/immovables_descriptions.lua (+137/-13)
test/maps/lua_testsuite.wmf/scripting/init.lua (+1/-0)
test/maps/lua_testsuite.wmf/scripting/terrains_resources_descriptions.lua (+180/-0)
summary: |
- Removing immovables in map editor + Improve the help system for the editor |
description: | updated |
Changed in widelands: | |
status: | Incomplete → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
Changed in widelands: | |
milestone: | build19-rc1 → none |
To post a comment you must log in.
I am not sure what you mean: I place immovables (e.g. trees) on the map. Then I can use shift+mouse to remove these objects (works with other types, too). You only have to make sure that you are "working" with the correct type: When you are placing animals, you cannot delete trees.
This method should is mentioned in the editor tips (shown while loading): "Holding down SHIFT switches first alternative tool on. This tool is in most cases the complete opposite of the normal tool (for example deletion of an object instead of placing one)."