Axe Software Forums
  Quest Developer Forum
  EVERYBODY READ!!! I am making a unique game, and ALL OF YOU are the characters!


Author Topic:   EVERYBODY READ!!! I am making a unique game, and ALL OF YOU are the characters!
Tyrant posted 25-07-2001 23:06 GMT     
Alright, I am making some sort of fighting game where you pick a character (probably yourself) and battle up the ranks of other characters, which would be us.

First of all, here's a question to Alex. Does the time function work when there is a menu present? I want to be able to use a fight menu, but you have to choose your action quick before your opponent attacks you, so the time function would have to be working with a menu. Also, I want to see if I can slap on an invisible counter that tells you how long it took to beat your opponent at the end of the fight, and you are awarded points for how fast you beat your opponent.

Anyway, I want ALL OF YOU to reply so I know what your board names are to add to the game. I'm using your board names, not any real names. So my character would be, of course, Tyrant, and Alex's would be Alex... which is probably his real name anyway. I'm adding lots of features such as the ability to win points in a fight, and use those points to upgrade your character with better weapons, etc. It's almost like an RPG, but instead you go directly to a harder fight up the ranks.

Thanks, and be sure you reply if you read the boards. I want as many people in here as possible, and will probably add fictional opponents as well.

Computer Whizz posted 25-07-2001 23:38 GMT          
Hey, this doesn't sound too bad! It'll be nice to beat up Alex :)
LOL

Anyway, that length of battle thing:
You could use a numeric variable, where you set a veriable to 0 when you start a battle procedure. You then start a timer to shoot off every second and put up the variable by 1 each time. Once the battle is over, Quest runs another procedure that stops the timer, and reads the variable to the player..... then it would say: "Computer Whizz.... You beat Alex in 120 seconds" ;P
Or you could fool around and put it in minutes!

I wouldn't make the characters go DIRECTLY into the next battle though! Instead I'd use a menu, that gave you different options:

Armoury Shop>>>>>>>So that you can buy weapons ect.. like you said!

Fruit Shop>>>>>>>>>So that the players can restore health (unless it's done automatically... This would be a good feature since you can compete to see how long a player can last without using health stuff :))

Go To Resting Room>This would let people discuss all about their fights, and just chat and relax..... maybe even challenge online people to fights.

Challenge someone>>This would send the relevant person a message saying "Do you want to dual #person#" yes/no AFTER their current battle. The person who challenged him/her would then HAVE to wait in the resting room until that time!

Next Battle>>>>>>>>This would randomise the next person for the battle, or put them into a queue for the next person to fight.... dunno how ou'd program that for Quest.

End Battles>>>>>>>>This might bring up a list of battles and times. This IMO is quite easy to program, using Arrays and procedures, along with numeric variables and Strings. I'll post a little example if you want....... but it won't be ASL code, I'll just write it as best I can :)

Anyone else wants to put any idea's onto this?....DAMN!!! Someone else got the 700th post :(
*I* was trying to get that!!!
ahhh well!

--CW

Tyrant posted 26-07-2001 12:00 GMT          
Yeah, that'd be cool. After each fight, you can go to different places, and when you're ready you can go up the tournament ranks. I'll tinker with the online thing after I release this version as I'm not sure if online fighting with QX3 is even possible.

Here are the names I got so far. If your name is not listed here and you want to be a playable character in the game, please reply.

Tyrant
Alex
Computer Whizz
Wizard
MaDbRiT
Carlii
Luridii

I know there are a few other names on this board, but they're new and I haven't seen them post often, so I'll just wait and let them reply if they want to be part of the game.

Computer Whizz posted 26-07-2001 12:10 GMT          
hey, can I customise my character?
If so I'll send you a couple of stat's I'd like to use :)
If not..... bah, ahh well.
I think it's possible to have battles (I'm sure if you think along the lines of a "follow" command you'll get there eventually!).... I just need a couple of things to be there. I'm thinking of using pre-named characters..... where you log-on as someone and register your name. This would be a good feature to be built in to QX3....or Quest Net as it is now... I'll post them to the proper forum!

--CW

Tyrant posted 26-07-2001 07:23 GMT          
All the characters start out with the same stats so you have to build up their stats. However, each character possesses a certain element which gives them unique spells they can earn, as well as different types of weapons specifically for their character.
Luridii posted 26-07-2001 08:36 GMT          
heh heh sounds like a funny game ;)
carlii posted 26-07-2001 12:20 GMT          
Yeah, and like all the characters could have a special unique power...I wanna be psychic hehehe. Can I help you create some of the levels or whatever?
Wizard posted 26-07-2001 15:35 GMT          
I am looking forward to it!

Wizard

