Charas-Project

Game Creation => Requests => Tutorials => Topic started by: ThexXtremeXx on November 28, 2008, 11:43:05 PM

Title: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 28, 2008, 11:43:05 PM
My newest game: NeoLith is having some troubles. Those troubles are:

I don't have a fighting system.
Or a shooting system.
OR a  crosshair system.

Can anyone help?
Title: Re: An Shooting Crosshair ABS
Post by: Prpl_Mage on November 29, 2008, 12:00:47 AM
What exactly do you need? You gotta be a little more specific than that my friend.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 12:14:51 AM
Well say if i wanted my character to hold a wrench, and use z to attack, and have the wrench do damage, how would i do that?
for the shooting system how would i be able to just press a button and a bullet projectile were to shoot from the gun.
for the crossahair how would i use a picture to make one?
Title: Re: An Shooting Crosshair ABS
Post by: Ben on November 29, 2008, 12:48:08 AM
i think you need to understand conditional branches, variables, loops show picture commands and understand how to not rely on the default system to even do this. Somebody will inevetably post an explanation of the process, but i think if you cant mental map out a rough Idea of the process involved in the BARE BONES of the systems, your pretty much screwed. No amount of instruction will help.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 12:50:03 AM
yeah, well i think you need to understand to STICK to the request that was given, don't BRANCH of to my incapabilities.
 _veryangry_
Title: Re: An Shooting Crosshair ABS
Post by: HobomasterXXX on November 29, 2008, 01:15:44 AM
Gemini has a point. You will get nothing out of someone making your systems for you. Especially when it comes to editing the code.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 01:31:35 AM
LOOK, JUST ANSWER MY ****** QUESTION!
Title: Re: An Shooting Crosshair ABS
Post by: Prpl_Mage on November 29, 2008, 02:15:21 AM
They both have a point.

I could tell you how to do it. But if you don't get what I write then there isn't much of a point is there?
You made a topic about the cross-hair some days ago that DB answered.

Check that thread with the ABS tutorials, that's what you are looking for.
ABS is an active battle system, like Legend of Zelda for the gameboy.
I know Asuka had a tutorial on both melee and ranged combat.
But really, you should familiarize with the program a bit more before trying these kinds of things. They are rather complicated(Hell, I manage to screw up) and you'll get it better if you know what's going on.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 02:41:06 AM
-.- just forget it. Ill ask the guys at ULTIMA ISLAND!
Title: Re: An Shooting Crosshair ABS
Post by: Ben on November 29, 2008, 05:34:16 AM
I didnt breach anything.

I told you some things you're going to NEED to brush up on, before you go about making a system like this.

If someone tells you
MAKE A COMMON EVENT WITH A SWITCH THAT WILL SET VARIABLEX to the Value of VARIABLE_RANGE WITH BLAH BLAH BLAH

then youre not going to know how to use the system enough to tweak it to your needs.

Dont be a whiny beatch because i told you you need to learn something before you go about this system.

It would be different if you asked for help after giving an example of the system youve mapped out thus far. You havent even tried, youve asked us to program it for you.

Grow up

peinis
Title: Re: An Shooting Crosshair ABS
Post by: ellie-is on November 29, 2008, 01:09:26 PM
Gawd X. Lately you seem to be going emo for too little. This, the machin thing that I cant spell...
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 01:59:49 PM
I didnt breach anything.

I told you some things you're going to NEED to brush up on, before you go about making a system like this.

If someone tells you
MAKE A COMMON EVENT WITH A SWITCH THAT WILL SET VARIABLEX to the Value of VARIABLE_RANGE WITH BLAH BLAH BLAH

then youre not going to know how to use the system enough to tweak it to your needs.

Dont be a whiny beatch because i told you you need to learn something before you go about this system.

It would be different if you asked for help after giving an example of the system youve mapped out thus far. You havent even tried, youve asked us to program it for you.

Grow up

peinis

