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 04-27-2011, 04:55 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
working with water, tile layers

Okay, I have a few questions. Currently I am working on making the ability to dive, with realistic features for classic style servers.

I have a few questions on what might be the best approach. Currently I am having to make Tilelayer[0] have water tiles to make player swim.. then Layer 1 to have sand for what you see at the bottom.. and layer 2 to be the water you are diving under..



To accomplish this I am making player's alpha change. But I am not a big fan of this since the player becomes semi-transparent. Tho does begin to look like being "under" the water.

I am also changing the player.z to with plans that you will dive to your shadow..

Last edited by scriptless; 04-27-2011 at 11:25 PM..
Reply With Quote
  #2  
Old 04-27-2011, 05:20 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
For the whole alpha problem, keep the player alpha between 0.85 and 1, but adjust the red/green/blue values of the player to get a better effect. Also, you'll want to do this in a gani so all players will seem the same effect.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #3  
Old 04-27-2011, 05:27 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Players swimming with a alpha less then 1 should be completely invisable to other players. However to other swimming players with a alpha less then 1 they should be able to see them. And if at different depth's I was thinking of making players harder or easier to see.. or what do you think about making player's zoom smaller as it gets closer to bottom maybe?

hmm.. I know I am going to need alot of work with ganis. gani scripts let all players see the effect if im not mistaken. if i just have a dive variable tho i can have a script read each variable from the player and have each player determin how other players are drawn.. mixed with zoom you can create dynamic player sizes then

Now that I think of it why can't I just draw over my player with a gani.. or make part of the gani transparent? like a player of my player over my player. then make it blue with transparency.. seems like it should work, right?

Also I reconnected to the server and the level completly messed up.. mis drew itself and just totally messed up.. how can i fix/prevent this? Might be good to add I am using 5.3 not 5.1 for my graal version.

Had to delete my cache and somehow the level glitched to a single layer level.. weird.

also can i apply different tilesets to different layers?

Last edited by scriptless; 04-27-2011 at 07:15 PM..
Reply With Quote
  #4  
Old 04-27-2011, 11:02 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice


video fixed, only post the id that comes after "watch?v=".

edit: why are you recording your screen with a videocamra? there are programs that can record your screen, you know..
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #5  
Old 04-27-2011, 11:20 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by Deas_Voice View Post


video fixed, only post the id that comes after "watch?v=".

edit: why are you recording your screen with a videocamra? there are programs that can record your screen, you know..
Thank's for fixing that. Actually recording it with my phone.. :x iPhone 4.. and yes I do know there are programs but I don't have them and was just entirely to lazy to find any decent free ones. My phone has good enough quality for me most of the time.
Reply With Quote
  #6  
Old 04-30-2011, 12:18 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is a jewel in the roughMysticalDragon is a jewel in the rough
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
He was referring to Graals video Capture I think?
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[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:56 AM.


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