Author Topic: Need Help with flag-grenade.png editing  (Read 1907 times)

0 Members and 1 Guest are viewing this topic.

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Need Help with flag-grenade.png editing
« on: December 18, 2009, 01:37:45 pm »
Greetings :)

I'm trying to mod the nade so that it's more visible.

So I remade the image in Gimp: changed size of image to 20X20 pxl and edited it to show a green neon circle effect.

The nade:


How it looks in Gimp:



But here comes my problem

As you can see in this screen shot:



The nades are not centered anymore. Obviously I must be missing something!



Any help on how to fix that would be much appreciated.

Ty,

Bistoufl[Y]






Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: Need Help with flag-grenade.png editing
« Reply #1 on: December 18, 2009, 01:45:28 pm »
Not possible due sprites being aligned by the left upper corner.
Just make them the same size as the original ones are, 1 pixel difference at most.


I have no fucking idea why is the name being placed here.
Its not like "look 400pixels to the left to see the user name"
« Last Edit: December 18, 2009, 01:47:08 pm by croat1gamer »
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: Need Help with flag-grenade.png editing
« Reply #2 on: December 18, 2009, 01:50:36 pm »
Thanks for your fast reply. :)

But man, that's disappointing! :(

I suppose there is no work-around? :-\

I have no f**king idea why is the name being placed here.
Its not like "look 400pixels to the left to see the user name"
Sorry I don't understand, what do you mean?
« Last Edit: December 18, 2009, 01:55:12 pm by Bistoufy »

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: Need Help with flag-grenade.png editing
« Reply #3 on: December 18, 2009, 01:59:22 pm »
Just dont make the modded one with a too big resolution difference (1-2 pixels are usually not noticeable, so it would be fine, but over it you will notice the offsets going bad)
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline scout

  • Camper
  • ***
  • Posts: 384
  • Wolverine does'nt have nothing on me now!
Re: Need Help with flag-grenade.png editing
« Reply #4 on: December 19, 2009, 03:46:38 am »
This is one issue which has been hindering modder's efforts in creating much larger, more detailed weapons and gosteks.
A program that could actually alter the alignment of the weapons should be created.

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: Need Help with flag-grenade.png editing
« Reply #5 on: December 19, 2009, 03:28:27 pm »
A program that could actually alter the alignment of the weapons should be created.

I'd like that too.

But that brings a question:
Would it be possible to do that without hacking soldat?

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Re: Need Help with flag-grenade.png editing
« Reply #6 on: December 19, 2009, 04:04:43 pm »
A program that could actually alter the alignment of the weapons should be created.

I'd like that too.

But that brings a question:
Would it be possible to do that without hacking soldat?
Right now - I don't think so.

But I agree, it would be a huge improvement for modders if some of the images were aligned by center.
Guns, bullets and nades at least.

-----
Speaking of bullets.. they're aligned by corner too, aren't they? Doesn't that mean that bullets that were after 1.3.1 are offset because before they were 1 pixel thick and now they're 3px thick? It doesn't seem like much of a difference, but still..
« Last Edit: December 19, 2009, 04:07:16 pm by L[0ne]R »