Computer Whizz posted 26-07-2001 21:16 GMT          
Hey, I'm making a little demo of this type of game.... it won't have all the feature's that Tyrant's will have, but it might help him with idea's ect..
I hope to finish it tomorrow some time, I'll e-mail it to Tyrant and anyone else who want's it.... I've also got a good idea that I hope Tyrant will use. I will put the details in the e-mail!

--CW

Luridii posted 27-07-2001 08:34 GMT          
send it 2 me CW!
Computer Whizz posted 27-07-2001 19:59 GMT          
DAMN!!!
I'm going to have to do an ALEX here.... sorry but the game is postponed until tomorrow! :(
I'm editing as I type so I WILL have it out tomorrow! It's just a couple of procedures I need to finish off.... make sure I haven't left any variables out, and make sure I've got all of the feature's there. I'm going to work until about 3 am so I'm going to work 110% :)

--CW

Luridii posted 28-07-2001 10:51 GMT          
what features do u actually hav in it?
Computer Whizz posted 28-07-2001 11:44 GMT          
You'll see.....
Damn Quest... the array's don't work in it!!
I might have to can the whole idea.... or else write in:

define variable <#string name[number]#>
type string
value <Alex>
end define

.....exactly 9 times! Why won't the array's work in Quest 3.0.93??

--CW

Alex posted 28-07-2001 13:10 GMT          
Arrays don't work with status variables (I presume; I didn't think to try them). To be honest I can't see why you'd want to use arrays for status variables - if you think you need ten constantly-displayed values, perhaps you should rethink your design.
Computer Whizz posted 28-07-2001 15:02 GMT          
I've tried several time's the normal way! But constantly Quest keeps comeing back with "string not defined". That and it keeps coming up with invisible error in my code.... what's wrong with this:

set <current_enemy; #fighter[next fighter]#>

huh? It keeps saying "string variable fighter not found..." why??

Alex posted 28-07-2001 17:36 GMT          
Send me your ASL file and I'll take a look.

My own test file I just knocked up worked perfectly:

define game <array test>
asl-version <285>
start <room>
startscript {
set string <thing[1]; potato>
set string <thing[2]; cabbage>
set string <thing[3]; sausage>
set string <thing[4]; cheese>
}
end define

define text <intro>
TEST (1 to 4) to test
end define

define room <room>
command <test #num#> {
set numeric <i; #num#>
msg <.. #thing[i]#>
}
end define

Computer Whizz posted 28-07-2001 22:59 GMT          
aahhhhhhh!!!!!
Nothing I read said that array's had to be in the startscript!!
It might be helpfull to add it to the help documentation for ASL 285... or 300 (when you release it!).

thankyou, I just had it down the bottom of the file!

--CW

Alex posted 28-07-2001 23:20 GMT          
But arrays don't have to be in the startscript! I'm not sure what you mean by the "bottom of the file" though.
Computer Whizz posted 29-07-2001 12:12 GMT          
I did have it at first under the define text <intro> and all that stuff..... then I moved it into the define game block, then under it, then on top, nothing seemed to work.... now I've put it in the startscript though it seems to be working OK.... just a matter of "dissapearing" and "changing" variables to be overcome now!

--CW

MaDbRiT posted 29-07-2001 08:27 GMT          
C.W. & Alex I'm feeling you are not on the same wavelength here!

If you put the set <> command for an array or other variable "below the define text blocks or anywhere else" were they just floating on their ownsome and not in a procedure or other block? If they were -how do they ever get called to be actioned?

Surely the fact to remember is that EVERYTHING script-wise (except an !Include) MUST be written inside a define block of some sort to work!

Al

carlii posted 29-07-2001 12:03 GMT          
can you send it to me too? [email protected]
Computer Whizz posted 29-07-2001 12:58 GMT          
.....hhhmmmm.... I'm going to have to admit, you're right :)

I *did* try them in the define game block, but not "in" anything like startscript. Where else can it go then (apart from procedures.)?

--CW

Alex posted 29-07-2001 14:29 GMT          
Set up your arrays anywhere you can use script commands. Putting script commands in somewhere "loose" like the define game block is meaningless because Quest has no idea when it's supposed to run that script command.
Luridii posted 31-07-2001 09:03 GMT          
Is ur demo still gonna b out soon CW?
Computer Whizz posted 31-07-2001 11:22 GMT          
Well, it will be out as soon as I figure out why Quest keeps fooling around with the status variables after loading them from libraries!!
But sinse no-one has read the post (assumption!) or replied, then it's gonna be a LONG wait.... or until I can be bothered to change the variables into "Set variable" stuff in the startscript, and that won't be until tomorrow or Saturday, or if I get bored..... maybe even do it in IBM if I have enough time.... They do let me do the easiest of things!!

--CW