Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-03-2004, 09:52 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Shorter ways of scripting?

Well.. Say I wanted to make a few movies like the ones Shaded Legends had, is there a way to make the script short instead of writing loads..
Like
NPC Code:

//#CLIENTSIDE
if(created){
dir = 3;
setcharani walk,;
move 10,0,3,0;
sleep 3;

dir = 2;
move 0,10,3,0;
sleep 3;

dir = 3;
move 10,0,3,0;
sleep 3;
}


Over and over again.. So I was wondering if it could be made shorter..? or be shortend..
Any suggestions might help
__________________
V$:CONFL16T
Reply With Quote
  #2  
Old 06-03-2004, 11:31 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
make a gani movie?
Reply With Quote
  #3  
Old 06-04-2004, 12:22 AM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
Alt+6 Records you in an offline level. A text file (script) is then saved in your Graal2001 folder. Works wonders for moves.
__________________
Former Global Scripting Team Member


Reply With Quote
  #4  
Old 06-04-2004, 12:31 AM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
Heh. I used alt+6 one time to see how I pk, but it only works offline. I would like to see how I pk online. That would be cool.
Gani movie is a nice way to go to make those type of cut-scenes.

Jagen, I got a question though. Is there a variable that gives the length of a gani movie?
__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote
  #5  
Old 06-04-2004, 04:28 AM
Xecutor Xecutor is offline
Former UN Manager
Join Date: Apr 2004
Posts: 117
Xecutor is on a distinguished road
And if you don't want to make a gani movie there is also the option of making it with an animated graphic file, but that is quite hard.
Reply With Quote
  #6  
Old 06-04-2004, 08:52 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Just make a template script that you import strings and variables into.
DUH.
*coughduhisajokecough*
__________________
Do it with a DON!
Reply With Quote
  #7  
Old 06-04-2004, 10:35 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
But it'd still be a bit long Zero..
I might try that alt + 6 recording feature, thanks guys :]

I'd try a gani, but that's just mad!!
Same for GFX too

Thanks for replying :]

edit
alt + 6 uses x += 1; etc
__________________
V$:CONFL16T

Last edited by WanDaMan; 06-04-2004 at 04:39 PM..
Reply With Quote
  #8  
Old 06-04-2004, 04:56 PM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
yes, but if its going to be for individual viewing, then whats wrong with a timeout of 0.05 clientside. It will look like a normal player.
__________________
Former Global Scripting Team Member


Reply With Quote
  #9  
Old 06-05-2004, 07:48 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by DarkShadows_Legend
Jagen, I got a question though. Is there a variable that gives the length of a gani movie?
nope

gani movie is your best bet, a complicated movie will be much much more efficiently run through a gani movie than a bunch of scripts, or one big script
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:53 AM.


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