Axe Software Forums
  Quest Developer Forum
  Formulas


Author Topic:   Formulas
New Creator posted 17-05-2002 19:38 BST     
First off, sorry but I haven't worked a bit on Wanderer. A few more comments or maybe suggestions might be helpful.
Secondly, a good suggestion I can think of Alex: Allow us to make larger formulas with variables instead of just one operation.
Finally, how do you script by hand or write your own commands because it might be very handy to know for a project of mine's. Thanks
Computer Whizz posted 17-05-2002 20:32 BST          
May I just say that creating a complicated maths parser (the thing that realises what maths terms you made) is quite difficult.

It isn't over the top but it also depends on the mathematics of the idividual.

Alex - just out of curiosity how far does your maths knowledge go? GCSE, A-level?

Computer Whizz

Alex posted 18-05-2002 12:22 BST          
You're right, CW - Quest doesn't feature a sophisticated expression parser because writing one is beyond my capabilities (OK, if I really, really, really wanted to, I could come up with a passable one, but I haven't got a clue how these things are usually coded). And I don't think Quest really needs to be able to handle sophisticated expressions - it is designed for text adventures after all, and on the rare occasions when you might need to do two things to a number at once, I don't think it's unreasonable to do that in two script commands.

To script "by hand" you just need to edit your ASL file in a text editor such as Notepad.

And to answer CW's question, I have a Maths GCSE, a Certificate in Additional Maths, a Maths A-Level and a Further Maths A-Level. I am currently nearing the end of the second year of my Physics degree which involves rather a lot of maths. So the answer is - too much Maths!

carlii posted 18-05-2002 12:38 BST          
quote:

I am currently nearing the end of the second year of my Physics degree which involves rather a lot of maths. So the answer is - too much Maths!

lol! I suppose I agree with Alex on this one; in nearly all cases this advanced math is not needed. Even if it is, I echo Alex's comment --

quote:

...on the rare occasions when you might need to do two things to a number at once, I don't think it's unreasonable to do that in two script commands.

BTW, my maths ain't that good (I'm 15 and only get high results in school) so I just use QDK. It rocks! :D

Computer Whizz posted 18-05-2002 19:31 BST          
quote:
So the answer is - too much Maths!
LOL... I myself am probably getting a degree/that other one in maths - along with computer's.

It wouldn't be straight forward to design a parser - but it wouldn't be impossible.
Just making sure to follow BODMAS....

Computer Whizz

carlii posted 19-05-2002 06:11 BST          
[quote]It wouldn't be straight forward to design a parser - but it wouldn't be impossible.
Just making sure to follow BODMAS....[/quote

OH LMAO *mysides* HAHAHA.

What's BODMAS and what's Parser? :?

Computer Whizz posted 19-05-2002 23:52 BST          
Well, BODMAS is :
B(rackets)O(f)D(evision)M(ultiplication)A(ddition)S(ubtraction).

It's just the order in which an equation is executed in.
ie. (1 x 2) + 3 x 4
would be: 2 x 12 and not (2 + 3) x 4

A parser is just something that takes in the text and looks at it deciding what does what:
take lamp, a parser looks at that and decides "take" is a command and "lamp" is an object.
1 + 2, it looks at it and says that the "+" means add 1 to 2!

Computer Whizz

New Creator posted 23-05-2002 16:32 BST          
There's a reason I wanted formulas. I have been working on a project of mine's to make a strategy/simulation game on Quest and I'm sick and tired of breaking my formulas down into two-part small ones. If you happen to know of a better processor for this project, let me know. Speaking of math, I might go into math for university (if you think what you're doing is too much math)! Thanks
Computer Whizz posted 23-05-2002 21:20 BST          
First you have to decide what part of maths you want to study.

There's Pure, Mechanics, Desision&Descreete, Data analysis ect...

Pure's the best since it deals mostly with just the numbers, while the others base maths on real-life situations that just screw everything up : )

Computer Whizz

New Creator posted 28-05-2002 18:36 BST          
Pure math is the most probable one, or possibly mechanics. There's a bug I've been meaning to signal to Alex for some time: In QDK, when you do a copy/paste, then change the pasted script, it sometimes changes the original one too! Also, what's this whole Questnet thing? Thanks
Alex posted 29-05-2002 12:25 BST          
I'm aware of some copy/paste nastiness in Quest 3.0x. This might be fixed in the current Quest 3.1 Beta (I can't remember).

QuestNet allows you to play multi-player adventure games. You create the game, run it on QuestNet Server (Beta 1 available soon), and players can connect to it via Quest.