Well **** you jem, I didnt ask you to comment on how bad i'm at coding. God your such a ****ing dick. All I need is a ****ing Template you ****ing **** **** **** gay mother****er **** lick dog *** motherfuck! ****! AND YES I HAVE ****ing TRIED IT DOESNT WORK SO BACK OFF YOU DICK! :yell:
Title: Re: An Shooting Crosshair ABS
Post by: Dominicy on November 29, 2008, 06:42:37 PM
Quote
peinis

I lol'd.

What is a man to do when not even the quote button can elaborate on just what the hell you said?  Either way, that was pretty cool.  Right and, whatever happened to common courtesy when you ask for something?  Don't make us feel like we're in a sweat-shop.  Better yet, why don't you just open up Paint, draw a 16x16 circle, and add some lines in here and there?  There you go, you have a cross-hair in about a fifth the time any of us would have cared to put it here.

It's very possible I just want another of those reactions, FYI.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 07:35:36 PM
*Slaps forehead* I have a crosshair, i just dont know how to use it.
Title: Re: An Shooting Crosshair ABS
Post by: Dominicy on November 29, 2008, 08:11:58 PM
That might just put into perspective how diluted your request description is, then.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 29, 2008, 08:35:43 PM
read the first thing i posted, it said:
My newest game: NeoLith is having some troubles. Those troubles are:

I don't have a fighting system.
Or a shooting system.
OR a  crosshair system.

Can anyone help?

A crosshair system, it didnt say i needed a graphic.
Title: Re: An Shooting Crosshair ABS
Post by: Prpl_Mage on November 29, 2008, 08:59:59 PM
I don't think there are any real templates for these kinds of things to be honest.

You could search the net for games with an ABS including melee and ranged combat as well as enemy AI and then copy everything to your project.
When you got everything copied: exchange all the graphic changes with your own graphics and replace all the battle animations with your own.
Then make sure that no variable is used more than once so you haven't used variable 1 for something and the ABS you copied also use variable 1.

But as stated earlier. It will still be hard to figure everything out without some experience. But if you think you can do it, then you better start searching for games.(Or tutorials).
Title: Re: An Shooting Crosshair ABS
Post by: Dominicy on November 29, 2008, 09:10:12 PM
It's hard but it's possible to find an ABS template.  That's how I got started with them.  Most of them are pretty bad, without a good deal of tweaking, though.  Like Prpl (and everyone else with a shred of sanity) said, find some tutorials, get better at RPGmaker, and then come back and try again.
Title: Re: An Shooting Crosshair ABS
Post by: Prpl_Mage on November 29, 2008, 09:43:47 PM
It's hard but it's possible to find an ABS template.  That's how I got started with them.  Most of them are pretty bad, without a good deal of tweaking, though.

Yeah I know that for sure. I remember trying once but ended up copying the system FFL1 used for his crappy game.
And that system still ended up being like 5 full pages of common events and a bad-*** long list on each enemy.
And even then; the enemy AI was more or less:
"Face hero
move forward, move forward
speed up
Move against hero, move against hero, move against hero"
Something I learned from that game Bluhamn did some while back with the staff-guy and the fat guy.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on November 29, 2008, 11:17:49 PM
OH WELL IF YOU HAVE THE CROSSHAIR its another story


Just set it up to the rifle Event. Problem solved.



We dont do project templates here.
Have you ever seen a template subforum?
You can swear all you want, You still look stupid in the end
Title: Re: An Shooting Crosshair ABS
Post by: Fisherson on November 30, 2008, 04:16:41 AM
What you need is an ABS. The templetes for that very. I have a redy made one that you might be able to learn from. I'll PM you it if you want.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 30, 2008, 05:25:13 AM
yes i would like that, thank you.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on November 30, 2008, 10:09:07 PM
OH WELL IF YOU HAVE THE CROSSHAIR its another story


Just set it up to the rifle Event. Problem solved.

