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-20-2002, 06:17 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
Update level

IS they are way you could update a lvl without having RC?
I have a house with doors that move and stuff but you can touch them more than 1 and they move farther well theres a script to bring them back but yu can still move it and stop it so i need a script to refesh them level if people abuse it
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #2  
Old 07-20-2002, 06:57 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
with an NPCserver, yes.

(and possibly without.)
Reply With Quote
  #3  
Old 07-20-2002, 07:12 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
umm ok

well this house will be on a server with a NPC Server but either way would be great! =D
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #4  
Old 07-20-2002, 07:24 AM
Milkdude99 Milkdude99 is offline
Truckin Up
Milkdude99's Avatar
Join Date: Jun 2001
Location: Central Florida
Posts: 3,390
Milkdude99 is an unknown quantity at this point
Send a message via ICQ to Milkdude99
Re: umm ok

Quote:
Originally posted by Legondary_MyTH
well this house will be on a server with a NPC Server but either way would be great! =D
All you need is the rights set in the account to update levels and the account on the serveroptions as Staff , then they can update levels but without RC they can only update the level they are in.
Having the NPC Server is not nessary , this will work on all servers.
__________________

Moon God
Graal.net

---------- Home---------

Reply With Quote
  #5  
Old 07-20-2002, 08:43 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
but

I doubt they will give me that right it would be easier to just script it
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #6  
Old 07-20-2002, 08:54 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: umm ok

Quote:
Originally posted by Milkdude99
All you need is the rights set in the account to update levels and the account on the serveroptions as Staff , then they can update levels but without RC they can only update the level they are in.
Having the NPC Server is not nessary , this will work on all servers.
I think he means someone who doesnt have an RC account

just use this
sendtorc /updatelevel <levelname>;
Reply With Quote
  #7  
Old 07-20-2002, 09:02 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
umm

that for NPCserver or what?
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #8  
Old 07-20-2002, 09:10 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
yes, its a serverside command
Reply With Quote
  #9  
Old 07-20-2002, 09:11 AM
Aknts Aknts is offline
Level Designer
Aknts's Avatar
Join Date: Apr 2001
Location: USofA
Posts: 3,340
Aknts will become famous soon enough
Send a message via AIM to Aknts
The only logical reason that an "update level" script command would be needed, is for cheaters that want to insert an npc into a level or some crap. If your script is messed up, you can fix it using other methods. You don't need to update the level every time. That's about as inefficient as an npc could get.
__________________
Reply With Quote
  #10  
Old 07-20-2002, 09:12 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
umm

I want it to be like my account only can do this
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #11  
Old 07-20-2002, 09: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
Re: umm

Quote:
Originally posted by Legondary_MyTH
I want it to be like my account only can do this
if (playerchats &&strequals(#a,Legondary_MyTH) && strequals(#c,update)){
sendtorc /updatelevel <the level>;
sendtorc Legondary_MyTH updated <levelname>;
}
Reply With Quote
  #12  
Old 07-20-2002, 09:34 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
ok

i cant test it so are you sure it will work??
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #13  
Old 07-20-2002, 09:49 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
First off: You didn't need to post really, since this is for a server I'm sure you could have tried asking one of the NATs there for help, If none were ever on..then I'd understand.
Also, you shouldn't script something if you don't know the effect it will have and if you don't know how to script it, don't try.
I sound rude but you'll find everything I just said in the rules posted by everyone's favorite script monkey, Kaimetsu.
__________________
Reply With Quote
  #14  
Old 07-20-2002, 09:51 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
well

Their NATS dont wear their tags cause i neva see them and i am asking so i can learn.Jeez.:grrr:
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #15  
Old 07-20-2002, 09:56 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
Re: well

Quote:
Originally posted by Legondary_MyTH
Their NATS dont wear their tags cause i neva see them and i am asking so i can learn.Jeez.:grrr:
Try possibly asking any staff member you see to direct you towards a Scriptor for the server...and if your trying to learn, perhaps you should start by asking how you can improve your current house scripts so that you won't need an update level script...
__________________
Reply With Quote
  #16  
Old 07-20-2002, 10:00 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
ok fine

ok, how can you make a move script (move,2,0,2,0) so when a playertouches it after it moves if they touch it again it doesnt move i have tried lot of things when you touch it i freeplayer and sleep so the player can access the door but i know people with abuse it and it will go all over the place X_x
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #17  
Old 07-20-2002, 10:19 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
if (playertouchsme){
move x,y,speed,some number;
}
- will move it, but you'd have to change it.

then you could set a flag and check for the flag.
Reply With Quote
  #18  
Old 07-20-2002, 10:44 AM
Legondary_MyTH Legondary_MyTH is offline
Registered User
Join Date: May 2002
Location: Levelville
Posts: 420
Legondary_MyTH is on a distinguished road
umm

I made it move im saying i cant make it so people wont cant touch it or anything untill it gos back to its place its slides then they go in the its slides back.I just dont it to keep going if they touch it before its done..
__________________
ArchMage Amedeus Valoryn of Zormite
Manager of Anarchy
Past Jobs:
Levels Admin on Renegade
LAT on Doomsday,Babylon,G3K
Developer on Faheria,Babylon
GP on Sanstrata,G3K
Reply With Quote
  #19  
Old 07-20-2002, 01:00 PM
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
lol, the only thing you would do is


NPC Code:

if (playertouchsme && x==35) {
whatever;
}



then after it moves away from 35, then it wouldn't move around again, easy peasy
__________________
[signature]insert here[/signature]
Reply With Quote
  #20  
Old 07-20-2002, 04:07 PM
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
Xx, come on Kai, its not like im handing out a whole system or something

just a tiny script
__________________
[signature]insert here[/signature]
Reply With Quote
  #21  
Old 07-20-2002, 09:19 PM
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
o, lol



okay
__________________
[signature]insert here[/signature]
Reply With Quote
  #22  
Old 08-03-2002, 05:59 PM
Mike2001mike2001 Mike2001mike2001 is offline
Registered User
Join Date: May 2002
Location: The Netherlands
Posts: 25
Mike2001mike2001 is on a distinguished road
Send a message via ICQ to Mike2001mike2001 Send a message via AIM to Mike2001mike2001
updateboard , updateterrain = P
Reply With Quote
  #23  
Old 08-03-2002, 11:55 PM
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 Mike2001mike2001
updateterrain = P
Never heard of that one.. I guess its for gmaps?
__________________

Reply With Quote
  #24  
Old 08-04-2002, 12:17 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Mike2001mike2001
updateboard , updateterrain = P
those only update the tiles, only need to use them when you change them and want the changes to be visible, updateterrain is only needed when you either mess with the groundheights or use setz
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 01:05 AM.


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