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 - JD

#1
Greetings!

I have a question regarding scaling a character. I have set the .ManualScaling bool for the character to true, but when I try to rescale it using .Scaling to like 300% it gives an error: "Character.Scaling: scaling must be between  5 and 200%". Is this an intended limitation? Same for SetAreaScaling. The weird bit is that if I set an area's scaling to let's say '70-700' in the editor it works fine.

Thanks in advance,

-Def
#2
Greetings!

I am wondering if anyone can help me with this. This thing I'm working on has a top-down view, and enemies you can try to avoid. I thought I'd use a transparent character to give an enemy (red dot in the image below) a field-of-view (the yellow cone), and when it collides with the player (the green dot) the enemy will go after you. No problem in a rectangular room. But when walls come into play it gives some trouble as you can see in the image below.


Does anyone know a better way to approach this? I thought of using regions to check both the player and the enemy's position but I am not sure if that is a better/working solution (especially on more complex rooms).

Thanks in advance!

-Def
#3
My character is moved around using the keyboard, and you use spacebar to look at things/use things/talk to people. It works nicely, but when I use Display to display some text about an object the character looks at (for example), the text is removed immediatly if you keep the spacebar pressed just a bit too long. Is it somehow possible to disable keypresses removing text windows?

Thanks in advance...
#4
Hope I put it in the right forum :)

I went through my games collection and decided I wanted to play KQ6 again. I have the CD version for windows. I've been trying for a while to get it running, and eventually it worked. It runs using VDMS, but when I change the cursor, the graphic wont update. So When I change to examine-mode, it still shows the walk-mode cursor for example (though the action will change to examine). I was wondering if anyone knew how to fix this, since it's a bit annoying.

Thanks in advance,

Def
#5
In my game I use a listbox to keep track of quests the main character is on. Adding new quests to the listbox works and when you click on a quest it shows a description of the quest in a text box next to it. So far so good. But what if I want to remove a specific entry from the listbox, for when the character completes a quest. I looked up the RemoveItem command, but I saw this only lets you remove entries by number. Like the first one in the listbox, or the third one. In my case the game never knows in which order the player picks up the quests, so this won't be of much help I guess. Is it possible to remove entries using something similar to RemoveItem("name of entry") for example? Perhaps by using.. magic?

Thanks in advance,

-Def
#6
These pictures demand speech!

#7
Hi,

In my game I want to show the health of a monster as a percentage as a label on a gui.
I tried:

int pc = ( 100 / ( GetGlobalInt(13) / GetGlobalInt(12) ) );


But since I can't have any decimals with ints, I had to find another way to do it because if the
enemy had 50 health out of 60, it would still show as 100%. CJ told me to use a float so I
looked into that stuff but I can't figure out how it works. I tried

float pc = ( 100 / ( GetGlobalInt(13) / GetGlobalInt(12) ) );

But that results in a Error (line 265): Type mismatch: cannot convert 'int' to 'float'. Don't
you use floats just like you use int or string?

Thanks in advance,

Def
#8
General Discussion / Wallpapers
Fri 01/04/2005 18:43:31
I've just cleaned up my desktop and now I could use a nifty wallpaper. Does anyone know any good wallpaper sites? I've tried to google but all I got was crappy sites.
#10
Hi all,

A few days ago I was playing Phantasmagoria, and on
one of the CDs I found some screenshots of Roberta
Williams' game Mystery House. I really wanted to try
that game. So I got an emulator, and the game. But
I really can't seem to get the game running. I'm trying
to run the game using AppleWin. I set the emulator to
Apple ][+ mode and this is what I get after loading up
the game:



Which changes into the next after a second:



Anyone ever got this game running?

Thanks...
#11
Hey all,

I was wondering if there was a sprite/background viewer
for the Kyrandia games. Especially 2, but I think they all
use the same format. I searched the web and found
"Game File Explorer, Version 1.32". Apperantly it should
be able to open Kyrandia 2 .PAK files but it isn't really working.
Does anyone of you know any other utilities?

Thanks in advance,

Def
#12
Advanced Technical Forum / GUI Problem/Bug ?
Mon 19/01/2004 22:16:40
Hello,

I'm using a lucasarts style GUI (actions and inventory on
a gui which is displayed at all times) and I've encountered
some problems. Whenever I try to scroll the inventory while
the character is walking it gives me this error:

---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
problem is caused by the game rather than the interpreter.
(ACI version 2.60.693)

(Global script line 272)
Error: SetCharacterSpeed: cannot change speed while walking

---------------------------
OK  
---------------------------

So I checked my global script at line 272 and yeah, this is there:
SetCharacterSpeed(EGO,(GetSliderValue(5,1)));

