Official Soldat Forums

Soldat Talk => Game Improvements / Suggestions => Topic started by: -Major- on May 15, 2010, 06:15:33 am

Title: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 06:15:33 am
as topic says, why the hell isn't this already fixed? you add headhost effects and debugs it, but won't change some values and how the image should be drawn...

this would unlock a lot of modding possibilities...
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 06:53:09 am
Elaborate, I don't understand what you want.

headhost effects

Meh.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 06:56:47 am
to draw the image from it's center instead of it's top left.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 07:02:51 am
It's no bug, it's just how pictures are drawn in Soldat. I agree, but add the M79 bullet too please
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 07:33:32 am
It's no bug, it's just how pictures are drawn in Soldat. I agree, but add the M79 bullet too please
headshot effect was just an example of how eC is wasting time...

it would be for all pictures loaded into soldat ;o
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 07:39:08 am
Change your description then. It doesn't matter from "where it is drawn" but where is the center. That means where it gets turned around
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Bistoufly on May 15, 2010, 08:22:25 am
to draw the image from it's center instead of it's top left.

+1 please consider doing this.
It would help a lot for mod making.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Dusty on May 15, 2010, 08:43:21 am
Change your description then. It doesn't matter from "where it is drawn" but where is the center. That means where it gets turned around

You're probably the only person here who doesn't understand his point.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: mar77a on May 15, 2010, 08:54:12 am
Sprite {
 x,y,w,h;
 Draw(...){
   screen.draw( x + w/2, y + h/2, surface,...);
 }
};
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 08:59:43 am
Dusty, could you be so kind and explain me what I don't understand then? Thanks!
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Dusty on May 15, 2010, 09:04:03 am
Elaborate, I don't understand what you want.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: biohazard on May 15, 2010, 09:07:54 am
How to determined the center on non simmetrical images? I Think its better how it is.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 09:55:34 am
How to determined the center on non simmetrical images? I Think its better how it is.
all images are squares... if you're talking about numbers that can't be divided by 2, then you just add +1 to the width and height (or minus one)
Title: Re: Draw picture from the pictures center instead of top left.
Post by: freestyler on May 15, 2010, 10:15:55 am
F12, but not for all graphics, since that would ruin all interfaces ever made. Would be nice for crosshairs and bullets.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: biohazard on May 15, 2010, 10:24:27 am
idk if its better for cursor, ppl are used to calculate the bullet arc by how it is already. Btw in my POV, would be better to use directdraw, instead of sprite, to render the cursor... Would prevent those imba cursor with a giant vertical line on it.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Centurion on May 15, 2010, 11:00:15 am
headshot effect was just an example of how eC is wasting time...

You seem to mock eC's work very often lately. Maybe you want to start developing next soldat releases by yourself?

It'd fail even harder than it already does.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 11:10:58 am
idk if its better for cursor, ppl are used to calculate the bullet arc by how it is already. Btw in my POV, would be better to use directdraw, instead of sprite, to render the cursor... Would prevent those imba cursor with a giant vertical line on it.
we're talking pascal now... I'm not really familiar with it, but as far as I know, it's a rather weak language.

headshot effect was just an example of how eC is wasting time...

You seem to mock eC's work very often lately. Maybe you want to start developing next soldat releases by yourself?

It'd fail even harder than it already does.
sure, I could develop soldat all by myself.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: L[0ne]R on May 15, 2010, 02:23:14 pm
F12, but not for all graphics, since that would ruin all interfaces ever made. Would be nice for crosshairs and bullets.
Also weapons and gostek bodyparts.

Yeah, this fix would make modding community very happy. It would be especially good now, when most people are getting bored from normal Soldat and are playing mods more often.

You're probably the only person here who doesn't understand his point.
If that makes you feel smarter, I had no idea what -Major- was talking about either.

