Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Gal's Ship scene script..... (https://forums.graalonline.com/forums/showthread.php?t=37408)

thesmoothcriminal 09-05-2002 01:32 PM

Gal's Ship scene script.....
 
if you guys have ever played Gal whatever and seen the ship screen you would of seen that the screen rocks up and down like in a real ship

how is this done?

CheeToS2 09-05-2002 05:19 PM

Re: Gal's Ship scene script.....
 
Quote:

Originally posted by thesmoothcriminal
if you guys have ever played Gal whatever and seen the ship screen you would of seen that the screen rocks up and down like in a real ship

how is this done?

setfocus x,y;
makes the "camera" focus on a certain point.. do it slowly up and down and you get the swaying effect :D

emortylone 09-06-2002 04:14 AM

Good idea cheatos :)
---Shifter

Torankusu 09-06-2002 05:48 AM

Quote:

Originally posted by emortylone
Good idea cheatos :)
---Shifter

idea?
that's now it's done.

haunter 09-06-2002 05:55 AM

Quote:

Originally posted by Torankusu
idea?
that's now it's done.

That, or you could edit the x/y of all the NPCs, players, and tiles... But that would be dumb.

emortylone 09-06-2002 11:33 AM

Heh. I don't do much of boat-rocking gfx lolz. So don't get mad if I don't know what the standard is, heh.
---Shifter

thesmoothcriminal 09-06-2002 02:29 PM

thanks everyone
but many questions remain such as can the camera zoom in?
if i typed:

setfocus 23,64 (example)
would the cam never leave that point which in that case to return back to normal i would type:

setfocus playerx,playery?

More commands left outta the commands.rtf

could someone tell me anymore commands that are unknown to the commands.rtf

WanDaMan 09-06-2002 03:45 PM

The script was probably made the script lagger him self! XD a script i think is lame but wierd ...lol
NPC Code:
if (playerenters||timeout){
setfocus random(playerx-5,0),random(60,5);timeout=0.05;}
if (playerchats||strequals(#c,Stop)){
resetfocus;}
if(keydown(5)){
resetfocus;}


You can choose what u wanna do lol nooby i know i am XD

emortylone 09-06-2002 06:42 PM

Good old Kai XP. Always fixing things when its evident no one else can :P
---Shifter


All times are GMT +2. The time now is 09:37 PM.

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