Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Question allignment bar(s it possible?)
Reply
Posted 2005-01-02, 10:03 AM
You know on Star Wars KOTOR 1 and 2. Well can you do that? like an extra pause menu option. If so tell me how please
Old
Profile PM WWW Search
heb786 is neither ape nor machine; has so far settled for the in-betweenheb786 is neither ape nor machine; has so far settled for the in-between
 
heb786
 



 
Reply
Posted 2005-01-02, 10:44 AM in reply to heb786's post "allignment bar(s it possible?)"
Never played either of those games.. so I'm going to ask for more info on what exactly you need.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-02, 03:59 PM in reply to BlueCube's post starting "Never played either of those games.. so..."
He's asking if you could add a system that tracks your evil/good deeds and affects your appearance/stats and displays that information in the pause menu. Basically he wants to know if it's possible to make a dynamic character alignment system in RPG Maker.

Il papa caca nei legno?
Old
Profile PM WWW Search
RoboticSilence is neither ape nor machine; has so far settled for the in-betweenRoboticSilence is neither ape nor machine; has so far settled for the in-between
 
 
RoboticSilence
 



 
Reply
Posted 2005-01-02, 04:54 PM in reply to RoboticSilence's post starting "He's asking if you could add a system..."
In the pause menu? No, unless you're using RMXP, in which case, have fun scripting that one in (I'm not even touching that .. HORROR).

Anyway, in RM2k3 at least, you can set a 1x5 picture that will just be your bar, and set that to the width of a variable ([xxxx]Alignment, I guess).

Then use a keypress (or an item) to call a Common Event that will display the bar. You can even have another picture be the "background" for it, and have it scroll in.. whatever you want, really.

Not too difficult, I think I'll build a demo later.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-03, 04:23 AM in reply to BlueCube's post starting "In the pause menu? No, unless you're..."
Looking at what RS said, I've got a little idea of what could be done...but as it is me, my idea involves lots and lots of switches...

Maybe if throughout the game different options pop up on what to do...for example:

Old woman with lots of money trying to get to bank, do you: Help her to the bank, or kill her and take the money?

Crude example but...by helping her, you get points added to your hero status if you will, which start you off going to good, and with the second option, you ose points, but get a lot of money...

But then you would need pictures for every points thing...though you could have a little bar down the side of the screen, split in the middle by a line...if you get points, green starts appearing above the line, if you lose them, red appears below the line...and the two bars stay there, not, say if you lose points the green goes down, just red appears...and then you can have different abilities for the hero status...more good if you are dominantly green, and more destructive if dominantly red...

So the more green you get...the more helpful you get...the more heroic, with legendary swords, and protective shields...and the more red, the more evil with extremely powerful evil spells, and destructive swords...

And maybe the players appearance can change...their clothes...their face...

Thinking back to the bar...if the green gets to certain stages, then the red disappears...how to explain...the two different parts of the bar have marks every so often, close together at first, before widening out...(kinda like experience points needed to get to the next level), and when a certain mark is reached, the opposite colour loses a bit of it's bar...say a mark is reached on the green, then the red reduces...

----------

Im forgot the switches part...


I said:
Maybe if throughout the game different options pop up on what to do...for example:

Old woman with lots of money trying to get to bank, do you: Help her to the bank, or kill her and take the money?

Crude example but...by helping her, you get points added to your hero status if you will, which start you off going to good, and with the second option, you ose points, but get a lot of money...
Each answer puts on a switch which changes the bar picture to show the consequences of the action...

----------

The start screen...if you create a sprite for a few bar pictures...then you can keep on taking away the current hero...and replacing it with the hero that suits the current bar position...but there will be a lot of positions...maybe do it for every other mark reached...but then you need to add in part of the other bar to make it seem different...

----------

I said something about different weapons etc....common events for all the shops...the different common events tie in with each switch...

----------

I write too much...I'll stop there...

Last edited by Lenny; 2005-01-03 at 04:28 AM.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2005-01-03, 11:02 AM in reply to Lenny's post starting "Looking at what RS said, I've got a..."
Yeah, I would follow Bluecubes example. It is quite easy to use the pictures, and the hero/bad guy tutorial thing can be found at Gaming World! Have fun!
R.I.P
Pontiac
Jan. 1926 - Dec. 2010 est.

Check the Gallery and Scrapbook often!
[deviantArt Account!]

Spy Hard
Agent WD-40:
Quote:
Well, you carry a UB-21 Schnauzer with an OPS Silencer, that's KGB, You prefer an 18-K over an AK, Your surveillance technique is NSA, Your ID is CIA, you recieved your PHD at NYU, traded in your GTO for a BMW, you listen to CD's by REM and STP, and you'd like to see JFK in his BVDs getting down with OPP and you probably put the toilet paper back on the roll with the paper on the inside...
Old
Profile PM WWW Search
Draco2003 has an imagination enthroned in its own recess, incomprehensible as from darknessDraco2003 has an imagination enthroned in its own recess, incomprehensible as from darknessDraco2003 has an imagination enthroned in its own recess, incomprehensible as from darkness
 
 
Draco2003
 



 
Reply
Posted 2005-01-04, 10:30 AM in reply to heb786's post "allignment bar(s it possible?)"
http://www.freewebs.com/bluecube/files/alignmentdemo.zip

