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 - Crimson Wizard

#13801
Khris, aventurero sent me game, and from what I see, he just did not do it correctly GUI-wise  ;). Unfortunately, project he uses is a mess at this point, inventory is on one Gui, "equipped" part is on separate gui; and he's got some extra "inventory" guis created for unknown purposes; I suggested he plan how inventory should look first and redo everything from scratch.


EDIT: Owww, just noticed that - he mess up with inventory types, as you guessed ;D
He uses 1 for armor and 2 for weapons.
After I fixed that it worked well.
#13802
I wonder how these rooms-in-rooms things are done? Are they guis, or there's some trick?
#13803
Quote from: aventurero on Thu 07/01/2010 01:22:01
Quote from: KhrisOk, I tested this. Everything worked absolutely fine, the only thing I forgot to mention is: since I'm using the buttons' TextColor to store the current defense of the item it has to be set to 0 (or the defense modifier of the item initially equipped).

How do I do that?

1. Select button on your GUI.
2. In the bottom-right you'll see properties table (property - value).
3. Find "TextColor" line and type in corresponding value (0).
#13804
Quote from: aventurero on Wed 06/01/2010 17:13:03
But apparently I'm a noob at this. I don't know what to put in the "Onclick" function of the buttons. Should I put this?:

Code: ags
UnEquip(GUIControl*c, MouseButton button);

No, simply name of the function, that is:
Code: ags
UnEquip


Quote
EDIT: it would be nice to communicate in other ways besides the forum. Like msn or something. What do you think guys? It's way too slow this way
Well, I am logged in MSN every now and then, so you may catch me there sometimes.
Khris seem to have only ICQ account though.
#13805
Heh, will be there next animation competition? This one seem to stuck for couple of months already :) at first there were no entries, now there's a winner who was supposed to make next comp month ago  ;D

I really want to try participating in one.
#13806
Oh, come on, aventurero! I know you can make it, just try little harder  ;)

Khris has a little mistake in his code, he uses same name for function parameter and local variable. I fixed code a little:

Code: ags

function UnEquip(GUIControl*c, MouseButton button) {
  if (button != eMouseLeft) return; // only react to left clicks

  Button* b = c.AsButton;
  b.NormalGraphic = 0; // clear button's image
  int it = c.ID + 1;
  if (it == 1) attack = base_attack;  // weapon
  else { // armor, helmet, shield
    b.TextColor = 0;
    Update_defense();
  }
}
#13807
General Discussion / Re: UT Dedicated server
Tue 05/01/2010 22:22:56
Anyone today?  ;)
#13808
Sorry, I was just kidding  ;)
#13809
Simpliest way is to have an array of stats for each possible armor and weapon in the game. Like

int Armors[10];

Then you store current armor as ArmorIndex, and when you need to know its defence value, you get it like:

Armors[ArmorIndex]

Similar for weapons.

Second part is really simple. Just check which Armor has greater value and use it... umm, well. I don't know how you store equipment data, so I can't give some precise piece of code.
#13810
Quote from: ddq on Mon 04/01/2010 23:58:39
  • Must not be racist.

WTF? Discrimination! You should be more tolerant towards racists.
#13811
General Discussion / Re: Source Codes
Mon 04/01/2010 22:40:18
Quote from: Guyserman82 on Mon 04/01/2010 22:26:13
Thanks for trying bicilotti, but I can't figure out how to open it, and I've tried it twice. Do I need an older version of AGS?

As I said above, 2.72 projects can be upgraded to 3+ by opening ac2game.dta file in AGS 3.
#13812
I don't really like the angle of view, it looks like player watches the floor, instead of looking straight ahead.
#13813
General Discussion / Re: UT Dedicated server
Mon 04/01/2010 17:55:07
I have some problems with instagib because of high ping, as it seems ;) can't get used to how weapon react. Also it looks like enemy dies 1-1.5 seconds after shot :)

Anyway, is it possible to gather 4+ people and play CTF or Domination?
#13814
I watched LP CoD a little bit. Do you make some kind of script before you record? I think at the start you sound too slow. Also, I don't really understand why making all those useless comments during game loading screen ;). I usually got bored when listening to a guy explaining why he making this or which games he is planning to review in the future, and similar trivia.
#13815
General Discussion / Re: UT Dedicated server
Mon 04/01/2010 15:06:54
I will try now :)


EDIT: ok, looks like I have connected, there was skyscrapers map and insta-gib mode.
Nobody else was playing at the moment though, so I quit.

Is there only 1 game possible on the server? Who selects map and parameters?
#13816
Hints & Tips / Re: Nelly Cootalot
Mon 04/01/2010 13:51:39
Quote from: Ali on Mon 04/01/2010 10:39:53
The solution to the puzzle is HERE melin, but I warn you that it requires a certain degree of control over the letters of the alphabet.


Hehe, I remember solving this puzzle even without the key (if I remember correctly, there was some kind of hint to it); actually I couldn't understand how to use the hint, so I used the method which I read in one detective novel. It is based on knowing peculiarities of english language, first of which is that most used syllable is "e", other than that most used double-letter combinations are "ee" and "ll", and so on.
It took a whole while, but when I finally finished it, I felt pleasure beyond belief  ;D
#13817
General Discussion / Re: UT Dedicated server
Mon 04/01/2010 13:44:33
I'll install UT and maybe could try later this day.

Though now when I think about this, last time I played UT on my current machine, I got some periodic lagging; maybe it has some issues with my Vista, not sure.
#13818
I PMed dkh about this and he said that he is going to finish this soon, but it's not ready yet.
#13819
General Discussion / Re: UT Dedicated server
Mon 04/01/2010 01:52:20
Well, I have UT'99 and UT2004 ;). I love these games and may try someday.

(I wonder do I play UT better than Starcraft  ::))
#13820
General Discussion / Re: UT Dedicated server
Mon 04/01/2010 01:37:56
Which UT do you mean? old one UT, UT2003/04 or UT3?

Also, does this require using some internet service where you have to pay for registration or something?  :P
SMF spam blocked by CleanTalk