Rifle event?
Title: Re: An Shooting Crosshair ABS
Post by: Ben on November 30, 2008, 11:11:28 PM
Rifle event?
moron
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 01, 2008, 12:15:03 AM
you see how you insult me for now reason? This is why I dont like you, but I'll be the mature one and disregard what you have said above. I'll ask again. What is that?
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 01, 2008, 12:44:18 AM
there is no rifle event.

there is a plethora of common events and switches and variables and conditional branches.

Ill tell you how to make the system in splendid detail, If you post in every topic on the top ten for the next week how Awesome I am, and how ignorant and generally stupi you are.

Deal? Y/N
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 01, 2008, 01:17:43 AM
No deal. I'm not going to stoop to your level.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 01, 2008, 01:30:51 AM
Okay, then how about this? Ill tell you how to make your system.
But you actually have to do the work


Like, Following direction?
Like, If i tell you to have a variable that is Equal to to + 4 to the Players X if player is facing right. And then -4 of varable X if player is facing left

the point im trying to make here, Is I would have told you how to make the system, and still will, if you make a point of learning how to do the grunt work

What I am saying is....

are you actually willing to learn how to use RPGmaker properly? Because if you are, Ill tell you what you need to know.



Or you could check the "Project template" Database of Charas.lol
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 01, 2008, 01:32:58 AM
Mmm...okay sensei, Teach away.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 01, 2008, 01:41:08 AM
Okay, ye of hairless groin, I need you to post a screen cap of what you have so far in the system.

Give me a screenshot of any event pages.

Also, Explain with detail an or diagrams what exactly youre trying to do with the crosshair system.

We'll work on the ABS after we get the crosshair system started....


and im going to call you names. if you cant deal with that, then youre doomed


EDIT: Also, what maker are you using? 2k3 Im going to assume....Might I suggest getting XP? I can just tell you how to alter some existing scripts. If not, then whatever, its just more work for you, and more space for me to illustrate my contempt and superiority
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 01, 2008, 02:12:02 AM
So now, Explain what youre trying to do with the crosshair.

How many tiles away should it be from the player?
How, ideally, would the system operate?

Draw me a picture if you need to. Give an example of a similar system in a game
What youve supplied is pretty much useless to me, so you can pretty much delete it.


You said you had the crosshairs....Show me the image.
Is it a charset, picture or frame....Is the shooting part a minigame or a part of the ABS?

You need to tell me more, and in great detail.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 01, 2008, 02:23:40 AM
Okay, this is a handfull;

The crosshair's distance away from the hero should
vary depending on the weapon being used, for example
If I were to have a sniper equipped it would be 6 tiles away
from the character. But if I had an assualt rifle it would be
3.

The system would move along with the hero, so If the hero moved
left the so would the crosshair. But when moving with a scoped weapon
you wouldn't be able to shoot with out scoping so, that means that the
crosshair would appear transparent . An example of a system of such
could be seen in the legend of zelda (except the scoped weapons part.)
where link would use an arrow that would go directly ahead of him and
not stop until it hit a wall or something.