sure, I could develop soldat all by myself.
Less talk, more action. Join openSoldat project.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Neosano on May 15, 2010, 03:09:02 pm
STOP TALKING ABOUT SHIT!
Just fix the damn CURSOR! It's really stupid when you're getting binked and this damn cursor resizes from top left corner!
Title: Re: Draw picture from the pictures center instead of top left.
Post by: L[0ne]R on May 15, 2010, 03:12:24 pm
STOP TALKING ABOUT s**t!
Just fix the damn CURSOR! It's really stupid when you're getting binked and this damn cursor resizes from top left corner!
Basically whatever you, just you and only you want is ok, everything else is, as you say, shit.
Somehow your posts from long ago seemed to me more appropriate, but lately you've been acting like a stereotypical troll. What can I say.. stop trolling and leave the forums, please. Stand in the corner and think about your behavior.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 03:23:49 pm
Neosano could you please spam at Hexerpage where admins won't ban you? This is "reality"

@-Major-: I heard somewhere you've done some games. Can you show me some?
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Dusty on May 15, 2010, 03:24:34 pm
You're probably the only person here who doesn't understand his point.
If that makes you feel smarter, I had no idea what -Major- was talking about either.

It really does yeah, I understood instantly after I had read the title. Less thinking more common sense pls
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 15, 2010, 03:27:24 pm
Probably because trolls understand trolls..
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 15, 2010, 05:02:22 pm
Neosano could you please spam at Hexerpage where admins won't ban you? This is "reality"

@-Major-: I heard somewhere you've done some games. Can you show me some?
nope ;o

F12, but not for all graphics, since that would ruin all interfaces ever made. Would be nice for crosshairs and bullets.
Also weapons and gostek bodyparts.

Yeah, this fix would make modding community very happy. It would be especially good now, when most people are getting bored from normal Soldat and are playing mods more often.
well :p, reason for my suggestion was that I was creating an interface mod, but ran into a problem... which was to make the player indicator cover more of the left area of the soldat, which isn't possible.

sure, I could develop soldat all by myself.
Less talk, more action. Join openSoldat project.
well, I would just fix whatever I want and then drop it :p, I would probably be a worse developer than eC.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Neosano on May 15, 2010, 05:02:56 pm
STOP TALKING ABOUT s**t!
Just fix the damn CURSOR! It's really stupid when you're getting binked and this damn cursor resizes from top left corner!
Basically whatever you, just you and only you want is ok, everything else is, as you say, s**t.
Somehow your posts from long ago seemed to me more appropriate, but lately you've been acting like a stereotypical troll. What can I say.. stop trolling and leave the forums, please. Stand in the corner and think about your behavior.
This thread became really useless and BORING. Nobody uses these funky mods, when everybody use a CURSOR. This fix is really important, it must be fixed!
Title: Re: Draw picture from the pictures center instead of top left.
Post by: biohazard on May 15, 2010, 09:37:08 pm
Whats wrong with the gosteks? If you play realistic u can notice easly headshots. How many times i used 2 bullets; 2 headshots; 2 kills; profit @ low volly with deagles.

Btw with ruger its easly noticiable.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: L[0ne]R on May 15, 2010, 11:50:53 pm
This thread became really useless and BORING. Nobody uses these funky mods, when everybody use a CURSOR. This fix is really important, it must be fixed!

I think you made a few spellings mistakes in your comment. Let me correct them.
I think this thread has become useless and boring. I don't use these funky mods.

I'll congratulate you on writing this part (almost) correctly though:
Everybody uses a CURSOR. This fix is really important, it must be fixed!
-----

But seriously - stop making up facts that aren't true, and stop trying to make your opinion sound like it's everyone else's opinion. That's what trolls do. Trolls are stupid, pathetic and miserable creatures and are despised by everyone. Don't be a troll.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Neosano on May 16, 2010, 02:20:55 am
This thread became really useless and BORING. Nobody uses these funky mods, when everybody use a CURSOR. This fix is really important, it must be fixed!

I think you made a few spellings mistakes in your comment. Let me correct them.
I think this thread has become useless and boring. I don't use these funky mods.

I'll congratulate you on writing this part (almost) correctly though:
Everybody uses a CURSOR. This fix is really important, it must be fixed!
-----

