Posted: 2017-02-09, 01:23 Town Screen creation in regards to Death Valley project.
Okay, so I was looking through some mods at how the .json is set up for the townscreen and I noticed a lot of the buildings have "x:0 y:0 "...... This doesn't make sense to me unless the makers are saving each building as a transparent image the size of the whole background. Is that what I am seeing or am I just not understanding how it works?
Posted: 2017-02-09, 15:53 Re: Town Screen creation in regards to Death Valley project.
his doesn't make sense to me unless the makers are saving each building as a transparent image the size of the whole background. Is that what I am seeing or am I just not understanding how it works?
Every def and every transparent png file has itw own resolutions. And x,y coordinates are top-left townscreen coordinate of every image. Townscreen has 800x374 resolution, so min x=0, min y = 0, max x = 800, max y = 374. So if your def (or transparent png) has 800x374 resolution, it's obvious that top-left pinnacle has x = 0, y = 0 coordinates (like in Asylum and Preserve mod). But look at the Grove mod. Defs are smaller, have smaller resolution so pnnacles must be set manually for proper viewing. I think this picture show you all about coordinates.
So it's up to you which metod you choose. x=0, y = 0 method is easier for modder, but mod is heavier and tends to lag (like Silaneo's NecroTown), second method is more time consuming, but final mod works better. If you work with defs and 8-bit graphic I suggest x=0, y=0 method. If you want work with transparent png, second method is reasonable.
dispelHelpfull is Dragonfly's ability, which dispells only positive spells.
SPECIAL_PECULIAR_ENCHANT is or peculiar enchantment spells as stated in Strategija:
Loynis' Prayer specialty gives an additional +3 speed, attack and defense to levels 1-2, +2 levels 3-4, +1 levels 5-6 and no bonuses to level 7.
Terek/Cyra/Brissa's Haste specialty gives an additional +3 speed to level 1-2, +2 levels 3-4, +1 levels 5-6 and no speed to level 7.
Coronius' Slayer specialty gives an additional +4 attack to level 1, +3 level 2, +2 level 3, +1 level 4, no attack to levels 5-6-7.
Zubin's Precision specialty gives an additional +3 attack to ranged levels 1-2, +2 levels 3-4, +1 levels 5-6, no attack to level 7.
Daremyth and Melodia's Fortune specialty enables them to cast a +3 Luck Fortune spell regardless of Air magic expertise.
Xsi, Darkstorn, Merist and Labetha's Stoneskin specialty gives an additional +3 defense to levels 1-2, +2 levels 3-4, +1 levels 5-6 and no defense to level 7.
Ash and Inteus' Bloodlust specialty gives an additional +3 attack to levels 1-2, +2 levels 3-4, +1 levels 5-6 and no attack to level 7.
And so on.
SPECIAL_BLESS_DAMAGE is Adela's ability
Adela's Bless specialty adds BD * 0,03 * Hero level / Unit level damage to all units on top of the Bless spell. E.g., at level 18, Adela will provide (in average) 54% bonus damage to Halberdiers, 27% to Marksmen, 18% to Royal Griffins, 13,5% to Crusaders, 10,8% to Zealots, 9% to Champions, and 7,1% to Archangels.
But can work with other spells too.
SPECIAL_SPELL_LEV is Solmyr & pals bonus.
SPECIFIC_SPELL_DAMAGE is flat % damage bonus as Ciele and Luna.
_________________ Think twice if you really need to send me private message. Use public forum for general questions.
DJ Warmonger blog
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum