Forum: NPC Scripting
12-03-2006, 07:49 AM
|
|
Replies: 14
Views: 2,667
I like this one.
Attack = Power +...
I like this one.
Attack = Power + Random(int(Power/8));
M = int(Strength * Level / 128) + 2;
Defense = OpponentsDefenseFactor;
Damage = (Attack - Defense) * M;
Such is the 'Swords' damage...
|
Forum: Graal Main Forum (English)
09-10-2006, 09:49 PM
|
|
Replies: 140
Views: 27,266
|
Forum: NPC Scripting
02-19-2006, 07:09 AM
|
|
Replies: 8
Views: 1,614
Is there anything wrong with, for example, upon...
Is there anything wrong with, for example, upon the player pressing left, changing the dir to 1, and setting the gani to walk? And why would you want to replace any animations in the first place? ...
|
Forum: Old Scripting Engine (GS1)
02-09-2006, 01:47 AM
|
|
Replies: 8
Views: 2,087
|
Forum: Old Scripting Engine (GS1)
02-07-2006, 01:12 AM
|
|
Replies: 8
Views: 2,087
|
Forum: Old Scripting Engine (GS1)
02-07-2006, 12:34 AM
|
|
Replies: 8
Views: 2,087
Hmm... so say I wanted to make a weapon that...
Hmm... so say I wanted to make a weapon that searched through the room and killed everyone in it, it would be done like so?
if ( weaponfired ) {
for ( i = 0; i < playerscount; i++ ) {
...
|
Forum: Old Scripting Engine (GS1)
02-06-2006, 05:16 PM
|
|
Replies: 8
Views: 2,087
Online player search
Hey there, I'm a good scripter, but I've done next to nothing of online stuff. My question is, how do I go through the players in a level in a for loop? I do for (i=0;i<playerscount;i++) serverside...
|
Forum: Future Improvements
02-02-2006, 06:35 AM
|
|
Replies: 17
Views: 1,700
Releasing the source would be bad for him, not...
Releasing the source would be bad for him, not us. There's only one thing I want to do, and that's make having your own servers free. God, that would rule. Servers cost enough already. Maybe I...
|
Forum: Future Improvements
02-01-2006, 07:59 AM
|
|
Replies: 17
Views: 1,700
The Greatest Idea Ever
Open source Graal. Comments? Yeah, we should all start a protest and force Stefan to release the Delphi source code! O.o
|
Forum: NPC Scripting
08-27-2005, 05:41 AM
|
|
Replies: 5
Views: 2,517
|
Forum: NPC Scripting
08-23-2005, 07:57 PM
|
|
Replies: 4
Views: 2,314
One thing...
Is keypressed an event or condition?
Event: When a key is pressed.
Condition: When any key is down (keydown uses a specific key).
|
Forum: Level Design
08-22-2005, 12:09 AM
|
|
Replies: 11
Views: 1,736
|
Forum: NPC Scripting
08-21-2005, 09:40 AM
|
|
Replies: 40
Views: 7,066
|
Forum: NPC Scripting
08-20-2005, 04:40 AM
|
|
Replies: 40
Views: 7,066
|
Forum: NPC Scripting
04-25-2005, 05:07 AM
|
|
Replies: 4
Views: 2,396
|
Forum: NPC Scripting
04-23-2005, 07:32 PM
|
|
Replies: 4
Views: 2,396
Not a technical problem, but...
Making GUIs is fun! If I can't think of anything else to do, I go make a GUI! Is there anything wrong with me? Is this a symptom of Graalian Insanity? I would also be happy to put my...
|
Forum: NPC Scripting
04-16-2005, 06:18 AM
|
|
Replies: 2
Views: 2,358
Just put canbecarried; into whatever it is you...
Just put canbecarried; into whatever it is you want the staff to carry. If you want only the staff to be able to do so, put the cabbecarried; in an if (strequals(#g,Restaurant Staff)) or whatever.
|
Forum: NPC Scripting
03-19-2005, 07:04 AM
|
|
Replies: 14
Views: 2,660
Sweetness! Somehow, I fixed the code... maybe...
Sweetness! Somehow, I fixed the code... maybe it's because I just put in a for loop... anyway, I have yet another problem (you can download my script at the bottom of this post for reference).
This...
|
Forum: NPC Scripting
03-18-2005, 12:58 AM
|
|
Replies: 14
Views: 2,660
Actually... Luigi was he who saved me from my...
Actually... Luigi was he who saved me from my demise... it has simply been so long that I forgot about strtofloat()... Kaimetsu, how do I 'upgrade' to this new GScript? I know I have not already,...
|
Forum: NPC Scripting
03-17-2005, 01:57 AM
|
|
Replies: 14
Views: 2,660
|
Forum: NPC Scripting
03-16-2005, 01:16 AM
|
|
Replies: 14
Views: 2,660
Small question
Okay, I'm doing a huge revamp on Graal and combining it with an RPG. I believe it would be sort of like Graal Kingdoms, as it has stats and things... anywho, the movement speed of the player is...
|
Forum: Graal Main Forum (English)
02-07-2004, 07:59 PM
|
|
Replies: 58
Views: 4,276
|
Forum: Graal Main Forum (English)
01-25-2004, 05:23 AM
|
|
Replies: 58
Views: 4,276
|
Forum: Graal Main Forum (English)
01-25-2004, 05:03 AM
|
|
Replies: 58
Views: 4,276
|
Forum: Graal Main Forum (English)
01-25-2004, 04:37 AM
|
|
Replies: 58
Views: 4,276
Offline Multi-Player...
I have been on graal since about late 2002, and there are many things that I missed. I hear about the REALLY classic Graal, with the offline multi-player, two-person horseriding and such, and I...
|