Author Topic: A simple request  (Read 3321 times)

Legacy_rjshae

  • Hero Member
  • *****
  • Posts: 553
  • Karma: +0/-0
A simple request
« Reply #45 on: June 15, 2016, 12:59:57 am »


               


@rjshae Have you checked out the guide I made that there is a link to in my sig (3rd link)?




 


I don't have a public folder on dropbox so I can't follow your instructions. Can you access this link?


               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #46 on: June 16, 2016, 01:25:03 am »


               

If you don't have a public folder (no longer created automatically since 4th October 2012) you need to create one yourself following the instructions on this dropbox help page. The instructions are about halfway down the page under "Creating a Public Folder".


 


Here is your image done following the instructions in my pdf.


 


J1a.png


 


TR



               
               

               
            

Legacy_rjshae

  • Hero Member
  • *****
  • Posts: 553
  • Karma: +0/-0
A simple request
« Reply #47 on: June 16, 2016, 06:39:40 pm »


               

Well, mission accomplished then. Thanks.



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #48 on: June 18, 2016, 01:36:55 am »


               

Just thought I'd let you guys know that there will be a delay on this because my landlord has decided that my home needs to be rewired next week. There is one plus note that goes with this, however, in that I am going to get extra electrical sockets/outlets (yay somewhere to plug my chair into ':rolleyes:' ). So if my sanity is not totally shredded...


 


TR



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #49 on: July 05, 2016, 06:48:09 pm »


               

Well I have just found a tool that has just saved this project. Remember I had 882 textures to resize? They have now been done thanks to Bimp. So now I can get back to doing the modelling part...


 


TR



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #50 on: July 11, 2016, 04:08:55 pm »


               

Before I go ahead I just wondered about something - should I aim for CEP 2.x compatibility or not. The reason I ask is because for my previous submissions I have tried to make most of my stuff compatible. The thing is that, unlike placeables.2da, I don't know an easy way to find a 20 item slot for the model/icon numbers within what CEP have already used. Which is why, contrary to what I would like to do, I am leaning towards not having compatibility.


 


So thoughts please.


 


TR



               
               

               
            

Legacy_Asymmetric

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +0/-0
A simple request
« Reply #51 on: July 11, 2016, 07:19:08 pm »


               

I'd forgo CEP compatibility, especially for shield models. As far as I remember CEP has reached the limit on large shield slots, maybe even tower shields. Some of them are, well... out of date. You could theoretically overwrite some of those, but imho it's not worth the effort.



               
               

               
            

Legacy_SHOVA

  • Hero Member
  • *****
  • Posts: 893
  • Karma: +0/-0
A simple request
« Reply #52 on: July 11, 2016, 08:56:32 pm »


               

Make it Q compatible! Dare to challenge yourself!



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #53 on: July 12, 2016, 03:03:42 pm »


               

I've come across what I regard as a strange problem. As part of testing this I have created an inventory item icon that is (as per the baseitems.2da) 2 squares wide by 3 tall (64 x 96 pixels). I have placed the model, both textures, a modified baseitems.2da (increased maxrange to 255) and the icon in my override directory.


 


Here is the icon (click the image to download the tga file).


 


iashlw_011.png


And this is what it looks like in the inventory.


 


inventory.png


 


In order to maintain the aspect ratio it was necessary to have quite a large amount of transparency both above and below the actual image of the shield. In spite of this NwN manages to both distort the image, shift it to the right and to cut a large chunk of the icon off the bottom. Any ideas of what gives?


 


TR



               
               

               
            

Legacy_Asymmetric

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +0/-0
A simple request
« Reply #54 on: July 12, 2016, 10:43:34 pm »


               

They should have a 1:2 ratio. Shield icons are usually 64x128 pixels, with the bottom 28 pixels unused. It's similar to portraits having a small unused area beneath them.



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #55 on: July 13, 2016, 12:01:07 am »


               

Thanks, that mostly worked. Any idea why it would be slightly shifted to the right? This is one more reason why (something that is unlikely to happen) we need a new custom content guide.


 


TR



               
               

               
            

Legacy_Asymmetric

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +0/-0
A simple request
« Reply #56 on: July 13, 2016, 11:19:50 am »


               

Hmm, you're right, I haven't noticed that before. I had a look at the original shield icons and they seem to have the same issue. It's barely noticeable with them though, as they have rather large gaps on both sides.


 


You'd have to scale the icons down a bit and maybe shift them to the left to compensate. It seems to be a 2 pixel shift (took a screenshot and measured it  '<img'>  )


 


 


I have a theory on where the shift comes from:


A single tile/slot in the inventory is 32x32 pixels wide. But there are also those grey lines, which are one pixel wide and there lies the issue. If an item stretches over multiple slots it would need to be scaled up or at least moved a little to compensate for those grey lines. The engine doesn't do that and this causes a slight shift.


 


So we have to do that ourselves. I think all icons need to be shifted to the left by 1 pixel for every slot it takes, i.e. 1 pixel for 32x32, 2 pixels for 64x64, etc. It may be necessary to do that vertically too, but I'd argue it's barely noticeable there.


 


 


As for icon sizes:


 


I also noticed that only large shield icons have that small unused area under them:


  • Small shields use 64x64

  • Large shield use 64x128 with 28 pixels unused (or maybe it's 32, who knows)

  • Tower shields use 64x128 (with everything used)

Like large shields cloaks too use 64x128 icons with a small area under them unused.



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #57 on: July 15, 2016, 01:54:43 am »


               

Dang. I am going blind. I just didn't notice until now. For some reason, the model that Gunner was so kind as to make me flips the front design texture horizontally. It wasn't until after I had finally made the 21 shields and item icons too. In fact I was testing the keys (see page 1 of this thread where you will also see that the texture is flipped) icon that I noticed.


 


I finally found that reducing the width of the shield (keeping aspect ratio) to 56 and then applying an asymmetric canvas enlargement (2 pixels on the left & 6 on the right) makes for the best appearance.


 


TR



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #58 on: July 15, 2016, 04:36:50 pm »


               

Here's the latest update on this project. I have now created a hak with 21 shields as a demo. Here is how they look in the toolset -


 


toolset.png


 


In game they look like this -


 


All%20Shields.png


 


When placed on the ground,


 


All%20Shields%202.png


 


equipped and in the inventory, while here's 15 of them equipped


 


shields1-15.png


 


(only 16 out 21 because I couldn't fit em all in and I pressed the wrong key 5 times  ':whistle:' )


 


Once I make an initial stab at the documentation would anyone like to beta test this for me please?


 


(And yes, that is Darth Vader's helmet - well you've got to have a sense of humour haven't you?)


 


TR



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
A simple request
« Reply #59 on: July 21, 2016, 12:12:47 am »


               

Finally it is done. It is now on the vault. Apart from the 2668 png image files there is an essential hak, a short txt readme and a 23 page (includes TOC and over a dozen large images) manual. The hak contains the shields illustrated above. Any custom shields that the user creates override 1 or more of those designs.


 


Anyway, get it here and let me know what you think.


 


Special thanks to GunnersaurusRex for the brilliant original model these are based on.


 


TR