-
Posts
488 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Vantha
-
I opened a second editing pr for some Athenian units that were left untouched in the first one https://github.com/TheShadowOfHassen/0-ad-history-encyclopedia-mod/pull/152
-
Introducing the Official community mod for Alpha 26
Vantha replied to wraitii's topic in Gameplay Discussion
@guerringuerrin Ok. As explained here, the icon tag has a property called 'displace' that allows moving the icon on the x and y axis by a certain number of pixels. Now, the target icons measure 32x32 pixels while the font is only 16 pixels high. A downwards offset by half the difference (in this case 8 pixels) perfectly centers the icon on the text => displace="0 8". (The text might appear a bit smaller than 16 pixels because it mostly contains lowercase letters, so I suspect an offset of 9 pixels might look slightly better, but you'll have to be the judge for that) I suggested according changes to the latest merge request. -
Introducing the Official community mod for Alpha 26
Vantha replied to wraitii's topic in Gameplay Discussion
Sure, I can help with that. Where is the code? I don't see a merge request for it. -
Does deleting the 'simulation' folder help? It only contains (currently unused) links to some articles inside the XML templates.
-
Thanks. Well, the log files didn't contain any error messages last time... Is the crash message the same as before?
-
Ok, I can picture what you mean now, that might indeed be useful to have. I'll see what I can do. You've downloaded the mod from the GitHub repo, correct? Deleting the .gitattributes, the README.md, and the Setup.js should get it working. By the way, if anyone is interested, Setup.js is the script which I'm using to make the directories, extract the data from the xmls, categorize them, and create the json files. I'm running it with NodeJS and its filesystem and xmlBuilder package.
-
Interesting idea. We currently only have the section for related articles on the right (which is currently empty because they have to be filled manually). Adding a button below the articles that simply opens the first of them (i.e. "the next page") won't be hard to implement. I'm sure some players would prefer the feeling of leafing through a book rather than of clicking through menus. No, of course not. I'm still unsure what to go for with the images.
-
Hmm, not sure if I like the large square portraits. They take up so much space.
-
Where would you place them on the page? Images would be great, but the articles themselves should remain the focus point of the layout.
-
Can someone share their log files after the error occurs?
-
After suppressing, is there any texture that isn't correctly loaded in?
-
I'm pretty sure not. As far as I know that throws a different error.
-
I used the A27 release candidate, but have also (successfully) tested it on the latest development version.
-
What happens when you press 'suppress'?
-
Does everyone get this error? I was able to reproduce it only once, it seems like an issue with the PNG decoder. Have you tried simply reopening the game? And pressing 'suppress' should enable you to resume the game anyway. Good point. The dropdown is an instance of the same class responsible for the civilization selection dropdowns everywhere else in the game (like above the structure tree). And actually, I intentionally hid the automatically created "Civilization:" text. I thought the dropdown was self-explanatory with the context. So, how about showing "Choose you civilization:", but only as long as no civilization is selected? I agree. And adding images inline images is already possible with the TextRenderer by using tags. Plus, I implemented a feature to add "title images" above the articles (where we could show the portraits). The only problems with it I see are: Firstly, I'm not sure where to place it on the page, there's not much free space. Secondly, we don't have images for every article and many articles do not primarily describe one unit or building, I'm afraid some portraits would fail to thematically fit with the texts themselves. Yes, I am aware of that. I tried keeping it in mind while building the page, but I'm pretty sure there will still be some issues of overlapping UI elements on smaller screen sizes. But that won't be very hard to fix. The navigation history is stored in a simple array, so it probably won't cause issues over short periods of time. But I will test it. And I suppose the best solution would probably be to to limit its length to (let's say) 20. (Meaning you can't go back more than 20 times)
-
Good news! I have finished encyclopedia GUI page! Functionality has barely changed, but I designed the UI and layout of the page. This included creating various fonts, ornaments, and a lettering as well as multiple new looks for scrollbars, dropdowns, buttons, and much more. Here is a short showcase: screen-recording.mp4 I updated the GitHub repo if anyone's interested in the code and also created a mod for everyone to try out and use, please let me know what you think. Nothing is carved in stone; I'm open to feedback or suggestions. 0 A.D.'s Encyclopedia.zip
-
Hero selection is actual game time (but should not IMHO)
Vantha replied to Grautvornix's topic in Delenda Est
Here you go:https://github.com/JustusAvramenko/delenda_est/pull/64 -
Hero selection is actual game time (but should not IMHO)
Vantha replied to Grautvornix's topic in Delenda Est
Yes, mods can easily pause the game. @wowgetoffyourcellphone the commands are g_PauseControl.implicitPause() and g_PauseControl.implicitResume() (if you want to pause the game in singleplayer only) I can open a quick pull request if you want. -
BUG: Using the hotkey allows sending flares when not intended
Vantha replied to Vantha's topic in Bug reports
Ok, considering the mentioned use cases, stopping the button from getting disabled when the game ends seems like the way to go. Here is the ticket: https://trac.wildfiregames.com/ticket/6926#ticket -
BUG: Using the hotkey allows sending flares when not intended
Vantha replied to Vantha's topic in Bug reports
Is that the desired behaviour? I want to open a ticket and maybe make a patch for it. -
Proposing changes to the native names of some units and buildings
Vantha replied to Vantha's topic in General Discussion
The Han stable The current name is a literal translation of the word "stable" into Chinese. The Han practiced horse breeding to a large extent in designated breeding stations (mainly along the northern border). As far as I found out, there was no unique proper name for these horse keeping facilities, however, they weren't "stables" at all, more like wide open ranches. Instead, they were most frequently referred to with the word "苑Yuàn" ("garden") or "马苑 Mǎ Yuàn" ("horse garden"). I suggest this change: Mǎ Jiù -> Mǎ Yuàn Sources: -
BUG: Using the hotkey allows sending flares when not intended
Vantha replied to Vantha's topic in Bug reports
If we cut off the ability for winning players to flare, then we should do the same for players without any teammates to see the flares. -
BUG: Using the hotkey allows sending flares when not intended
Vantha replied to Vantha's topic in Bug reports
The bug occurs (not when you've lost but) when you've won, at which point you're still a player (not an observer). And in that case, you should be able to still send flares and the button should not be disabled, right?