Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

An idea...is it possible in OHR?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Minnek
Conjurer




Joined: 03 Jun 2003
Posts: 430
Location: Somewhere

PostPosted: Thu Oct 30, 2003 7:50 am    Post subject: Reply with quote

Actually, that was *Worthy* you were speaking of Flamer, but I do have a battle system of my own that resembles OHR Tactics, that has thousands of lines of code (thanks to the custom menu [surprise] that I have in there that lets you change classes for the four characters in the battle. Ask LeRoy about it, he saw the beginnings of it XD RPGExcel Tactics, we were GOING to call it, but I'm still deciding if it shouldn't just be something else. We had a really spiffy title screen, too... oops, going off topic.) Right, well anyway if anyone has any questions about making custom menus and battles and stuff, I think you guys know who to ask (which isn't just referring to myself, of course. Plenty of people here to ask, quit lookin' at me! Though I'm happy to help XD )
_________________
* SDHawk has joined #Minnek
SDHawk> AAAAAAAAAAAAAUUUUUUUUUGH
* SDHawk has left #Minnek (Leaving)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Sephyroth
Renegade Rebel Redmage
Class A Minstrel



Joined: 04 Feb 2003
Posts: 644
Location: Schmocation

PostPosted: Thu Oct 30, 2003 9:29 am    Post subject: Reply with quote

I am in awe of people who plotscript their own battle systems.. Oookay... The farthest I ever got in something like that was less than 1000 lines, and then I got so confused that I gave up. Still, it's worth the experience to try to program your own system...
_________________
im realy ded Sad...
Back to top
View user's profile Send private message Send e-mail AIM Address
*Worthy*
Critical Thinker




Joined: 11 Aug 2003
Posts: 186

PostPosted: Thu Oct 30, 2003 12:01 pm    Post subject: Reply with quote

Before creating my battle system, I had never fully appreciated the importance of giving each variable a good name. Correctly naming variables can make life a whole lot easier when trying to create a very large script. That was one problem I encountered when I first started. I used abbreviations too frequently and it got to the point that I had no idea what variable meant what.

After about 3000 lines in, I decided to change the name of all of my global variables. Imagine going through 3000 lines and finding and changing all of your global variables (you'de be amazed how many are needed to make a battle system)...

~Worthy
_________________
You can do whatever you want...but prison is full of people who make bad decisions.
Back to top
View user's profile Send private message Send e-mail AIM Address
Minnek
Conjurer




Joined: 03 Jun 2003
Posts: 430
Location: Somewhere

PostPosted: Thu Oct 30, 2003 12:04 pm    Post subject: Reply with quote

I can't agree with you more, Worthy. What a pain it must have been sifting through all that code looking for variables, oi. Luckily I've not had to do that yet, and I'm hoping I never will Oookay... Gah, what a pain.
_________________
* SDHawk has joined #Minnek
SDHawk> AAAAAAAAAAAAAUUUUUUUUUGH
* SDHawk has left #Minnek (Leaving)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Sephyroth
Renegade Rebel Redmage
Class A Minstrel



Joined: 04 Feb 2003
Posts: 644
Location: Schmocation

PostPosted: Thu Oct 30, 2003 12:07 pm    Post subject: Reply with quote

I'd think you'd use the global #s more than names in scripting battle systems...
_________________
im realy ded Sad...
Back to top
View user's profile Send private message Send e-mail AIM Address
Minnek
Conjurer




Joined: 03 Jun 2003
Posts: 430
Location: Somewhere

PostPosted: Thu Oct 30, 2003 1:03 pm    Post subject: Reply with quote

Well it depends, Sephy. I use them as a fake array when dealing with monster HP, MP, and stats, but have ones I named for the heros, since you always have the same four (except they change class.) Then there're the other variables in the system you need that you have need of understandable names.
_________________
* SDHawk has joined #Minnek
SDHawk> AAAAAAAAAAAAAUUUUUUUUUGH
* SDHawk has left #Minnek (Leaving)
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Iblis
Ghost Cat




Joined: 26 May 2003
Posts: 1233
Location: Your brain

PostPosted: Thu Oct 30, 2003 3:20 pm    Post subject: Reply with quote

Quote:
After about 3000 lines in, I decided to change the name of all of my global variables. Imagine going through 3000 lines and finding and changing all of your global variables (you'de be amazed how many are needed to make a battle system)...


You know, a lot of text editors have a "find and replace" feature, where it will find all copies of a certain string and replace it with another string.
_________________
Locked
OHR Piano
Back to top
View user's profile Send private message Send e-mail
Shadowiii
It's been real.




Joined: 14 Feb 2003
Posts: 2460

PostPosted: Thu Oct 30, 2003 3:32 pm    Post subject: Reply with quote

Oh man...bad memories...

Tags...all written down...but all shifted off by +1...700 lines...AAAAAAAAHHHHHHH!!!!

Ok so 700 isn't that much, but this is the same day I WROTE all of them, so I was pretty tired.

For the record, something I'd like to see in the next OHR update would be a built in compliler. I think I'll go post that right now.
_________________
But enough talk, have at you!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group