But seriously - stop making up facts that aren't true, and stop trying to make your opinion sound like it's everyone else's opinion. That's what trolls do. Trolls are stupid, pathetic and miserable creatures and are despised by everyone. Don't be a troll.
See? This thread is useless! 70% of messages are off-topic :-S
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 16, 2010, 02:34:09 am
@-Major-: I heard somewhere you've done some games. Can you show me some?
nope ;o
even when I was really noob at programming, my programs/games worked without stupid random bugs (since I fixed them as soon as I noticed them, and I knew my code in and out)

oh what now
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 16, 2010, 05:20:42 am
@-Major-: I heard somewhere you've done some games. Can you show me some?
nope ;o
even when I was really noob at programming, my programs/games worked without stupid random bugs (since I fixed them as soon as I noticed them, and I knew my code in and out)

oh what now
I have games, but I'm not gonna show them for you.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Mercury92 on May 16, 2010, 08:04:46 am
@-Major-: I heard somewhere you've done some games. Can you show me some?
nope ;o
even when I was really noob at programming, my programs/games worked without stupid random bugs (since I fixed them as soon as I noticed them, and I knew my code in and out)

oh what now
I have games, but I'm not gonna show them for you.

mario/tetris/ping-pong
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Horve on May 16, 2010, 10:28:18 am
Elaborate, I am unable to understand anything, even if I try really hard.

headhost effects

Meh.
I don't know what I'm talking about. I agree, but I disagree, also, M79 bullets.
Change your description, because I, the lord of all holy, demand it. It doesn't matter what you say, listen to wha I say now. That means, you listen to what I say even though I am full of s**t as much as I'm full of myself.
Dusty, could you be so kind and notice how much of an imbecile I am once more? Thanks!
Neosano could you please tell everyone the story of how my sorry ass was banned on Hexer forums for phishing and then trying to evade the punishment for playing by pulling the "little brother" card?

@-Major-: I heard somewhere you've done some games. Can you show me some?
Probably because I am a stupid troll..
@-Major-: I heard somewhere you've done some games. I like games and I demand your attention right f**king now!
nope ;o
even when I was really noob at programming, my programs/games worked without stupid random bugs (since I fixed them as soon as I noticed them, and I knew my code in and out)

oh what now. Durr durr, derp derp.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Illuminatus on May 16, 2010, 11:46:34 am
someone pls close this thread
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 16, 2010, 01:01:15 pm
someone pls close this thread
you should rather ban spammers than locking the topic that is being hijacked, grow a brain.

besides, you should be banned for backseat moderating.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: DarkCrusade on May 16, 2010, 01:17:35 pm
besides, you should be banned for backseat moderating.

So what do you think you do. I agree with Illuminatus on this point. This whole discussion is pointless and getting nowhere, if EnEsCe decides to do this he'll let us know.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: -Major- on May 16, 2010, 01:45:57 pm
besides, you should be banned for backseat moderating.

So what do you think you do. I agree with Illuminatus on this point. This whole discussion is pointless and getting nowhere, if EnEsCe decides to do this he'll let us know.
I am pointing out to him what he's doing wrong, and back-seat moderating is very annoying, both for admins and other users.
it is getting somewhere, untill YOU slided off the subject. if you're too fucking stupid to stay on topic then don't post.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Illuminatus on May 17, 2010, 09:42:51 am
besides, you should be banned for backseat moderating.
Ya, I should have PM'ed some moderator instead of posting here so you don't rage again.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: Mercury92 on May 17, 2010, 03:04:03 pm
besides, you should be banned for backseat moderating.

So what do you think you do. I agree with Illuminatus on this point. This whole discussion is pointless and getting nowhere, if EnEsCe decides to do this he'll let us know.
I am pointing out to him what he's doing wrong, and back-seat moderating is very annoying, both for admins and other users.
it is getting somewhere, untill YOU slided off the subject. if you're too f**king stupid to stay on topic then don't post.
Well looks you started topic and going into offtopic while blaming others.
Title: Re: Draw picture from the pictures center instead of top left.
Post by: SadistAtHeart on May 17, 2010, 09:56:25 pm
Thread locked.