(http://i285.photobucket.com/albums/ll74/Rebellion_4897/Crosshair.png)
It's part of the ABS. Thats the best I could expplain it.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 01, 2008, 02:44:10 AM
okay....

Just out of curiosity, if the projectile dosn't stop until it hits a wall....

why do you need to have the crosshairs at all?


Okay, First of all, Format the crosshair into a charset, if you can wrap you inferior brain around that.

The crosshair needs to be Centered in the charset. That means cenered in the Bottom-middle 16X16 of the charset frames, and make it so that the image appears in EVERY panel of the Charset.

Give it a name youll remember.

Then make some projectile Charsets...
Bullets....
Make them face in the right directions.

Also, Make Sprites of the Actual Weapons (the stupid wrench you talked about) and make them face the appropriate directions.
This will take some work if you cant find sprites of what you need.

So because the crosshair dosent actually do anything right now...just Shows the direction of fire.....

Find and arrange all the sprites on a spritesheet.


*Crosshair
*Bullets
*Weapons

Youll probably want to have a few versions of each of these, since youre planning on using different weapons, it would be smart to have different Crosshairs for each


Do this, and then post them for me.

Also, Delete the **** you posted before....the events I mean. They are useless
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 01, 2008, 02:48:14 AM
Ill do that after school tommorow. I gotta hit the hay.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 02, 2008, 01:25:25 AM
Lets see them resources.
Unless You want to prove me right...
Title: Re: An Shooting Crosshair ABS
Post by: Meiscool on December 02, 2008, 04:47:13 AM
Ok, I didn't read the first two pages, but judging by Gem's helpful help you havn't been helped yet.

Making a crosshair is pretty easy. There are two main ways you can do it.

The first, and recommended, is with pictures. Pictures allow less error and move/flow better, BUT they will automatically be shown above everything except battleanimations... which is something you might not like.

To use pictures, you need to know how to use the "Show Picture" command, as well as how to use X and Y screen cords. If you don't already know how to use them, then you should just quit this idea because you are going to need to know how to use them to make a HUD anyways...

So, set the target's X and Y screen cords to your hero's X and Y screen cords. Also, to center the crosshair correctly, I think you want to subtract 8 from the x screen cord, because your character isn't actually centered correctly on the 20 horizontal tiles. Next, run a check on which way your hero is facing, and add/subtract from the varibles as fit. Tiles run in a series of 16 pixels wide/high, so for each tile over you want your crosshair, it should be moved by 16 pixels. Thus meaning, if your hero is facing left and your weapon has a range of three tiles, your cross hair's x should be: 56 less than your hero's x (16 times 3 plus the initial subtraction of 8 x) . If your hero is facing up, then your cross hair's x should be 8 less than your hero's x, and your cross hair's y should be 48 less than your hero's y.

If this isn't a good enough explaination, or if you want the other way explained... which isn't recommended because it takes more work, is slower, and laggy, then just ask.

EDIT - haha, just read the first page. Man you suck. "plz make my game for me plz plz" hahahahahaha.
Rule of thumb for game making is that if you don't know how to make the system yourself, the game will fail. You should go find an rpg maker game with an ABS already in it and look over the code, see what was done to make it, etc. You won't learn your way around the maker without experimenting, and what better to experiment on than someone else's completed project? Just... you know... don't change the coding then call it your own or somethig.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 02, 2008, 05:29:58 AM
Yeah dude, thats pretty much waht I was Illustrating.
I was going to see if he actually had the know how or initiative to Make a (arbitrary) crosshair, before I went out of my way to help him with an ABS....

But really, He has a little image of a crosshair, and by the looks of it, thats about all the work he is willing to do.

I was going by the event route, because allthough it was a bit more work, It would have been easier for me to explain.
But Yeah...

He dosent want to make a game.
He wants the game made for him.

this is evident by

Ill do that after school tommorow. I gotta hit the hay.

And then no follow up. Im glad this topic is around though. Ill post a link to it every time he requests something.
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 02, 2008, 07:32:47 PM
Ok, I didn't read the first two pages, but judging by Gem's helpful help you havn't been helped yet.

Making a crosshair is pretty easy. There are two main ways you can do it.

The first, and recommended, is with pictures. Pictures allow less error and move/flow better, BUT they will automatically be shown above everything except battleanimations... which is something you might not like.

To use pictures, you need to know how to use the "Show Picture" command, as well as how to use X and Y screen cords. If you don't already know how to use them, then you should just quit this idea because you are going to need to know how to use them to make a HUD anyways...

So, set the target's X and Y screen cords to your hero's X and Y screen cords. Also, to center the crosshair correctly, I think you want to subtract 8 from the x screen cord, because your character isn't actually centered correctly on the 20 horizontal tiles. Next, run a check on which way your hero is facing, and add/subtract from the varibles as fit. Tiles run in a series of 16 pixels wide/high, so for each tile over you want your crosshair, it should be moved by 16 pixels. Thus meaning, if your hero is facing left and your weapon has a range of three tiles, your cross hair's x should be: 56 less than your hero's x (16 times 3 plus the initial subtraction of 8 x) . If your hero is facing up, then your cross hair's x should be 8 less than your hero's x, and your cross hair's y should be 48 less than your hero's y.

If this isn't a good enough explaination, or if you want the other way explained... which isn't recommended because it takes more work, is slower, and laggy, then just ask.

EDIT - haha, just read the first page. Man you suck. "plz make my game for me plz plz" hahahahahaha.
Rule of thumb for game making is that if you don't know how to make the system yourself, the game will fail. You should go find an rpg maker game with an ABS already in it and look over the code, see what was done to make it, etc. You won't learn your way around the maker without experimenting, and what better to experiment on than someone else's completed project? Just... you know... don't change the coding then call it your own or somethig.

No, I just wanted really just how to make a crosshair, the ABS however I can fend for myself, but to make things easier on me, I've decided to just remove the crosshair, it would be hard to see anyway.

To Gem:
Abooout that...heh funny story, apparently bullets are supposed to be aligned with the charset right?
You don't know how screwed up my charset looks now.
Title: Re: An Shooting Crosshair ABS
Post by: Emerates on December 02, 2008, 08:56:53 PM
Could you possibly make the crosshair itself a battle animation?  Since the hero's always in the middle of the screen unless you get to the very edge (fixable on any map), you could just set it to target the hero, loop it, and voila!  Theoretically, it could work.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 02, 2008, 09:30:22 PM
No, I just wanted really just how to make a crosshair, the ABS however I can fend for myself, but to make things easier on me, I've decided to just remove the crosshair, it would be hard to see anyway.

To Gem:
Abooout that...heh funny story, apparently bullets are supposed to be aligned with the charset right?
You don't know how screwed up my charset looks now.



Whhy the hell are you doing it on your charset? Moron.

I told you to make a seperate one.


Dont align it to your character, Just center it in the Lowest and centermost 16X16 Tile.
Adjustments come later.

Also;

So youre "Just gonna fend for yourself later" With the ABS, and the Crosshair is too much work, so youre not doing it anymore.

Why dont you just man-up and admit that you have no intrest in doing your own work, kid? Seriously, Id respect you more if you just acted like a Man, and admitted it without throwing a swearing hissy fit
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 02, 2008, 09:49:38 PM
No intrest in doing my own work? That wasn't the reason I stopped the Cross hair, it was stopping me from completing the game.
The ABS, like I said I'll fend for it later.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 02, 2008, 10:02:05 PM
the crosshair could be done in literally, like, 20 minutes, If you spent the extra time to format the image correctly.

And Not having a battle system is going to impair your project a bit more then the crosshair.

Or you know, you could just do all of the fun stuff first, and then most likely give up on the project and start something new when you actually have to do some hard work.i dont think you have the capacity to make an ABS, if you want honesty,

Like I said, Im going to link you to this topic every time you make a help request, or start a project
Title: Re: An Shooting Crosshair ABS
Post by: Prpl_Mage on December 02, 2008, 10:12:33 PM
I think fisheron sent him a game that had an ABS. So I suppose he technically already have it done.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 02, 2008, 11:10:06 PM
so hes not doing the crosshair

and somebody sent him an ABS

so he has really no REAL work to do



Fish, you are a retard too (if indeed you sent him one)
Title: Re: An Shooting Crosshair ABS
Post by: ThexXtremeXx on December 03, 2008, 12:55:37 AM
no, i didnt get one, and like i said,

I
Will
Fend
For
It
Later.
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 03, 2008, 01:49:40 AM
so youre still doing all of the easy and fun stuff first though...lol

I hear thats the key to a great game. Do all of the easy stuff first, and then the hard stuff is so easy that your project will finish itself instantly.


Good luck man.lol
Title: Re: An Shooting Crosshair ABS
Post by: Meiscool on December 03, 2008, 02:53:50 AM
haha
Title: Re: An Shooting Crosshair ABS
Post by: Ben on December 03, 2008, 03:12:27 AM
ha ha indeed.