A few questions I would like to have answered
YuSaKu
09 May 2006, 00:21I recently came across Quest, and became interested in creating a game of my own. I am constantly at work, and do not have a lot of spare time, so I'm posting these questions in hopes that they will be answered in my absence.
#1 - I need to know how to make my main character's body an item. For example, if I wanted my caracter to be able to put on and take off clothes and armor, how would I script that?
#2 - I know how to start my character off with items, but how to I make them accessible? In my test runs, when I try and interact with the items that are in my starting inventory, the game says there are no such items.
#3 - I want to be able to have certain items appear only after certain conditions are met. Say there was a key inside a drawer, but the first time you searched it, you didn't see it. You'd have to search again, and notice that the drawer had a false bottom, and then the key would appear.
#4 - I want to have locked rooms that need keys, but if I set a certain direction to come back to a print script, how do I add in the unlocking event (To allow the character to enter the room; go in that direction) later?
No rush to answer these, as I said, I work 6 days/50-60 hours a week. I'll just check back here later. Thanks in advance
#1 - I need to know how to make my main character's body an item. For example, if I wanted my caracter to be able to put on and take off clothes and armor, how would I script that?
#2 - I know how to start my character off with items, but how to I make them accessible? In my test runs, when I try and interact with the items that are in my starting inventory, the game says there are no such items.
#3 - I want to be able to have certain items appear only after certain conditions are met. Say there was a key inside a drawer, but the first time you searched it, you didn't see it. You'd have to search again, and notice that the drawer had a false bottom, and then the key would appear.
#4 - I want to have locked rooms that need keys, but if I set a certain direction to come back to a print script, how do I add in the unlocking event (To allow the character to enter the room; go in that direction) later?
No rush to answer these, as I said, I work 6 days/50-60 hours a week. I'll just check back here later. Thanks in advance
Arbutus
15 May 2006, 19:351. MaDbRiT has a neat clothing library located here: http://members.aol.com/agbampton/html/qtips.html You can include it by saving the .qlb file in your game or Quest directory and selecting Game : Libraries in QDK.
2. How are you starting your character off with items? To make an item accessible from the start of the game, make sure Invisible and Unavailable are unchecked on the Interactions tab of the Object Properties window in QDK.
3. For dynamic visibility and accessibility: In an Object Properties window in QDK, on the Description tab: When this object is examined: click Run a Script, Add Condition, If: (Enter your conditions for visibility), Then: Add Command: Objects: Reveal an object: Object. You could set a flag first time something is examined and check for that flag before revealing the object.
4. For dynamic room exits: In a Room Properties window in QDK, on the Compass tab: Click in a direction: scroll down to or enter [script], click Edit Script, Add Command: Room: Create/Change an exit to the X: From room: To room. This will replace the previous print script.
Let me know how that works for you.
2. How are you starting your character off with items? To make an item accessible from the start of the game, make sure Invisible and Unavailable are unchecked on the Interactions tab of the Object Properties window in QDK.
3. For dynamic visibility and accessibility: In an Object Properties window in QDK, on the Description tab: When this object is examined: click Run a Script, Add Condition, If: (Enter your conditions for visibility), Then: Add Command: Objects: Reveal an object: Object. You could set a flag first time something is examined and check for that flag before revealing the object.
4. For dynamic room exits: In a Room Properties window in QDK, on the Compass tab: Click in a direction: scroll down to or enter [script], click Edit Script, Add Command: Room: Create/Change an exit to the X: From room: To room. This will replace the previous print script.
Let me know how that works for you.