inserting code
ramtha
26 Jan 2006, 23:32I've noticed all the of the coding you people use and when i ask a question i typically get a bunch of coding from you guys, so my question is how do i go about pulling all of it into a game. Should i just open up the game in word pad and paste it in or what? Its honestly its the only thing i can think of. ^_^
Elexxorine
27 Jan 2006, 08:44yeah that's the idea...
paul_one
27 Jan 2006, 13:41I suppose you could put it into the "misc ASL code" part of QDK.
Save it.
Then re-load it.
Don't know if that'd go through correctly though.
Save it.
Then re-load it.
Don't know if that'd go through correctly though.
ramtha
28 Jan 2006, 01:58hmm, I see.... Does it matter if the things are in any perticular order, other than a logical one? By this i mean if i want to make a new status variable, would i need to put it up by an old one, or can i just stick it under everything else?
paul_one
29 Jan 2006, 00:21Hmmmm, you can't stick status variables in there.
Status variables need to go inside the "game" block, which you can't put in the misc part (which usually get's added to the bottom of a file IIRC).
So everything apart from the intro/endgame text sections - and the gameblock stuff (startscript, global custom command, status variables) can be added into the misc part.
As for using wordpad (notepad is more preferable - notepad++ or other better editors even more so), just make sure you paste the code as it is.
Any code posted should give a FULL example which will load into quest as a game, or give instructions to where it should go in the file.
I prefer uploading a file in a zip so that others can get it myself. Spares any mucking about.
Status variables need to go inside the "game" block, which you can't put in the misc part (which usually get's added to the bottom of a file IIRC).
So everything apart from the intro/endgame text sections - and the gameblock stuff (startscript, global custom command, status variables) can be added into the misc part.
As for using wordpad (notepad is more preferable - notepad++ or other better editors even more so), just make sure you paste the code as it is.
Any code posted should give a FULL example which will load into quest as a game, or give instructions to where it should go in the file.
I prefer uploading a file in a zip so that others can get it myself. Spares any mucking about.