Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-01-2008, 01:59 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
Text graal movie script but having problems

Having Problems it works on offline but it dont work online its a video with just text that goes in unstick me level when u enter the server well someone help me idk whats wrong

//#CLIENTSIDE
// NPC made by Rave Platinum
if (created) { showtext 900,screenwidth/2,screenheight/2,,cb,Welcome To Scarlet Sky;
changeimgvis 900,8;
showtext 901,screenwidth/2+1,screenheight/2+1,,cb,Welcome To Scarlet Sky;
hideplayer 23.2;
disabledefmovement;
changeimgcolors 900,1,1,1,0.99;
sleep3;
changeimgcolors 900,0.90,0.90,0.90,0.90;
sleep0.2;
changeimgcolors 900,0.80,0.80,0.80,0.80;
sleep0.2;
changeimgcolors 900,0.70,0.70,0.70,0.70;
sleep0.2;
changeimgcolors 900,0.60,0.60,0.60,0.60;
sleep0.2;
changeimgcolors 900,0.50,0.50,0.50,0.50;
sleep0.2;
changeimgcolors 900,0.40,0.40,0.40,0.40;
sleep0.2;
changeimgcolors 900,0.30,0.30,0.30,0.30;
sleep0.2;
changeimgcolors 900,0.20,0.20,0.20,0.20;
sleep0.2;
changeimgcolors 900,0.10,0.10,0.10,0.10;
sleep0.2;
changeimgcolors 900,0,0,0,0;
sleep3;
showtext 900,screenwidth/2,screenheight/2,,cb,Coming soon To Hosted Tab;
changeimgvis 900,8;
showtext 901,screenwidth/2+1,screenheight/2+1,,cb,Welcome;
changeimgcolors 900,1,1,1,0.99;
changeimgcolors 900,0.10,0.10,0.10,0.10;
sleep0.2;
changeimgcolors 900,0.20,0.20,0.20,0.20;
sleep0.2;
changeimgcolors 900,0.30,0.30,0.30,0.30;
sleep0.2;
changeimgcolors 900,0.40,0.40,0.40,0.40;
sleep0.2;
changeimgcolors 900,0.50,0.50,0.50,0.50;
sleep0.2;
changeimgcolors 900,0.60,0.60,0.60,0.60;
sleep0.2;
changeimgcolors 900,0.70,0.70,0.70,0.70;
sleep0.2;
changeimgcolors 900,0.80,0.80,0.80,0.80;
sleep0.2;
changeimgcolors 900,0.90,0.90,0.90,0.90;
sleep3;
changeimgcolors 900,0.90,0.90,0.90,0.90;
sleep0.2;
changeimgcolors 900,0.80,0.80,0.80,0.80;
sleep0.2;
changeimgcolors 900,0.70,0.70,0.70,0.70;
sleep0.2;
changeimgcolors 900,0.60,0.60,0.60,0.60;
sleep0.2;
changeimgcolors 900,0.50,0.50,0.50,0.50;
sleep0.2;
changeimgcolors 900,0.40,0.40,0.40,0.40;
sleep0.2;
changeimgcolors 900,0.30,0.30,0.30,0.30;
sleep0.2;
changeimgcolors 900,0.20,0.20,0.20,0.20;
sleep0.2;
changeimgcolors 900,0.10,0.10,0.10,0.10;
changeimgcolors 900,0,0,0,0;
sleep2;
showtext 900,screenwidth/2,screenheight/2,,cb,Hiring Best Developers on Graal ;
changeimgvis 900,8;
showtext 901,screenwidth/2+1,screenheight/2+1,,cb,Hiring Best Developers on Graal;
changeimgcolors 900,1,1,1,0.99;
changeimgcolors 900,0.10,0.10,0.10,0.10;
sleep0.2;
changeimgcolors 900,0.20,0.20,0.20,0.20;
sleep0.2;
changeimgcolors 900,0.30,0.30,0.30,0.30;
sleep0.2;
changeimgcolors 900,0.40,0.40,0.40,0.40;
sleep0.2;
changeimgcolors 900,0.50,0.50,0.50,0.50;
sleep0.2;
changeimgcolors 900,0.60,0.60,0.60,0.60;
sleep0.2;
changeimgcolors 900,0.70,0.70,0.70,0.70;
sleep0.2;
changeimgcolors 900,0.80,0.80,0.80,0.80;
sleep0.2;
changeimgcolors 900,0.90,0.90,0.90,0.90;
sleep3;
changeimgcolors 900,0.90,0.90,0.90,0.90;
sleep0.2;
changeimgcolors 900,0.80,0.80,0.80,0.80;
sleep0.2;
changeimgcolors 900,0.70,0.70,0.70,0.70;
sleep0.2;
changeimgcolors 900,0.60,0.60,0.60,0.60;
sleep0.2;
changeimgcolors 900,0.50,0.50,0.50,0.50;
sleep0.2;
changeimgcolors 900,0.40,0.40,0.40,0.40;
sleep0.2;
changeimgcolors 900,0.30,0.30,0.30,0.30;
sleep0.2;
changeimgcolors 900,0.20,0.20,0.20,0.20;
sleep0.2;
changeimgcolors 900,0.10,0.10,0.10,0.10;
sleep0.2;
changeimgcolors 900,0,0,0,0;
sleep0.2;
setlevel2 bionic_start.nw,31.5,32;
}
Reply With Quote
  #2  
