OpenXcom Forum

Modding => Help => Topic started by: Hyper2Snyper on December 19, 2017, 11:02:35 pm

Title: My mines
Post by: Hyper2Snyper on December 19, 2017, 11:02:35 pm
Here Reaver.
What do u think?
Title: Re: My mines
Post by: The Reaver of Darkness on December 20, 2017, 08:53:21 am
Neat.

I might touch up the floorobs for you one of these days but I think you got the bigobs down.

I see now that I should have left a pixel margin on either side. Oops.
Title: Re: My mines
Post by: Solarius Scorch on December 20, 2017, 10:58:21 am
I might touch up the floorobs for you one of these days but I think you got the handobs down.

Sorry to be this guy, but I suppose you meant bigobs,  not handobs. ;) Handobs are wielded by soldier sprites.

Only mentioning it to clear up any potential confusion.
Title: Re: My mines
Post by: Hyper2Snyper on December 20, 2017, 07:45:29 pm
Any suggestions?
Title: Re: My mines
Post by: ohartenstein23 on December 20, 2017, 07:53:02 pm
The floorobs look just like the bigobs, only scaled down, and thus don't match the isometric perspective of the battlescape.  If you look at the floorobs for most guns in X-Com, they look like they're actually laying on their side on the ground.  The shadowing also doesn't match the convention in most map tiles, where the north walls are generally lighter than the west walls - you can see that pretty clearly in the lower-right corner of the second image you posted.

My suggestion would be to make the floorobs more disc-shaped to match the perspective, and if you use a lighting gradient on them, make it look like the light is coming from the lower-left corner of the  screen.  Or just use a more subdued gradient than the one you currently have.
Title: Re: My mines
Post by: Hyper2Snyper on December 20, 2017, 08:55:20 pm
I'll get right on that
Title: Re: My mines
Post by: Hyper2Snyper on December 20, 2017, 11:19:21 pm
how bout these floorOBS.
I tried the handObs. But it makes that weird glitch, all I did was edit the grenade handOB. soo help
Title: Re: My mines
Post by: ohartenstein23 on December 21, 2017, 12:15:33 am
Those mines on the ground look so cheerful!

The issue is your numbering of the handob sprites.  If you look at the vanilla ruleset, each handob is given 8 index values, since there are 8 facings.  Instead of starting your second mine at index 129, it should be at index 136, since your first mine takes up indexes 128-135.
Title: Re: My mines
Post by: Hyper2Snyper on December 21, 2017, 01:19:10 am
there we go :)
is that the same way with bulletSprites?
Title: Re: My mines
Post by: ohartenstein23 on December 21, 2017, 05:16:14 am
Yes, except bulletSprites need 35 indexes, and the number you put in the item/ammunition definition for bulletSprite is the first index divided by 35.
Title: Re: My mines
Post by: Hyper2Snyper on December 21, 2017, 05:41:45 am
ok well I tried it and it just shows the first sprite on the list
Title: Re: My mines
Post by: The Reaver of Darkness on December 21, 2017, 11:58:05 pm
make it look like the light is coming from the lower-left corner of the  screen.
The light is coming from the upper left on most images in the game.

I shrunk the mines slightly, corrected the lighting, and added floorobs with (poor) perspective. I'm too lazy to make screenshots so I'll leave that up to you, but I'm curious to see what they look like in-game!
Title: Re: My mines
Post by: Hyper2Snyper on December 22, 2017, 12:49:16 am
that's cool.
the first 2 pictures are yours and the second 2 are my tweaked ones. I made the color diference a little more pronounced. and I added the little line through the bigObs smokemine.