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 06-18-2001, 01:06 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Spar House Script

I made somthing for my server called Spar World. It came out nice but I am owner, not a NAT and I do not know how to make it so when either fighter says start, it shows a door.gif so no one can leave and no one from outside can enter because door is blocked off. I guess this would use a server flag but im not sure how to do that. Anyone got any ideas???
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 06-18-2001, 01:33 PM
Lion'el-Jonson Lion'el-Jonson is offline
Please Wait....
Lion'el-Jonson's Avatar
Join Date: Mar 2001
Location: I like to eat food samples at price club.
Posts: 1,663
Lion'el-Jonson will become famous soon enough
Send a message via AIM to Lion'el-Jonson Send a message via Yahoo to Lion'el-Jonson
WHOA! Thats a hooge sig
__________________


"My words are like weaponry on a record"
Reply With Quote
  #3  
Old 06-18-2001, 10:31 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
in the door gif
if (playerenters) {hide;}
if (playersays(start spar)) {
if (isleader) {show;}}
if (playersays(end spar)) {
if (isleader) {show;}}

that would make it so only the first person in can open/close it
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #4  
Old 06-18-2001, 10:38 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Kaimetsu


Ew, that's kinda inefficient and playersays isn't really approved of any more. I'd change that to:
NPC Code:

if(playerenters) hide;
if(playerchats){
if(isleader){
if(strequals(#c,start spar)) show;
elseif(strequals(#c,end spar)) hide;
}
}



NOTE: I do not take responsibility for this script. I only neatened it up; I didn't script the basic components.
lol
thanks =D
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #5  
Old 06-18-2001, 10:49 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Kaimetsu
Actually, I decided to rescript it. Just one of those annoying compulsive habits of mine.
lol
Im having trouble making a health bar
I dont know what the health bar itself should look like (size-shape)
((
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #6  
Old 06-18-2001, 11:14 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Kaimetsu


Why not just make it like the AP bar but bigger?
that might work
but like
how do you script it so it changes depending on health?
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #7  
Old 06-18-2001, 11:23 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Thanks for the script help but why isnt playersays approved of anymore???
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #8  
Old 06-18-2001, 11:27 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by ownerofbabylon
Thanks for the script help but why isnt playersays approved of anymore???
its used just not as officent
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #9  
Old 06-19-2001, 12:50 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
I did not sleep last night I was up till 5 am and then I went to work at 8:30 am I had nothing to do so I thought about how to make Babylon better so Geovanie might like it more. I thought about it and I really want to add fishing. I thought it over and over but I cant figure out how to make it. I dont want the exact code (but i will if you wanna give because im trying to learn how to make it not going so well though
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #10  
Old 06-19-2001, 01:19 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Kaimetsu
What are you planning for the system? Describe what you want it to be.
Me?
Im trying to make a health bar but all of it is so confusing (
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #11  
Old 06-19-2001, 01:22 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Kaimetsu
I actually meant the babylon owner dude, with his fishing thing. But hey, if your health script is a problem then I can help with that too.
im having a huge problem, I dont know where to start i just want a basic health bar its sooooo confusing lol
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #12  
Old 06-19-2001, 01:23 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
whats so confuzing?

if (playerenters){
toweapons -hpsystem;
}

//insert some stuff that puts the HP bar up(I dont remember it & I cant get to my pc right now)

if(created||timeout) {
setimgpart 0,0,20,s(hp);
timeout=.5;
}


ya know some thing like that

I know I am missing a TON of stuff but I cant remember it
__________________
Reply With Quote
  #13  
Old 06-19-2001, 01:25 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by Bhala
whats so confuzing?

if (playerenters){
toweapons -hpsystem;
}

//insert some stuff that puts the HP bar up(I dont remember it & I cant get to my pc right now)

if(created||timeout) {
setimgpart 0,0,20,s(hp);
timeout=.5;
}


ya know some thing like that

I know I am missing a TON of stuff but I cant remember it
ummm..... that dosent seem right...
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #14  
Old 06-19-2001, 01:28 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
well what doesnt work? I wana know...but like I said I cant get to the commands right now so I cant check my self right now
__________________
Reply With Quote
  #15  
Old 06-19-2001, 01:28 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
But the gfx itself i dont understand what the exact size has to be...
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
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 06:57 PM.


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