Old 02-01-2008, 02:20 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
PHP Code:
// NPC made by Rave Platinum
function onCreated() {
  
setshape(13232);
}
function 
onActionwarp() {
  
setlevel2("bionic_start.nw",31.5,32);
}
//#CLIENTSIDE
function onCreated() {
  
showtext(900,screenwidth/2,screenheight/2,"","cb","Welcome To Scarlet Sky");
  
changeimgvis(9008);
  
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome To Scarlet Sky");
  
hideplayer(23.2);
  
disabledefmovement();
  
changeimgcolors(900,1,1,1,0.99);
  
sleep(3);
  for(
temp.1temp.>= 0temp.-= 0.1) {
    
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
    
sleep(0.2);
  }
  
sleep(3);
  
showtext(900,screenwidth/2,screenheight/2,"","cb","Coming soon To Hosted Tab");
  
changeimgvis(9008);
  
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome");
  for(
temp.0temp.<= 1temp.+= 0.1) {
    
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
    
sleep(0.2);
  }
  
sleep(3);
  for(
temp.1temp.>= 0temp.-= 0.1) {
    
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
    
sleep(0.2);
  }
  
changeimgcolors(900,0,0,0,0);
  
sleep(2);
  
showtext(900,screenwidth/2,screenheight/2,"","cb","Hiring Best Developers on Graal");
  
changeimgvis(900,8);
  
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Hiring Best Developers on Graal");
  for(
temp.0temp.<= 1temp.+= 0.1) {
    
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
    
sleep(0.2);
  }
  
sleep(3);
  for(
temp.1temp.>= 0temp.-= 0.1) {
    
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
    
sleep(0.2);
  }
  
changeimgcolors(900,0,0,0,0);
  
triggeraction(x+1y+1"warp"null);

setlevel2 is serverside only. I also took the liberty of converting it to Gscript2 format. Now, this script will only work online.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #3  
Old 02-01-2008, 02:29 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
thank u so much tig ur the best u should just ocme work for my server
Reply With Quote
  #4  
Old 02-01-2008, 02:35 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
eww tig it didnt work just in a level so i add it into a weapon list an it works but everytime u log on it keeps doing it i just one it do it just one time in one level an never again u know what i mean
Reply With Quote
  #5  
Old 02-01-2008, 02:50 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Make a variable ...

PHP Code:
//#CLIENTSIDE
function onCreated()
{
  if ( ! 
client.hasSeen )
  {
    
showMovie();
    
client.hasSeen true;
  }

__________________
Reply With Quote
  #6  
Old 02-01-2008, 02:52 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
kk i added that to the script it still dont work also
when its done u cant walk either hmmmm
Reply With Quote
  #7  
Old 02-01-2008, 04:55 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Rave_J View Post
kk i added that to the script it still dont work also
when its done u cant walk either hmmmm
PHP Code:
// NPC made by Rave Platinum
function onCreated() {
  
setshape(13232);
}
function 
onActionwarp() {
  
setlevel2("bionic_start.nw",31.5,32);
}
//#CLIENTSIDE
function onCreated() {
  if (!
client.seenmovie) {
    
showtext(900,screenwidth/2,screenheight/2,"","cb","Welcome To Scarlet Sky");
    
changeimgvis(9008);
    
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome To Scarlet Sky");
    
hideplayer(23.2);
    
disabledefmovement();
    
changeimgcolors(900,1,1,1,0.99);
    
sleep(3);
    for(
temp.1temp.>= 0temp.-= 0.1) {
      
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
      
sleep(0.2);
    }
    
sleep(3);
    
showtext(900,screenwidth/2,screenheight/2,"","cb","Coming soon To Hosted Tab");
    
changeimgvis(9008);
    
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Welcome");
    for(
temp.0temp.<= 1temp.+= 0.1) {
      
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
      
sleep(0.2);
    }
    
sleep(3);
    for(
temp.1temp.>= 0temp.-= 0.1) {
      
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
      
sleep(0.2);
    }
    
changeimgcolors(900,0,0,0,0);
    
sleep(2);
    
showtext(900,screenwidth/2,screenheight/2,"","cb","Hiring Best Developers on Graal");
    
changeimgvis(900,8);
    
showtext(901,screenwidth/2+1,screenheight/2+1,"","cb","Hiring Best Developers on Graal");
    for(
temp.0temp.<= 1temp.+= 0.1) {
      
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
      
sleep(0.2);
    }
    
sleep(3);
    for(
temp.1temp.>= 0temp.-= 0.1) {
      
changeimgcolors(900,temp.i,temp.i,temp.i,temp.i);
      
sleep(0.2);
    }
    
changeimgcolors(900,0,0,0,0);
    
triggeraction(x+1y+1"warp"null);
    
enabledefmovement();
    
client.seenmovie 1;
  }

__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #8  
Old 02-01-2008, 05:59 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Generally it's not a good idea to give whole pieces of code.

It's nice that you are helping, but it is better to explain what to do.

Also, the forum rules say that you shouldn't ask for whole scripts, or for things above your ability level.
__________________
Reply With Quote
  #9  
Old 02-01-2008, 08:33 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by cbkbud View Post
Generally it's not a good idea to give whole pieces of code.

It's nice that you are helping, but it is better to explain what to do.

Also, the forum rules say that you shouldn't ask for whole scripts, or for things above your ability level.
Thanks, that's definitely a good idea, however I always learned from example.

I know it's nice, it's apparent that he doesn't understand even during an explanation and quite frankly it's a lot easier for me to just rescript it than to sit and explain it if it's not my job.

He's not asking for whole scripts, he's asking what's wrong, and it's obviously not above his ability level since it works in editor.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #10  
Old 02-02-2008, 04:26 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by cbkbud View Post
Generally it's not a good idea to give whole pieces of code.

It's nice that you are helping, but it is better to explain what to do.

Also, the forum rules say that you shouldn't ask for whole scripts, or for things above your ability level.
It's best to not repeatedly give whole pieces of code because that is an unwillingness to learn. One or two can't hurt because they can see what you do and incorporate it into their style (which is beneficial).

Generally it's not a good idea to attack the actions of others, but what do I know

You must also consider the average graalian doesn't have access to a gs2 compiler and the offline compiler works in different ways.
__________________
Reply With Quote
  #11  
Old 02-02-2008, 06:01 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Kristi View Post
You must also consider the average graalian doesn't have access to a gs2 compiler and the offline compiler works in different ways.
Why don't we fix this then, instead of working on projects that won't happen (flying technology, Graal 3D, etc).


Also, Tig, I wasn't attacking you. I'm sorry if it sounded like that; *hands a cookie*
__________________
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 11:58 PM.


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