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

Messages - SilverWizard_OTF

#161
Advanced Technical Forum / Re: Gui script
Mon 23/08/2004 10:37:54
Thanks, that worked.
Hey,  by the way, i have created a Gui but when i say to be revealed (It is GuiOff at start), then it is dissappeared immediately. Why is that  happening?
#162
Advanced Technical Forum / Gui script
Sun 22/08/2004 21:37:24
I made a gui called INTRO, and i have inserted this code (edit script  gui's window).

{
    if(interface==INTRO) {
      if(button==0) {
        do_dance();
        }
      }
Where do_dance() is a function that i made.

The problem is: When i go to test my game, it gives an error:
        "There was an error compiling your script. The problem was in main script.  Error(Line 80):  Already referenced name as import"

After that, when i click yes (i want to fix the script) it goes me to the Global Script, where is my function do_dance().

I can't understand why is this happening. It happens ONLY if i insert the code that i mentioned before. (Gui script).

Thanks for your time
#163
Thank you BorisZ, Your help was very valuable!
You had right about If and Else If statements
#164
Hmm... that wasn't exactly what i wanted to say.
See this example:
     if(my_counter==0) {
         Display("You must wait one turn");
          my_counter==1;
          }
      if(my_counter==1) {
           //do something
           }

Here is the problem: I want character to wait one turn before the desired action is activated. But if i say "my_counter==1", it will immediately to "if(my_counter==1",  before executing the rest of the code.

   Any suggestions about that problem?
(Hey, a Go to command would be very nice idea)
#165
Hello
I would like to know if there is a "Go to" script command that i can use to AGS script editor, like this that Basic and Visual Basic have (and other languages).
   
I mean, to do something like:
                  if(my_counter==0) {
                        Go to(...);
                          }

Thanks for your time.
#166
Well, i suppose that's the right place to post this, since i have something to show.
This is just a Demo that i made to show  how exactly my Battle System works. Of course i will add much more commands, attacks e.t.c.
Yes, that you mentioned (the amount of times each player missed) i may fix it, but see the good part: You can not easily hit the monster, but neither the monster can!
I am planning to show the source code when i will have perfected him.
Thanks for your suggestions

#167
 Hello users of AGS
I have seen so many messages that have as a subject  generally the same question: How can i create a battle system with AGS?
Well, i tried to create a battle system, which you can check by downloading the file. It is not a game, it is a Demo which shows how will work my Battle System.
  Well, it turn-based and a bit text-based. Text-based means that you type before your turn commands, to make clear what you want to do (e.g. use magic, fight with sword e.t.c.). In this Demo, only one command is available: Sword (This you can type only). Before i start creating a game with this Battle system, i would like to hear your opinions. Send me personal messages or even better post your opinion to this topic.
   Graphics are very poor, because i made this Demo only to show the  thinking of my Battle System.
     http://www.2dadventure.com/ags/BattleSystemAGS.zip

Note: Sometime Life indicator doesn't respond immediately.  Do not be upset, in every case, what the indicator last show, this will be the right. There isn't any bug on that, it is just a matter of scripting.
                                       
#168
2. I suppose that with checking this option, then when we click an item, it runs a script that we have created, not the default script routine for item click.

Well, maybe someone finds useful that. Maybe someone want to happen different things when he selects items from the inventory.
I suppose.
#169
You do not sepcify for what purpose you want your sprite resized.
Anyway, maybe you will find useful the RawDrawImageResized script command, mostly if you want to display an image (from the sprite manager) at the screen.
#170
Beginners' Technical Questions / Re: Palette
Sat 14/08/2004 19:54:36
I know that it sounds silly what i will say, but  if you encounter these problems when you try to import palette to AGS, then why do not change your colour depth to 16-bit hi colour? (By Game/change colour depth or from the palette Convert game to Hicolour).
Try it!
#171
Yes, that helped, thanks both of you
Anyway, it would be nice if there was a way to choose a specific "style" for the text [e.g. Dissolve (Like Rooms have)].
#172
Hello
I was wondering if there is a way so standard messages  (for example messages that appear with an Display() script command) do not dissappear so fast. 
   I can see a global variable that does that to the speech                                 ( game.text_speech). Is there something like that for messages? Or a way to set a "style" for the messages  (dissolve, cross-fade e.t.c.)?

Thanks for your time
#173
You can make it a bit turn-based.
   You know, first e.g. the player attacks, then monster, then player....
It would be nice by this way too.
Personally i do not like Quest for Glory fighting style,  in my opinion it is a little "flat". It would be better if it was turn-based.
#174
General Discussion / Re: Athens 2004
Sat 14/08/2004 07:19:31
If these Katie and Bob had said these things about Greece and were living IN Greece...Greeks would probably hung them for their disrespect!
       
#175
General Discussion / Re: Athens 2004
Fri 13/08/2004 20:19:00
I do not know if it is a rule to dismiss every player that doesn't come on time for the test (to check if they have taken forbidden  substances), but they SHOULDN'T have done that to Kenteris. I hope that he won't be dismissed from the Olympic Games.   
                 Ο Κεντέρης είναι πρώτος...είναι πρώτος...ΕΙΝΑΙ ΠΡΩΤΟΣ!!!!!!!!!!!!!!!!!!!!!!
#176
Have you thought to emulate Dungeon & Dragons battle rules to AGS?
With Random(int max)  script function that i told you and some other things that you have represented (Hero's stats) i suppose it wouldn't be so difficult to be made.
   
#177
Maybe you should add s slider (like this that the default inventory screen has), to scroll through your inventory items.
  I hope you know how to add one, bacause i don't (well, i mean i was never interested to learn that).
#178
Hmm, you have many questions in one letter! Well,  for now, i will answer to one of them, ..

If you see at the bottom of your choices (in a dialog) the text parser, then when you created it, you clicked the option: Show the text parser with this dialog. Just open AGS, go to the specific dialog, and uncheck this choice.

#179
Critics' Lounge / Solved
Thu 12/08/2004 19:44:06

Ok, i finally got an answer! Thanks for the tutorial SP!!
#180
Even a wizard isn't able to answer this question!
SMF spam blocked by CleanTalk