![]() |
New Features PLEASE!
Some things need to be added...
Function Arguments All us people who code in another language other than Gscript LUV FUNCTIONS ARGUMENTS! Please add them. Fuctions aregument syntax is as follows funcname(aug1,aug1,...) and function funcname (name for aug1,name for aug 2,...) { routein...... } and also there needs to be return value; example : return true; return false: return HAPPY MONKEY!; return #v(money); So we can do l33t things like if(getArea(x,y)) { message OMG LIKE THE OBJECT IS IN THE AREA!!!!!!!; } Next on the agenda........ Script Ganis! Kaimetsu suggested it and I luv the idea. There must be some way to add this option. :( Also if sever-side showimg wouldnt round to the closes half (.5) it would be good =\ Oh my... Playerspeed Variable This is a good option that GodSpeed suggested.. I hope it gets on =\ NPC Server programing It would be nice if there was an NC option to give the player a pm if a certain condition is true. Like a script command PM Commands for NPC server pmplayer account,message text; masspm message text; And int he NPC server you could do stuff like NPCs server Programming if(strequals(#pm,Hello!)) { pmplayer #a,Hi!; } And stuff. OH OH!!! hidden NPCs should be able to show images! And.... New Flags! playerkillsbaddie playerkills[baddiename] playerkillsplayer playerkillsnpc It would be nice for EXP. Since detecting if a play has killed an enemy is really difficult to do perfectly. =\ playerids in With operation with(getplayer(id)) and idscount varaible the idscount variable woudl be the hiest id on the server so if ids 4,7,8,13 were online... idscount == 13 Bug Graal:Offline bug was never fixed =\ Style show insert a newline character after semicolons and Braces or Brace+semicolon combos (for arrays and such). thats all I can think of now. |
very good ideas, like baddykilled and pm stuff, but hidden NPCs are able to show images! in the new bug fix version:)
|
Oh, It wasnt in the new features txt. hehe cool.
|
nice ideas.
function arguments are great you are right about that |
Yeah. They make jops so much EZer...
|
function parameters: possible, although the current
script engine is object-orientated instead of linear, so i would need to change some stuff first (imagine you do a sleep in such a function) playerkills: npcs can detect their own 'dead', the player-kills-player thing can be added |
nice. im looking forward to seeing this :)
|
You know what would be good and nice also? Server Accounts saved on a txt file
For like reference. I dont mean that you can edit the account but jsut to reference info from the account would be cool. Like there current gralats and stuff. Then we could do some CGI junk and make some Server stuff like popular shields and stuff on our own. |
get object exists .. they got board[] and testnpc, testplayer,testbomb.. and function argument has already been suggested a few times. .
and return is kinda useless since Graal variables are avaible to the whole script |
oh oh and I forgot
its not that hard to check if the player pk'ed all you have to do is save the current ap of the player then check if it went down .. few things that come from there been able to check the player kills, deaths, rating would be nice.. u can do exp systems based off how much kills ppl got and such that be cool . but it would be pk fest |
I have also had the same idea about adding better scripting to ganis. Then stefan could do away with the animation checking the graal engine does ;)
|
Quote:
like lets say you killed a blue baddie, you got 10 EXP points, and if you killed a lizardon you got 50 EXP points. You couldn't do that with a check-if-AP-went-down system |
Quote:
|
Quote:
All the other things are predifined functions. I want it enabled to that you can do funciton arguments when you create your own functions return IS usefull if(getcoolplayer(#a,ap)) { setplayerprop #c,I AM COOL!; } else { setplayerprop #c,I AM A LOSER } function getcoolplayer(account,alignment) { if(strequals(#p(account),Falcor) && strtofloat(#p(alignment)) > 90) { return true; } else { return false; } } It would take up extra code if you had to prefor variable operations. Why make your code longer? Why not make it simple? I sugested Function Arguments twice before.. Stefan never saw them i dont think. |
board[]'s math would be very handy in the commands.rtf...I have to go back to the shovel and hammer script every time, personally. If it's left out to prevent hackers from learning it, it doesn't work...they just all ask me. =_=
|
board[] is a silutated 2d array. Its not that hard to memorize really
x+(64*y) so line one would be 0-63 then line 2 would be 64-127 ect ect ect. and board tiles are the same syntax right? tilex+tiley*16??? |
You menchoned scripted ganies,
what about the posiblitys for ganies to have blank sprites, that can be changed with showimg and such, instead of making 23923 for 2309238 sprites, each with a diffrent gani? |
all I know is I started to understand when I made a tile editer Npc
works wonderful =) you say "board copy" then it copies the tile information of the level then u say "board replace" and it replaces the board tiles with the tiles saved from board copy it's fun =) also you can edit any x y width height to any 1 tiles using the one number for the tile. which can be found if you can see the tile by saying "board study" and moving the image over the tile. also displays the x and y for more precise editing. trouble is I tried it online and only I could see the changes =( |
| All times are GMT +2. The time now is 11:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.