Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-08-2006, 01:44 AM
ryu_no_bishie ryu_no_bishie is offline
I know japanese l33t
ryu_no_bishie's Avatar
Join Date: Aug 2006
Posts: 256
ryu_no_bishie is an unknown quantity at this point
bitmaps

players can load and set bodies, and players can upload boddies,
what i want to know, is there a way a player can draw a body and use it as an item, as a seamless part of the game? the body would have to exist as a bitmap file(for ganis) so it would need to also be saved as a file
__________________
Rockman Akane FTW
  #2  
Old 11-09-2006, 01:50 AM
kinetaro kinetaro is offline
Hiding under your bed.
kinetaro's Avatar
Join Date: Jun 2006
Posts: 30
kinetaro is on a distinguished road
Send a message via AIM to kinetaro Send a message via MSN to kinetaro
Can you clarify what you mean? Your post looks kind of rushed. however these are the two possible meanings I assume you are talking about.
A.) Accessing an image without it being uploaded on the server.
which would be done like this.

NPC Code:
 with (findimg(###)) { this.image = "http://www.website.com/image.type"; }



B.) Drawing an image in graal and then exporting it out as a file type.
I dont really think that is possible but who knows.
  #3  
Old 11-09-2006, 01:58 AM
kinetaro kinetaro is offline
Hiding under your bed.
kinetaro's Avatar
Join Date: Jun 2006
Posts: 30
kinetaro is on a distinguished road
Send a message via AIM to kinetaro Send a message via MSN to kinetaro
I realise I shouldnt double post but I wanted to split this message up from the other one.

For those who remember my *** Bar on era the script I made for displaying images from websites was this.

NPC Code:

function onPlayerChats()
{
temp.tok = player.chat.tokenize();
if (temp.tok[0] == ";webimage")
{
serverr.kinetaro = temp.tok[1];
}
}
//#CLIENTSIDE
function onPlayerenters()
{
with (findimg(200)) { this.image = serverr.kinetaro; }
setTimer(0.5);
}
function onTimeout()
{
with (findimg(200)) { this.image = serverr.kinetaro; }
setTimer(0.5);
}

  #4  
Old 11-09-2006, 03:16 AM
ryu_no_bishie ryu_no_bishie is offline
I know japanese l33t
ryu_no_bishie's Avatar
Join Date: Aug 2006
Posts: 256
ryu_no_bishie is an unknown quantity at this point
its basicaly the latter, i thought it would be jawsome to have outfits be created with items!

hmm, there might be one way however, in PNGs you can set the prop of the bitmaps color to another color, what if you simply made each part a different color pixel 1 pixel 2 pixel 3 etc, and this would work for a majority of premade outfits as well as entirely new ones. would this be possible, or is graal limited to the 5 colors that you can commonly change on most servers?
__________________
Rockman Akane FTW
  #5  
Old 11-09-2006, 04:51 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
Unless you can script some file conversion thing on Graal (like converting a pixal location format to a .png or .gif format), you arn't going to be able to export any graphics work in Graal. This is why I give only the graphics staff rc on Maloria (Since ganis, scripts and levels can be edited in-game and be controled via in-game editor scripts)
__________________
Do it with a DON!
  #6  
Old 11-10-2006, 04:12 PM
kinetaro kinetaro is offline
Hiding under your bed.
kinetaro's Avatar
Join Date: Jun 2006
Posts: 30
kinetaro is on a distinguished road
Send a message via AIM to kinetaro Send a message via MSN to kinetaro
Yeah thats why I said I dont think its possible, you may be able to create a "drawing" script, but you wouldnt be able to export it, and the quality would be absolutely horrible. This script would also lag graal quite a bit.
  #7  
Old 11-11-2006, 12:31 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by kinetaro View Post
I realise I shouldnt double post but I wanted to split this message up from the other one.

For those who remember my *** Bar on era the script I made for displaying images from websites was this.
PHP TAGS PLEASE KTHX
  #8  
Old 11-20-2006, 11:12 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
Quote:
Originally Posted by kinetaro View Post
Yeah thats why I said I dont think its possible, you may be able to create a "drawing" script, but you wouldnt be able to export it, and the quality would be absolutely horrible. This script would also lag graal quite a bit.
That is an understatement
__________________
Do it with a DON!
  #9  
Old 11-20-2006, 10:20 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I am not sure what you want to do, but there are following things implemented:

- drawing panels can be saved (next Graal release)
- you can only draw images into drawing panels, so no lines or similar
- files can be uploaded to the server via graal script (you need RC folder rights though)
- files can be downloaded from websites
  #10  
Old 11-21-2006, 12:24 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
Quote:
Originally Posted by Stefan View Post
- drawing panels can be saved (next Graal release)
SWEET! That just made my day.

Quote:
Originally Posted by Stefan View Post
- you can only draw images into drawing panels, so no lines or similar
You could essentially just draw pixals of an image which could sorta do "lines" and such. Would be horribly ugly though

Quote:
Originally Posted by Stefan View Post
- files can be uploaded to the server via graal script (you need RC folder rights though)
Or you could make it in the next version that savelines()/loadlines() works with gifs and pngs
__________________
Do it with a DON!
  #11  
Old 11-21-2006, 06:55 PM
Chompy Chompy is offline
\(_o)/
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by zokemon View Post
Or you could make it in the next version that savelines()/loadlines() works with gifs and pngs
That would be weird, because:

Name:  temp.png
Views: 80
Size:  3.6 KB

That's a little image, if you opened with notepad:

HTML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$G 8潬B&X#et"3c2KAćtuuА6]w;B`+RNQ=c<#=59-jTֺ8>RNQ=c<#=UЊ9-jTֺ8"km܆n`
a%*%YYYEZZ*"km܆>*k+Q,ɪ,,
SzR*6
@A 8Aԗ	@AA]r~@ 	H@ Ҁ
@  "#J"&z")"#:#5j#8#;#>+h(=wBU]fBgFmGsdG|SA"KĉD*rEH5g#ED<GH !$ Hd8(BE-/{v0FH#{ďBr&loNɹo%|ٳgO +`l9 *H5&;p1b]o%|e;'L0b`l4|Am;8޽%)F&ea]1Җ!Bm;#dL52H6,Y
3u<yC,t@%pAPA#a윩v'!X3 4oQG{5? 4v"$>	QT˻x#:SF}(
عC1/f$DRUXE>OEA4>B4CP ~b0)R
⥐\D?!PI)D>T,A f"`)^6ݧP,Ɂ2IUmqagPc2IUmqz.xhBu'RDyGupppizEgPcA+6Xv|4ߤ˒+?YpDr+*;D,:ؿD7
ŕ_r%a;%u@.p
s;łk!WpɌÛx`zHH528B.Cy?e D8jv|ZBxEl(0[
dny}n7,B+ZCfdW
~oXV #BLP?J
Њ`ĪF&PhJ'o
x0 2*!؊221iE`|pR
heBsA(*Cz\1"G'@_&
v3iE5x+3˄QP]VğK`ܤvx!?DgEd
Mgm/DgEd
Mgm/DY%ppؖ76Xs~EqEG0B3Ҋ'ʣ|WjYZZyT 8X1K+"\+M6`36*l    IENDB`
The only line there which are obvious must be:

PHP Code:
PNG 
__________________
  #12  
Old 11-23-2006, 04:25 AM
ryu_no_bishie ryu_no_bishie is offline
I know japanese l33t
ryu_no_bishie's Avatar
Join Date: Aug 2006
Posts: 256
ryu_no_bishie is an unknown quantity at this point
why cant you just tell a file what color to make each little pixel, i cant fathom why this would be so hard :/

this drawing panel you pention seems like the deal though, not sure untill i can interact with it though
__________________
Rockman Akane FTW
 


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 02:44 AM.


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