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 08-17-2001, 12:53 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
Double

How hard would it be to make a bridge that allowed you to walk over it and also under it? Like the one on classic?

If anyone can show me how to do this I would appreciate it
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 08-17-2001, 02:25 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
I think i got it!take a pic of each end of teh bridge that is on the land-not the bridge itself and use the command if (playertouchsme) {
dontblock;
set overbridge;
}
do the same thing with the other side and take a pic of teh actual bridge and rip the bridge out using psp 7 or w/e-note: if the bridge is like this !! then don't make the bridge so that the sides are not included along in the gif. then pu the scirpt like this
if (overbridge) {
dontblock;
drawunderplayer;
}
then make a gif of teh out outside tiles of the bridge and make a gfx of it-and in that scirp do this:
if (playertouchsme) {
dontblock;
set underbridge;
}
and along with the bridge gfx that u made b4 this one add this script:
if (underbridge) {
dontblock;
drawoverplayer;
}


i think this will werk-if u have ne trouble just send me the level and i'll do it 4 u........Thanx,and if this won't werk plz tell me

--------------L8--------------
---Brian---------------------
Reply With Quote
  #3  
Old 08-17-2001, 05:11 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
Is that right???I am pretty sure there is a easier way but i don't find that hard and i havent actually tried this before but if someone has done this before and was a sucess plz tell me

-----------Thanx------------Brian------------------
Reply With Quote
  #4  
Old 08-17-2001, 05:15 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
whats the problem with flags? ohh i c now when the player goes over teh bridge the flag is never unset hmmm what is u were to unset the flags in the opposite scripts>?
Reply With Quote
  #5  
Old 08-17-2001, 05:24 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
Question

then what should i use....hmmm u mean making a new gfx using the putnpc command????? i don't know anything else to do????
Reply With Quote
  #6  
Old 08-17-2001, 05:55 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
i think a rockk fell on my head i 4got all about variables!
Reply With Quote
  #7  
Old 08-18-2001, 05:06 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
owner can use this but not ne1 else w/o permission lolz (that includes u poogle)

NPC Code:

// NPC made by LiquidIce (Murder)
dontblocklocal;

while (playertouchsme) {
if (!playerswimming) {
drawunderplayer;
}
if (playerswimming) {
drawoverplayer;
}
}



easy ..
and use a bridge.gif or something
and i also recommend u put walkable tiles under the bridge so ppl can walk over the bridge
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #8  
Old 08-18-2001, 10:03 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by LiquidIce00
owner can use this but not ne1 else w/o permission lolz (that includes u poogle)

NPC Code:

// NPC made by LiquidIce (Murder)
dontblocklocal;

while (playertouchsme) {
if (!playerswimming) {
drawunderplayer;
}
if (playerswimming) {
drawoverplayer;
}
}



easy ..
and use a bridge.gif or something
and i also recommend u put walkable tiles under the bridge so ppl can walk over the bridge
put walkable tiles underneath...and make it if (playertouchsme) instead of while...cause wouldnt while make it check after youve started to go under =/
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #9  
Old 08-18-2001, 10:18 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
Quote:
Originally posted by LiquidIce00
owner can use this but not ne1 else w/o permission lolz (that includes u poogle)

NPC Code:

// NPC made by LiquidIce (Murder)
dontblocklocal;

while (playertouchsme) {
if (!playerswimming) {
drawunderplayer;
}
if (playerswimming) {
drawoverplayer;
}
}



easy ..
and use a bridge.gif or something
and i also recommend u put walkable tiles under the bridge so ppl can walk over the bridge
Oh thanks. Accept one thing. How would you make it if there were black tiles or somthing underneath that killed them??
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #10  
Old 08-18-2001, 11:16 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by ownerofbabylon


Oh thanks. Accept one thing. How would you make it if there were black tiles or somthing underneath that killed them??
uh?
like if u touch the bridge from bellow u get hurt ?
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #11  
Old 08-18-2001, 11:33 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
no the whole level is blackness except the bridge and the platforms and if you touch blackness (the bridge disappears) then it kills you
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #12  
Old 08-18-2001, 11:42 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
confused
and how come u say babylon has the best scripting but u always asking me or ppl here for scripts ?
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #13  
Old 08-18-2001, 12:13 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
dang i think all you haev to do is make a darkness gfx and just use the hurtplayer command when the player touchs it-thats not hard at all
Reply With Quote
  #14  
Old 08-18-2001, 03:40 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
if (!onwater) {dontblock;
drawunderplayer;}
if (onwater) {dontblock;
drawoverplayer;}
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 03:11 PM.


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