Объявления |
---|
Друзья, если не получается зарегистрироваться, напишите на почту vdv_forever@bk.ru. Я оторву свою задницу от всех дел и обязательно Вас активирую! Добро пожаловать на геройский форум! |
Re: Как создать плагин для HD модаНашел проблему с кодом на дипломатию.
По RCM все работает правильно. А вот при непосредственной атаке, иногда могут быть сюрпризы - существа, которые должны были присоединиться убегают, а те что не проходят по лимиту - присоединяются. Проблема в GetMonCount, при непосредственной атаке monCount = 0. Как получить количество существ при непосредственной атаке, но до вызова HiHook на 0x4A7230?
|
|
Re: Как создать плагин для HD модаCreature count for fight is stored to EBX at 0x4A73D6; LoHook at 0x4A7456 just a bit before call to 0x4A7230 would be a valid spot.
|
|
Re: Как создать плагин для HD модаA quick word on RMG connection guardians.
When looking at tiles where to place zone guardians, the RMG searches nearby tiles in a square shape... 3 tiles by 3 tiles... and marks them as not requiring object placement (or something similar). The upper limits of the square are written down at:
This is done on the current zone only, so if any of the squares belong to another zone, it is ignored. All these are generated from the same map seed. Default setting: Larger settings: Smaller settings: |
Re: Как создать плагин для HD модаRoseKavalier писал(а): Set 5th bit (4th if from 0 counting) of _access to 0 ? |
Re: Как создать плагин для HD модаЦитата: Can it be used for "free roads"? Is it possible to mark all road tiles as not requiring object placement? How to set this values? Цитата: 0x540F67 + 2 // y < yCenter+2 Tried:
it does not work. |
|
Re: Как создать плагин для HD модаBen80 писал(а): RoseKavalier писал(а): Set 5th bit (4th if from 0 counting) of _access to 0 ? RMG_MapItem + 0x28
as239 писал(а): Цитата: Can it be used for "free roads"? Is it possible to mark all road tiles as not requiring object placement? How to set this values? Цитата: 0x540F67 + 2 // y < yCenter+2 Tried:
it does not work. 0x540F67 + 2 = 0x540F69 The three states of tiles are changed quite often, so it's difficult to find a spot at some point to do this correctly. I think the "best" fix would be to ensure a single connection between zones, that will solve road problems. |
Re: Как создать плагин для HD модаTried this:
And get 1/10, 3/13. Bad roads/Total generation. It looks better then usual generations. But did not get idea how to get a single connection between zones. Needs code how to set seed at 0x53662F. |
|
Re: Как создать плагин для HD мода
From what I can tell of land connections between zones so far... All tiles are marked as belonging to zone 1, 2, 3, .... They have a secondary zone marking 2, 3, 4, ... when they are close to another zone (not sure how close). When making connections, code runs through all tiles to check if they belong to primary zone, and then if they are adjacent to the secondary zone. All tiles that match these criteria have monsters added to block the connection. There does not seem to be anything checking if any of these tiles are close to each other. I have not made further progress on this end, I was just taking a break of reviewing stuff for SoD_SP 1.16 and decided to check what I previously posted. |
Re: Как создать плагин для HD модаGenerated random map, looked seed at map description: 689697574.
Set it at LoHook @ 0x536635. But random map is generated with seed: 689675492. |
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 5