Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-19-2002, 11:33 PM
thesmoothcriminal thesmoothcriminal is offline
Lv.1 Internet Bully
thesmoothcriminal's Avatar
Join Date: Jul 2002
Location: player x,player y
Posts: 487
thesmoothcriminal will become famous soon enough
Send a message via AIM to thesmoothcriminal Send a message via Yahoo to thesmoothcriminal
Client Side

I keep geting problems using Client side if anyone could enlighten me i would be most thank fill
Reply With Quote
  #2  
Old 07-19-2002, 11:48 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
enlighten us of your //#CLIENTSIDEd problems.
Reply With Quote
  #3  
Old 07-19-2002, 11:54 PM
thesmoothcriminal thesmoothcriminal is offline
Lv.1 Internet Bully
thesmoothcriminal's Avatar
Join Date: Jul 2002
Location: player x,player y
Posts: 487
thesmoothcriminal will become famous soon enough
Send a message via AIM to thesmoothcriminal Send a message via Yahoo to thesmoothcriminal
Problem=format
which means i wanna know how i use it as my atempts to use it have failed
Reply With Quote
  #4  
Old 07-20-2002, 12:03 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
oh.

//name, etc
serverside stuff up here, which means,
actions triggered through triggeraction,
if (actionserverside){
}
, or
if (action-theactiontriggered-){

}

//#CLIENTSIDE
if (playerdoesstuffs){
triggeraction 0,0,serverside,WEAPONNAME,param;
or
triggeraction 0,0,action,param;
}
Reply With Quote
  #5  
Old 07-20-2002, 12:05 AM
thesmoothcriminal thesmoothcriminal is offline
Lv.1 Internet Bully
thesmoothcriminal's Avatar
Join Date: Jul 2002
Location: player x,player y
Posts: 487
thesmoothcriminal will become famous soon enough
Send a message via AIM to thesmoothcriminal Send a message via Yahoo to thesmoothcriminal
thats the one but whats with // isnt that just a comment?
Reply With Quote
  #6  
Old 07-20-2002, 12:09 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by thesmoothcriminal
thats the one but whats with // isnt that just a comment?
Most "comments" are marked with "//".

//#CLIENTSIDE actually reads every line of script below it in a clientsided manner, so you have to put the serverside stuff above it and trigger it.
Reply With Quote
  #7  
Old 07-20-2002, 12:13 AM
thesmoothcriminal thesmoothcriminal is offline
Lv.1 Internet Bully
thesmoothcriminal's Avatar
Join Date: Jul 2002
Location: player x,player y
Posts: 487
thesmoothcriminal will become famous soon enough
Send a message via AIM to thesmoothcriminal Send a message via Yahoo to thesmoothcriminal
man you guys are legends
thanks all
someone should make a guide to scripting with explains instead of good old commands.rtf
Reply With Quote
  #8  
Old 07-20-2002, 02:29 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
many have planned but for some reason they never get completed Xx

i ever started one and got close to finishing and i had to reformat and forgot to save to disk
__________________
[signature]insert here[/signature]
Reply With Quote
  #9  
Old 07-20-2002, 03:04 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Contrary to the newbie rumors. //#SERVERSIDE doesn't exsists. Just telling you now incase you are wondering. //#CLIENTSIDE is just a divider line, nothing more.
__________________

subliminal message: 1+1=3
Reply With Quote
  #10  
Old 07-20-2002, 03:10 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
i remember when i first saw it, i was like o my goodness, i didnt know that existed
__________________
[signature]insert here[/signature]
Reply With Quote
  #11  
Old 07-20-2002, 03:29 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally posted by Falcor
Contrary to the newbie rumors. //#SERVERSIDE doesn't exsists. Just telling you now incase you are wondering. //#CLIENTSIDE is just a divider line, nothing more.
XD i didn't think so.. i had a feeling *censored* was wrong
__________________

Reply With Quote
  #12  
Old 07-20-2002, 07:29 AM
IAMNOTAFREAK IAMNOTAFREAK is offline
Registered User
Join Date: May 2002
Location: IBM Stellar Sphere
Posts: 118
IAMNOTAFREAK is on a distinguished road
Send a message via ICQ to IAMNOTAFREAK Send a message via AIM to IAMNOTAFREAK
what ive been wondering is why //#CLEINTSIDE is necessary, why not just make the npc controller be able to automatically recognize what is clientside-only and serverside-only and make adjustments to its actions accordingly?
__________________
Crimson


Nocturne...it's coming.
Reply With Quote
  #13  
Old 07-20-2002, 08:18 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by IAMNOTAFREAK
what ive been wondering is why //#CLEINTSIDE is necessary, why not just make the npc controller be able to automatically recognize what is clientside-only and serverside-only and make adjustments to its actions accordingly?
because some things can be done differently clientsided...

For instance, the timeout minimum for serverside is 0.1, while clientside, you can use 0.05
Reply With Quote
  #14  
Old 07-20-2002, 09:53 AM
Shiftk03- Shiftk03- is offline
I am the trap
Shiftk03-'s Avatar
Join Date: Nov 2001
Location: Dirty South
Posts: 1,688
Shiftk03- will become famous soon enough
Also, Clientsiding things means: it only happens to the client (player triggering the script)..
You can use Clientsiding to:
Show messages only to that player
Set a client.string
Make that player the only one who can see or be hit by a projectile (for some odd reason)
etc etc..
__________________
Reply With Quote
  #15  
Old 07-20-2002, 11:22 AM
thesmoothcriminal thesmoothcriminal is offline
Lv.1 Internet Bully
thesmoothcriminal's Avatar
Join Date: Jul 2002
Location: player x,player y
Posts: 487
thesmoothcriminal will become famous soon enough
Send a message via AIM to thesmoothcriminal Send a message via Yahoo to thesmoothcriminal
an other command stefan "forgot" to put in
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:20 PM.


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