But it's on a completely different GUI! How can this be? When I disable
the line (ie. make it a comment with // ) it works fine. Any ideas?

Thanks in advance
#13
Critics' Lounge / A sprite I made a while ago
Mon 05/01/2004 22:43:17
Gordon Freeman from Halflife; I think it turned out pretty nice.
I'm just not happy with the head, especially the glasses.

#14
This thing has got me dazzled. I'm using the Sierra-
style speech (the portraits with the text next to em)
and I decided that the text would look better on a
gui. So I checked the manual and found:

game.speech_text_gui  - The textwindow GUI number used for sierra-style spch.  

So I made a new gui (number 12), made it a text window, and went to my global
script, and added game.speech_text_gui = 12; to the function game_start().

I loaded up AGS and it doesn't show up. Am I doing something wrong? Am I using
the wrong command?

Thanks in advance,

Def
#15
Let's discuss puzzles in adventure games. I wanted
to make a list of all kinds of puzzles. It's nearly 2am
here and the ones that I can think of right now are:

Conversation puzzles:
Saying the right things will get you an item, or access
to a new area or something.

Mazes:
Argh horrible! Reminds me of the bamboo jungle in
Larry 3 or the streets in QFG2 (but at least you could
get a map).

Simple item puzzles:
Getting Item X for mr. George, and he will give you Item Y
in return.

Correct order:
Three levers. Pull them in the correct order and a door will open. Wee!
I think Indiana Jones 3 had a puzzle like this with a piano, but
I could be wrong.

Timed puzzles:
Sierra seemed to like these. The puzzle can be pulling some
levers in the correct order, but with a time limit (ie. a ceiling
slowly coming down or something).



Anyone else who wants to add something? I'm going to bed  :P
#16
!! Demo Available !!
http://www.agsforums.com/games.php?action=search&sterm=neverquest&submit=Go%21


Hey all,

Just wanted to inform you all that once again I am working on a game :P
And I really hope to finish this one.

 The story is simple and a bit cliche. The theme is medieval. You play as the young lad named Quincy who was sold as a baby on the market by your parents because they were too poor to raise you, to a wizard who doesn't like hard work. He raised you, and made you do all the hard work around. On your 20th birthday you have a strange dream. You see a rune carved in a cave wall and a big treasure chest full of.. Well treasure :P After you wake up you ask the wizard about the strange rune and he looks it up. It turns out the rune leads to a valuable artifact. Since it's your 20th birthday, the wizard tells you about your past. He also mentions that he promised your parents to release you on your 20th birthday, so you are free to go. You decide to go after the artifact. That's where the story starts. Your first task is to gather a group/party for your travels.

 Your party will have up to four members, and you can switch between them. Several puzzles
can only be solved by specific characters. All the members share one inventory, so there is no annoying item exchanging.

Here are some screenshots:




#17
Advanced Technical Forum / AGS Crash
Thu 25/12/2003 02:34:17
I was just importing some sprites and bang:



When I tried to rerun AGS it told me its christmas and the only way
to get it running again was to set the date back  ::) I hope that
isn't the cause for the crash  ;)
#18
Hi peeps,

While working on my game I encountered a problem. My game has
4 playable characters (you can switch between them) and I want them
to share an inventory. I thought of having an invisible character following
the current character who would act as the inventory; so when you open
the inventory you'd use a SetPlayerCharacter(INVENTORY); and then it would
display the inventory. Then when you'd close the inventory screen it would
switch back to the original player. But here's the problem: My inventory is
displayed on screen, in the gui, which is visible at all times. Does anyone have
any ideas?

Thanks in advance,

Def
#19
Completed Game Announcements / Another RPG
Sat 14/09/2002 21:28:35
This is my 2nd rpg. It's a bit like Breath of Fire. Combat wise.
There's not much you can do. You can walk around in the desert
and fight a zombie and a mummy. You can also go to the village
on the north-west part of the map, but you can't do anything there :)

"Flee" and "Inventory" doesn't work. You can check your stats though
(if you fight enough monsters you can also gain levels which make your
basic attack + spells stronger). The elemental power doesn't do anything.
It was going to be a part of the game. You could train in either fire or ice
and get the appropriate spells. Who knows, maybe I will continue this game some
day :)


About the spells:

The first spell (the flaming sword) and the third spell (ice blast) are attacks. The second
spell (heart) is a heal. The fourth (ice sword) isn't working correct. Cast it, and you'll become
invisible :(

That's about it. Have fun! If anyone has any questions about how I did what, just ask.

http://home.quicknet.nl/mw/prive/jjjdekker/rpg2.exe
SMF spam blocked by CleanTalk