Ciber Ninja
-
Posts
226 -
Joined
-
Last visited
Posts posted by Ciber Ninja
-
-
20 hours ago, Alree said:
On Github, under release there is compiled version of each tools =)
And yes 32 floors for buildingEd was to be able to made building before v42 was out.
Some mappers already work on maps for this version.
I'll update everything and release compiled version of last version during July with full v42 support and some new features.Ah. My eyes glazed over and I did not notice it sitting there on the right.
-
GUI Question
in Help
It seems that the issue is with the placement of the `onButtonClick` function. It should be defined before it is used in the `ISButton:new()` function. Also, you need to make sure that the `ISButton` and `ISPanel` classes are properly imported. Here's the corrected code:
```lua
-- Make sure to import ISButton and ISPanel classes
require "ISUI/ISButton"
require "ISUI/ISPanel"-- Вызывается при подключении к игре
function OnPlayerSpawned(player)
-- Функция-обработчик нажатия кнопки
local function onButtonClick(button)
-- Создаем и отображаем окно со списком кнопок
local menu = ISContextMenu:new(0, 0, 0, 0)
menu:addOption("Статистика", nil) -- TODO: Добавить обработчик нажатия
menu:addOption("Опции", nil) -- TODO: Добавить обработчик нажатия
menu:addOption("Выход", nil) -- TODO: Добавить обработчик нажатия
menu:setX(getCore():getScreenWidth() - menu:getWidth())
menu:setY(getCore():getScreenHeight() - menu:getHeight())
menu:addToUIManager()
end-- Определяем размер панельки
local panelWidth = 200
local panelHeight = 100
local button = ISButton:new(0, 0, 100, 30, "Открыть", nil, onButtonClick)
local panel = ISPanel:new(0, 0, panelWidth, panelHeight)
panel:addChild(button)-- Добавим панель на интерфейс игрока
local player = getPlayer()
if player then
player:getInventory():addChild(panel)
panel:setX(100)
panel:setY(getCore():getScreenHeight() - panelHeight - 1)
end
end-- Вызываем функцию при подключении к игре
Events.OnPlayerSpawned.Add(OnPlayerSpawned)
```I have moved the `onButtonClick` function definition to the beginning of the `OnPlayerSpawned` function and added the `require` statements for the `ISButton` and `ISPanel`classes. This should create the button as expected. Make sure that the `ISButton` and `ISPanel` classes are available in your project.
-
I think an actually realistic style map would not show individual houses maybe?
-
I'm a lil confused. You said buildings to 32 floors, but only 15 in main editor?
Also, will such tall maps work in game or is this done in anticipation of the upcoming update?
It might be helpful to provide a pre-compiled version.
Especially since the build instructions for the original project are linux only, and most new modders are coming from windows. -
Well it hasn't received a C&D yet, but that might just be because the devs barely pay attention to map modders.
-
I think it makes sense to have a kind of door that only blocks sightlines.
like I remember a tile like that in game already... -
Something like Valheim?
-
Simple. interior tiles adjacent to an open / broken door/window when it's snowing should get snow buildup.
Seems like a relatively easy thing to add.
Next level would be to pre-annotate tiles during map compilation with their distance to the nearest entrance. Which could be use for snow piles that build up over time, but could also be used for more complex effects like puddles during heavy rain or scaling interior erosion over time.
-
Like say on the second floor of a parking garage?
Not for anything, it just occurred to me that it would be an interesting idea. -
Doing so would require a massive amount of reverse engineering effort. Linked export referenced private tools developed by a multi-person team.
It is so impractical that telling people it's an option is basically just tricking them into wasting however much time it takes for them to do the research themselves and realize how hard it is. -
That is forum in a nutshell. -
Maybe doublecheck that you have the latest tileset?
-
I appreciate what you've tried to do here.
But an access database over google drive is a somewhat confusing choice.
Since most common office licenses don't include access.
Also most people don't have photoshop. Luckily Paint.Net is free and a .psd opening plugin wasn't hard to find.
I think it would be fairly easy to set this up as a Github Pages site. Pretty much just displaying a drag & zoomable set of image layers with a checklist of layers on the side. -
The code used to make and host the map is open source on github. You can host your own map yourself or do a pull request to add your map as an option.
-
Gotta have a veg map.
-
4 hours ago, Alree said:
Well in fact: https://github.com/Unjammer/PZ_Vanilla_Map
No.
They did not ask if they could edit the base map in world ed. They asked if they could export a house that the built in game. They cannot. They will have to rebuild their house in world-ed, which is specifically what they were asking about. -
There is not.
-
Yeah i'm pretty sure this is how the spawn algorithm is meant to work.
-
-
Lost Province
in WIP
You could add barricades at the two main choke points on the island. Just like the Louisville fence.
-
Great job!
Though I do notice that some of the houses don't have their driveways connect to the road.
-
Yes it's very common and easy to fix.
-
Restore from backup.
-
41.78 Released
in PZ Updates
Posted
Oh you sweet summer child.