Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2003, 04:40 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
translucent polygons

I was playing around with polygons, but when i tried to make it translucent, it didnt work... It changes color, but the alpha doesn't change...

Am I doing something wrong? Was it made not to work? Or is it a bug? (if its a bug, would a mod please move this thread)...

NPC Code:
// NPC made by Shadowless
if (created) {
showpoly i,{
x,y,
x+5,y+5,
x+4,y-7
};
changeimgcolors i,1,0,1,.2;
}

Reply With Quote
  #2  
Old 11-16-2003, 04:52 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Only graal version3+ supports alpha blending polygons.
Reply With Quote
  #3  
Old 11-16-2003, 05:10 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by DustyPorViva
Only graal version3+ supports alpha blending polygons.
Ok, thank you.
Reply With Quote
  #4  
Old 11-16-2003, 07:39 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
likewise for showtext, it can only be transparent in v3, right?
__________________
Reply With Quote
  #5  
Old 11-16-2003, 07:41 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Yup.

Quote:
----------------------------
New features/bug fixes in v3
----------------------------

v3 has several little improvements over the old Graal,
more will be added soon. Here a list of the
new things:

- polygons and texts can be transparent, so
you can use the script commands showpoly and
showtext together with changeimgcolors and
changeimgmode
- onwall2(x,y,width,height) to test a rectangular area
for blocking things
- more efficient speach support, it should work on Linux
too when microphone support is installed
- support for 24bit-pngs and jpegs

Things that are not supported anymore:
- setbackpal
- playersays()
Reply With Quote
  #6  
Old 11-16-2003, 08:18 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
oo better png support, finaly.
__________________
Reply With Quote
  #7  
Old 11-17-2003, 03:24 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally posted by DustyPorViva
Yup.

Well do you have any ides when the benifits of V3 will be avalible for windows users like me?
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #8  
Old 11-17-2003, 04:17 AM
Johnny_5 Johnny_5 is offline
Goon
Join Date: Nov 2002
Location: Spring Hill, Florida
Posts: 172
Johnny_5 is on a distinguished road
Send a message via AIM to Johnny_5
Quote:
Originally posted by ForgottenLegacy


Well do you have any ides when the benifits of V3 will be avalible for windows users like me?
It is in the windows version of 3.0
Reply With Quote
  #9  
Old 11-17-2003, 06:29 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
Actualy, rev1 of it is already out. And you don't need vip anymore. And its not worth you time, just yet. Far to glitchy for my tastes, and the older layout is much easier to use, at this time.
__________________
Reply With Quote
  #10  
Old 11-17-2003, 07:34 AM
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 MrGannondorf
Actualy, rev1 of it is already out. And you don't need vip anymore. And its not worth you time, just yet. Far to glitchy for my tastes, and the older layout is much easier to use, at this time.
the first installment of the 3 series was intended for linux and mac users anyhow, no biggie, 3.1 will have enough to keep us busy for atleast a month :grin:
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #11  
Old 11-18-2003, 03:14 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally posted by Dach


the first installment of the 3 series was intended for linux and mac users anyhow, no biggie, 3.1 will have enough to keep us busy for atleast a month :grin:
I doubt ONLY a month, it would be sad if it did turn about to be only a month. Having such a long time of work to go directly to waste after one month.
__________________
Reply With Quote
  #12  
Old 11-18-2003, 09:03 AM
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 ZeLpH_MyStiK


I doubt ONLY a month, it would be sad if it did turn about to be only a month. Having such a long time of work to go directly to waste after one month.
I meant figuring it all out, for some of us it won't even take that long though
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
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:33 AM.


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