Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Little Question...
« previous
next »
Print
Pages: [
1
]
Author
Topic: Little Question... (Read 4150 times)
TadBolmont
Initiate
Posts: 10
Little Question...
«
on:
October 08, 2008, 09:44:23 AM »
Okay. Before I start, I just want to say that I didn't know if this was the place to post this question, but I figured it was the best choice.
Alright, on with the question... I'm putting an Allignment system (Good, Evil, Neutral) using a tut I found on Ultima Island. Along with those three allignmants, however, I've added two more (Devilish and Holy) and while putting in the event commands, I began to wonder if the way I had it would work. Um... there's a pic of the command list below.
P.S. In case the info is needed, it's a common event set to parallel process...
Edit: Also, can someone tell me how to properly use the ship tileset in the rtp? Its got me all confuzzled.
«
Last Edit: October 08, 2008, 09:49:13 AM by TadBolmont
»
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Little Question...
«
Reply #1 on:
October 08, 2008, 02:23:32 PM »
I suppose that the varaible is your currenct allignment?
-5 develish -1 evil 0 neutral 1+ good 5+ holy
I think that would work very well. Another option would be to add else commands but I'm pretty sutre that'll work as well.
And I think there's a pic of the ship chip somewhere, check the mapping thread.
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
TadBolmont
Initiate
Posts: 10
Re: Little Question...
«
Reply #2 on:
October 08, 2008, 03:57:51 PM »
Thanks. I thought I had got it right, just wasn't sure...
Oh, and about the ship thing, I've looked before, but I'll try again...
Logged
Felix-0
And we'll never be
Royal
Posts: 3,563
(royals)
Re: Little Question...
«
Reply #3 on:
October 09, 2008, 06:07:54 PM »
LOL my sequel to my game has a system just like yours..just It changs menu color like
Star wars KOTOR. Where as the menu is faded red is -1/-4. Blood red is -5 .grey is neutal. and bright blueis 1/4 and Pure white is 5
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------
Meiscool-2
Sage
Posts: 7,030
If you support n00bs, you support communism.
Re: Little Question...
«
Reply #4 on:
October 09, 2008, 07:24:00 PM »
Well, from the looks of things, you might end up with some switch issues. For example, at the very end you have it turning on Good if your allignment is less than 5, but what if the allignment is -2? Then you would have both the Good and the Evil switches on. Then you have it turning off Holy if the allignment is more than -5, but remember, 9 is more than -5, which SHOULD be considered holy.
What I'm saying is... the way you have it right now, you might end up with more than one switch on, none on at all, or even the wrong switches on/off. You could use fork conditions to fix this, but I would go with the below:
Instead of having five switches, you should just have one varible called "Evilness" or something. If you're allignment is 0, then set Evilness to 0. If it is less than 4 but greater than 1, set it to 1 for "Good". So on and so forth for the rest of the stuff.
Logged
Most Recent:
________________________
Old Stuff:
Felix-0
And we'll never be
Royal
Posts: 3,563
(royals)
Re: Little Question...
«
Reply #5 on:
October 09, 2008, 07:57:55 PM »
I just realised that.I don't see how I missed that
..On the other hand I made 5 diffrent switches
056: Neutral
057: Evil
058: Demon
059: Good
060: God
Each has some influence on the scenesa in game...but its mostly for choosing who you get in your party
My idea went
Conditional branch: If variable (allegiance) is
Greater than 0
Switch Good (ON) Switch Neutral, God, Demon, Evil (Off)
Conditional branch: If variable (allegiance) is
Equal to 5 God (ON) and so forth
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------
TadBolmont
Initiate
Posts: 10
Re: Little Question...
«
Reply #6 on:
October 10, 2008, 01:53:37 PM »
Wow. You're right, Meiscool. I didn't notice that at all. However, I have changed it. Now, when the value goes below -5, the devilish switch is still turned on, but the evil switch stays on, and the same thing on the other end of the scale, with the good and holy switches.
Logged
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Little Question...