Jump to content

m7600

Members
  • Content Count

    9
  • Joined

  • Last visited

About m7600

  1. Thanks to lynx, who fixed the transparency problem, the GemRB demo is getting a graphics update. I'm starting to work on the fog of war, so that it doesn't look like black blocks. In the screenshot, I'm using the fog of war from Icewind Dale 2, but obviously that will not be the final one due to copyright reasons. Instead I'll make a new one from scratch, but I'm studying the IWD2 file in order to understand how to configure everything.
  2. Couldn't fix the transparency problem, as you can see in the image. I know I'm doing something wrong, but I don't know what it is. Window: OK, I followed your suggestion and I added three buttons to the existing window. I think they are too big, I'll have to make them smaller, and maybe remove the blue gems (too many blue gems). BTW did you see the pull request that I made?
  3. Ok, I forked the repo and I made a pull request for demo/data/purple.mos and demo/data/source/purple.bmp In a few hours I'll make the scrollbar with the new style. I haven't checked out the new font but I will do it now and post a screenshot in my next post. EDIT: @lynx I made the new scrollbar, but I don't know what number to put in the transparency index (therefore, it has a white background that I would like to remove). BTW I like the new font that you uploaded, it reads better than the other one. EDIT 2: Lynx, I added a window with DLTCEP to guiw.chu, and I uncommented ever
  4. Here is an update, I gave it a simpler trimming like you suggested. Do you want me to make a pull request on github? (If yes, what name should I give it? Right now it's called "purple.mos") Cave: sure, I'd like to see it. I can use the console to move to the new area. I can also try to connect it to ar0100 if you want.
  5. The forum software is telling me that I've reached the max total size of kB, so I had to delete the previous images to get some space. But it turns out that it was not enough for the .zip file I wanted to attach. Oh well. I've changed the wooden background window because someone told me that the fonts were hard to read, so I made a new one with a different style. What do you think? I can use this style for the buttons, other windows, etc. Where is that? I'm looking here but I can't find it, I only see ar0100 EDIT: The icons for OptionsWindow could look like this:
  6. Yes, yes, and I thank you for it! : ) That is what I did... well, almost. I copied that file and I pasted it in a new directory: demo/override Then I opened the file and I pasted the contents of the bg2 fonts.2da, but using DejaVuSans for almost all of the fonts. It worked, but do you think that is bad practice? I made an override directory because if I mess up something, I can delete the contents and start again. Do you mean in GUIScripts/demo/MessageWindow.py? I didn't make any changes to that Python file. I only added a window to guiw.chu with DLTCEP. Do I have to edit the P
  7. @lynx Thanks, that fixed it! I copied fonts.2d to demo/override and then I copy pasted some stuff from the fonts.2da of unhardcoded/bg2 This is how it looks like now: By the way, GemRB is awesome, I'm really grateful to you for all the work you've done with it. EDIT: Another question, if you don't mind. The button works when I set it as a control for the window that already exists in the demo. I'm trying to add a new window now, with more buttons. But the new window does not appear when I run the demo. I don't get any error messages about this either. Can you please help me
  8. Sorry for the double post, but here is the longer version of what gdb tells me when I use "where": Thread 1 "gemrb" received signal SIGSEGV, Segmentation fault. GemRB::Font::GetPalette (this=0x0) at /home/travis/build/gemrb/gemrb/gemrb/core/GUI/TextSystem/Font.cpp:674 674 /home/travis/build/gemrb/gemrb/gemrb/core/GUI/TextSystem/Font.cpp: No such file or directory. (gdb) where #0 GemRB::Font::GetPalette (this=0x0) at /home/travis/build/gemrb/gemrb/gemrb/core/GUI/TextSystem/Font.cpp:674 #1 0x000000000046bfa8 in GemRB::Button::SetFont (this=<optimized out>, newfont
  9. Hi, I'm tinkering with the GemRB demo. I'd like to add more stuff to it. So far, I know how to add new areas, new custom animations for the player character, and a new look for the GUI. But now I'm stuck. I'm trying to add a button to guiw.chu. I'm using DLTCEP for this. The problem is that I get a segmentation fault when I try to run the demo. I've posted a sort of journal with what I've managed to accomplish here. I'll attach a few images here that show the modifications I've made. Can you please help me figure out why there is a seg fault? I can attach the GemRB.log if you need i
×
×
  • Create New...