I didn't feel like doing ALL of the negative values, but it's not that difficult to add those. You can hit the period key on your Numpad to bring up the meter, or it can be called via the ForceBars event (which is called by the kitty). Either way.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-07, 03:52 PM in reply to BlueCube's post starting "http://www.freewebs.com/bluecube/files/a..."
Soooo how did you do that? (The bar) I mean, did you have to make a picture for every time it goes up or down. If so that's fine with me. and how did you make the bar transparent? And how what size did you use for the picture of the bar. I used 1x5 pixels. Too small. 1x5 in. too thick and was vertical. cm too small. HOw did you get the keypress to be different each time you gain evil or good points. Variables, right? And that's it.

Last edited by heb786; 2005-01-07 at 04:00 PM.
Old
Profile PM WWW Search
heb786 is neither ape nor machine; has so far settled for the in-betweenheb786 is neither ape nor machine; has so far settled for the in-between
 
heb786
 



 
Reply
Posted 2005-01-07, 05:09 PM in reply to heb786's post starting "Soooo how did you do that? :) (The bar)..."
My bar section is 5x3 pixels, and the background image is 199x16 pixels (which is 4 width off from what I should have done. Oh well, it's just a demo). My demo simply adds a bar section every 5 points up and down, using a different picture number.

RPG Maker does pictures assuming that 0,0 is the center, which is retarded and wrong, but you'll have to work around that. To put something in the upper left, you put it at (width/2, height/2) generally, so the background went at 100,10 (to add a 2-pixel buffer at the top.. and a 1-pixel buffer on the left).

This means that since the first bar (5 points towards good) would be at 100, 1 on the image, it's at 101, 3 with the buffers.

=======

Now, I have that 5x3 bar segement to add. The center is really easy to find:



It's at 2,1 (0,0 is the upper left by most standards). To get the upper left to go to 101,3, I need to add that 2,1 to that, making the first segment go at 103, 4.

Every other segement is a piece of cake from here - Just keep adding 5 to the x value, since that's the width of the bar and we don't want to overlap them.

Basically, the answer is math. If you have a background image ready, I'll calculate out the whole deal for you if you want - RPG Maker has a really, really strange picture system. Just make sure that the height/width is an odd number to save me some calculating time.

======

Truthfully, the last bars on both sides will overlap the background since I was stupid and used the wrong image size. Oh well, it was late.

MATH THAT I SHOULD HAVE DONE:

Since I wanted 5 pixels for every 5 points (with a max of 100), I needed a 100 pixel bar for good, and a 100 pixel bar for evil. I used a 1-pixel border and a 1-pixel center line, making the whole bar supposed to be 203. (Do yourself a favor and stick to odd-numbered pixels. Much easier to find the center.)

Beyond that, the rest of the image is the words GOOD and EVIL, so the height is just based off of that. Now that I actually am not up at midnight working on the images, I can look back and say that I made my work harder by using 16 as a height and not 17. It's still fine though.

Using that system, the center is at 101,8 (though I'd add buffers, so I'd put the image at 103,10) and the first bar would have gone at 105, 6. From there, it would have continued normally, just adding 5 to the x value.

The math is really simple, yet difficult to explain in words.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-07, 08:59 PM in reply to BlueCube's post starting "My bar section is 5x3 pixels, and the..."
Nm I edited this post and I was stupid to delete all I had on this. Okay I hate math but I'll try to figure it out. Thx BC EDIT: OH NO my hero side of the bar is overlapping the evil side. WHat's wrong.

Last edited by heb786; 2005-01-07 at 09:30 PM.
Old
Profile PM WWW Search
heb786 is neither ape nor machine; has so far settled for the in-betweenheb786 is neither ape nor machine; has so far settled for the in-between
 
heb786
 



 
Reply
Posted 2005-01-07, 10:17 PM in reply to heb786's post starting "Nm I edited this post and I was stupid..."
I'd have to see both your backdrop and your bar segment images to help much with that question, heh.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-08, 02:22 PM in reply to BlueCube's post starting "I'd have to see both your backdrop and..."
Ok I'll show you....LATER! >
Old
Profile PM WWW Search
heb786 is neither ape nor machine; has so far settled for the in-betweenheb786 is neither ape nor machine; has so far settled for the in-between
 
heb786
 



 
Reply
Posted 2005-01-08, 04:53 PM in reply to heb786's post starting "Ok I'll show you....LATER! >:)"
Alright, good luck in figuring out what went wrong then, heh. Should be good practice, at least.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-01-08, 11:04 PM in reply to BlueCube's post starting "Alright, good luck in figuring out what..."
yes its very possible, but you have to make 1 enter the pause menu
Old
Profile PM WWW Search
savagebob is neither ape nor machine; has so far settled for the in-betweensavagebob is neither ape nor machine; has so far settled for the in-between
 
 
savagebob
 



 
Reply
Posted 2005-01-09, 01:10 AM in reply to savagebob's post starting "yes its very possible, but you have to..."
What? You're a bit late here, heh. I already have a demo posted and everything.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:27 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.