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 - Captain Mostly

#461
I've set my game so that the moment the game starts, it loads game-slot 30...
While it has a little error message if there is no game slot 30, it then carries on and works fine.

But if there IS a game slot 30, it starts up, but doesn't allow me to click anything at all with the mouse... Does anyone know why this is and how I can stop it?!?!?!?
#462
perhaps

if(MYVAR==6)
{
//don't do anything
}
else
{
MYVAR = 5;
}


that means that if my var is anything except 6, it'll be repeatedly changed back to 5
#463
it might be that you need to declare the int to be 0 to start with (I'm not sure, but you certainly need to do this in C++) otherwise it might be some dodgy made-up value, or null or something...

int my_counter;
my_counter = 0;
#464
Wha?!?!?!? Came with the dowload!?!?!?! How can I have not noticed this?!?!?!
#465
I wanted it to be on a seperate screen, so that at the end of the game, people will able to see who'd got the top three high scores...

I guess I could use a gui to display it (if I make sure it's only visible on that screen)...

I'm just not sure how to:
A) allow players to enter their names
or
B) keep the information between plays of the game (i.e. write the information to a file... let alone get it back!)
#466
Beginners' Technical Questions / score board
Sat 07/06/2003 00:55:38
are there any straight-forward tutorials on putting together a score-board for a game anywhere that I could crib un-ashamedly?
#467
thanks! I also found the scroll button code here:

http://www.agsforums.com/yabb/index.php?board=2;action=display;threadid=4294

although I still say that it's a piece of code that should be readily available without having to traul for it (although I suppose it'd have been easyer if I'd had the demo game on my computer...)

thanks for the inventory cell-re-sizer, although I NOW think I quite like the over-lapped look that I've got... oh the bitter bitter irony!
#468
if it IS there (I'm guessing you mean the scripting tutorial in the manuel) then I certainly can't see it...

You'd have thought this'd be a more common problem... I've been searching for in in the back-log of technical and basic-technical forum posts, and if there are any questions in there about it already, they're titled in such a way as I can't tell what's in them, or I'm just blind...
#469
...I've done my very best not to have to ask this, but no matter how hard I look, I only ever seem to find cryptic allusions to how to code up the buttons to scroll a LucasArts inventory window. I know it's crazy, but I couldn't find exactly how to do it in any tutorial (just the mention that it has to be done, taken from the manuel)

Anyway, I'm ALSO posting because I'd like to know if it's possible to increase the space allocated to every item-image within a LucasArts inventory, because my images are all over-lapping and it's really irritating...

PLEASE could someone help me! (or just let me know where to find the ansers!!! I thought I put a fairly similar topic to this one up not long ago, but I either imagined it, or a moderator vanished it for being stupid  :(  )
#470
ALSO: I got it all sorted now thanks!!!!!


:)
#471
THANKS! (oops, shouldn't have edited my last post when I did!)
#472
I can't work out how to change the names of GUI's (they're all "GUI 0", "GUI 1" etc)...

in fact, I can't work out how to delete GUI's (although I guess this probably isn't really neccessary as I could just set them to inactive...)
#473
is it possible to have part of a GUI that displays a number when the pointer is over an inventory object?

i.e.

if I had 15 peas, and I pointed to them in the inventory, would it be possible to have a GUI label display the number of peas I had automatically, without me having to click?
#474
thanks for the help... it's all so tricky though!
#475
how do I display one of my ints (declared in the global script) as a GUI lable?
#476
Advanced Technical Forum / duplicate inv items
Thu 05/06/2003 21:19:25
is there any way to tell the inventory to display duplicate items seperatly (i.e. not show the item just once in the inventory list if it appears twice or more)?

If not, would it be possible to build into a custom GUI a feature that displays "X2" next to items you have twice (or "X3" or 4 or however many the player has)...
#477
OK, I've got that bit so it doesn't have any errors, but now I've got to the testing point and BAH!!!

When I use the "use inventory on hotspot" interaction option, I don't lose the inventory item (I've not got the "don't automatically lose inventory item" checkbox ticked so it's not that!)
Do I have to type out "lose inventory- blah de blah" for all interactions these days?

ALSO, are arrays numbered in the same way as they are in C++
i.e.
does an array of length 3 go from 0-2 or 1-3?


More questions on the way, when I can work out why it's not working...
#478
so you're saying that the function would look something like this:

function change-graphic-according-to-integer-value(X,Y)
{
if(X == 1)
        {
         object(Y).frame(view loop and frame)
         }


?

Or is there something I missed?


(thanks for all this helping by the way... I don't know what I'd do without it...    Probably not make many games I suppose)
#479
ok, here's the quadary:

I've made it so that I have a seriese of int's corresponding to objects on screen.

I'm using these int's to define (amongst other things) what graphic that object should appear as e.g:

if (int1 == 5)
object5 image = view 6, loop 1, frame 0


What I'd like to be able to do would be to write a function along the lines of

function intgraphic(X,Z)              //where X is an int (e.g. int1) and Z is an object (e.g. object5)
{
   if(X = 1)
  {
      Z.set_frame = view 6, loop 1, frame 0
  }

   else if(X = 2)
  {
      Z.set_frame = view 6, loop 1, frame 2
  }
etc etc

}


is this possible i.e. is it possible to pass an object into a function? And if you CAN pass an object to a function, what do you write in the header file instead of

import function intgraphic(int,I_DON'T_KNOW_WHAT_GOES_HERE)
#480
Advanced Technical Forum / Re:OOAGS
Fri 30/05/2003 09:30:27
wait a sec... what's an agt file (am I being REALLY stupid here? I fear I may be a little out of my depth!!!)
SMF spam blocked by CleanTalk