Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   NPC Showoff Thread. (https://forums.graalonline.com/forums/showthread.php?t=51537)

Mykel 03-07-2004 07:41 AM

NPC Showoff Thread.
 
I had a decently lengthy conversation with Kai, and he said he would prefer a post where scripters could show off their works.

This would be used so as to avoid as much as possible the simple voting for friends.

So, get to creating!

[edit]Would be nice for this to be stickied[/edit]

Kaimetsu 03-07-2004 10:47 AM

1 Attachment(s)
Behold, the never-before-seen Sphere V1.01!

See if you can guess which parts got rescripted :)

WanDaMan 03-07-2004 12:29 PM

Quote:

Originally posted by Kaimetsu
Behold, the never-before-seen Sphere V1.01!

See if you can guess which parts got rescripted :)

Verdict :
Nice script, very unique...
I can't vote untill I see others.

VeX_RaT_Boy 03-07-2004 02:55 PM

Quote:

Originally posted by Kaimetsu
Behold, the never-before-seen Sphere V1.01!

See if you can guess which parts got rescripted :)

Arrr....no point for others to compete with that :p
It's very nice!

R0bin 03-07-2004 05:23 PM

I was watching the BBC Learning last night at around 2am, saw a maths thing on spirals, looked nice, might do something 3dness like they did.

[edit] Kai, you rescripted the lightsource [/edit]

Polo 03-07-2004 05:48 PM

I saw the first version of this, and I cant help but feel that its just a rehash of a maths example i once saw. Whilst it no doubt looks impressive, it isn't actually useful :P

Im not bashing the script or scripter, Kai's evidently got some good math skills... Its just this whole script feels 'old' to me now. I'd rather see somthing totally new.

On a side note, Kai has done something in the script which I absolutely detest, putting multiple commands on one line, yuck :\. I'm guessing I can attribute that down to clustering.

Galdor 03-07-2004 09:18 PM

cool =O
3d stuffs in graal =D

Kaimetsu 03-07-2004 09:39 PM

Quote:

Originally posted by Polo
I saw the first version of this, and I cant help but feel that its just a rehash of a maths example i once saw. Whilst it no doubt looks impressive, it isn't actually useful :P
Define 'useful'. If you mean that it wouldn't much improve a playerworld then yes, I'd agree. But I don't work for a playerworld, so I see no obligation to make my scripts useful to them :-p

Quote:

Its just this whole script feels 'old' to me now. I'd rather see somthing totally new.
Dude, I'm a lazy guy :(

Maybe when G3D is released.

Quote:

On a side note, Kai has done something in the script which I absolutely detest, putting multiple commands on one line, yuck :\
What's wrong with that? It's a perfectly valid practice. Saves space and doesn't obfuscate the purpose of the code.

Quote:

Originally posted by R0bin
[edit] Kai, you rescripted the lightsource [/edit]
Indeed! But I doubt that anybody will notice the difference.

Polo 03-07-2004 10:03 PM

I wasn't dissing you Kai, I just felt I had to make my opinion. the multiple commands on one line i stated was somthing that 'personally' annoyed me, I wasn't necessarily saying it was wrong. The old script point I think you can see my validity, and the 'usefulness', yes I was refering to the fact that you cant really use it in any kind of situation, such as happens on Playerworlds.

I dont want to seem like im dissing you or the script, because I'm not. Its a complex script which [seems to me] to be well implemented, and I guess in the long run, that is all that matters.

Kaimetsu 03-07-2004 10:10 PM

Quote:

Originally posted by Polo
I wasn't dissing you Kai, I just felt I had to make my opinion.
I know :)

Quote:

the multiple commands on one line i stated was somthing that 'personally' annoyed me
Is there any particularly reason for that? I ask out of curiosity, because it seems like a pretty logical practice to me.

Kristi 03-07-2004 10:18 PM

Quote:

Originally posted by Kaimetsu
Indeed! But I doubt that anybody will notice the difference.
I did O,o

Polo 03-07-2004 10:23 PM

Quote:

Originally posted by Kaimetsu Is there any particularly reason for that? I ask out of curiosity, because it seems like a pretty logical practice to me.
Because I program in a few languages and when i debug it usually it says things like 'Error online 54: Invalid Somthing or other.' When you have multiple things on one line it then makes it a little bit less nice to debug.

Kaimetsu 03-07-2004 10:55 PM

Quote:

Originally posted by Polo
Because I program in a few languages and when i debug it usually it says things like 'Error online 54: Invalid Somthing or other.' When you have multiple things on one line it then makes it a little bit less nice to debug.
Well, I only combine lines if they're essentially the same, so an error in one would be an error in both. It's usually not necessary to split them up in that case.

Besides, I normally only do it for really simple stuff, like:

this.x=10; this.y=20;

I don't consider those separate operations - they're two parts of the same basic task.

Mykel 03-07-2004 11:10 PM

Lol, I think Kai scared other entries away with his l33t sphere.

Kristi 03-07-2004 11:12 PM

Quote:

Originally posted by Kaimetsu


Well, I only combine lines if they're essentially the same, so an error in one would be an error in both. It's usually not necessary to split them up in that case.

Besides, I normally only do it for really simple stuff, like:

this.x=10; this.y=20;

I don't consider those separate operations - they're two parts of the same basic task.

i dunno
if you like typoed
this.x=10; thiss.y=20;
it might be pretty hard to find the error since theres 2 things going on!


All times are GMT +2. The time now is 03:21 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.