Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Fuchs

#1
Beginners' Technical Questions / Death scenes
Sun 04/03/2012 18:47:57
Hello AGS worshippers!
I would like to know if there is a logic way of how to make the player restart at a certain point in the room once a death-scene occurred. I am thinking about something like Kings Quest 7. There a new room was created which basically showed “you just died”, an portrait of Rosella/Valanice and then an OK Button. Which is basically no problem. But how do I say AGS where the player starts out after pressing the “Ok” button?
And do i have to create a new "your dead confirmation-room" for each death scene i have?

Thank you very much and may god bless you upon response! ;-P
Fuchs
#2

Hey guys, its me!
This time I have 3 very important questions.
1. First of all:
How can I use multiple items on an inventory item?
I would like to trigger different events for each item I use on another item in the inventory. But once I use the “use active inventory” in the Item-sidebar function I can only add one.
for example:
function iDorn_UseInv()
{
if (cOli.ActiveInventory == iZahnseide){
   cOli.LoseInventory(iDorn);
  cOli.LoseInventory(iZahnseide);
  cOli.AddInventory(iDornmitSchnur);
}
}
But if I try to add another one AGS says “the function UseInv. Is already defined for this item”. So what do I do?
2.
Then I have a hotspot, and at the first time the player examines it he gets an item. How do I turn that function off, after it occurred once?!
3.
The last question would be:
How do I trigger events in rooms the player is not inside at the moments in which they occur. I want the player to push a button in one room, but in another room the door opens.

Thank you very much in advance you guys! I have been trying and working a lot with AGS lately and these are the questions I gathered within a longer period of work. I am sure after I got these things covered I will be quiet for a while! ;-P
Fuchs
#3
Hello guys.
I know this is a weird beginners question but no matter how hard I look for the answer I just wont find it myself.

How do I make inventory Items disappear once I used them in the game???
When my character uses an item I want him to loose it, in the most cases. But what do I do? A simple IKey.Visible = false just won´t work!
I am biting my butt, since I just can´t find an answer for such a simple question!
Thank you in advance guys!
???
#4
Hello everyone!
I started to work on my game and i am doing pretty fine so far!
But now I run into some minor problems concerning custom GUIS (the Manual is not detailed enough and every other tutorial just gives broken links so I need to ask now).

First of all I would like to have an inventory in which I don’t have one big “Inventory Window” which keeps every found object. I would rather like an Inventor in which every single object got a separate slot, much like in this game here:
http://www.arcor.de/iimages/30/art_440x330_V1qFZq+vZILAqlaDimGq8meCkdOK.jpg
If I simply create several “Inventory Windows” in the GUI function then each windows holds the item I picked up. Say I made 6 slots, then I see the object 6 times (once in every window) But I want the object to be only in the first inventory window. Is there maybe a simple function I haven’t seen so far? (my AGS Version is really new)

Further than that I would like to have an Inventory that the player can open by scrolling with the cursor over a certain spot on the screen. Then I want the Inventory to scroll up. This way the Player would not have to go through the Status bar each time he/she wants to peak onto the found treasures. It would be great if someone could help me with that!
So thank you guys in advance! I hope I to find help soon, since I am so keen on going on. Creating a game in AGS is so much fun! (even though I am just a beginner jet)

Fuchs
#5
Hello everyone!
I am rather new to AGS but I went through all of the existing Tutorials on Youtube and also I red the whole AGS-Tutorial/ book. So I feel kind of familiar with the overall idea.
But one thing is really striking my mood down right at the beginning of my project.
When I want to play a sound, any sound, (especially music) AGS just wont let me do this. It appears that in the Script Editor, I am not given the "PlayMusic" or "PlaySound" Command option.
Every time I type it in the error "room1.asc(5): Error (line 5): Undefined token 'PlayMusic'" occurs.
This is strange because I proceed exactly as in the tutorials. My AGS just acts as if there was no such command.
Further than that there is no problem with the files or sound adjustments. As I added the walkingsound in the character View, everything was just fine and the game would play the sound. But I need background music and other sounds and somehow it wont work.
So I hope that some of you might have an idea?! It would be really nice. I am kind of thrown back now that one of the most easiest and important functions seem not to work on my game.:-(
Thank you guys in advance!
SMF spam blocked by CleanTalk