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 01-11-2006, 02:51 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Blue Profiles

It's been asked before, but I'm gonna ask it again..
What are the names of the blue GUI profiles?
Reply With Quote
  #2  
Old 01-11-2006, 02:56 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Neeevermind. I was missing the 'Profile' at the end.

GuiBlueWindowProfile
Reply With Quote
  #3  
Old 01-11-2006, 03:20 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
The trickiest one is the TreeView profile, which (as far as I can tell) is GuiBlueServerListProfile.
Reply With Quote
  #4  
Old 01-11-2006, 03:25 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Alright, here's a problem.
I'm trying to script an online level editor.
I can't figure out how to draw the tileset in the scroll control.

Problem #1: How can I read the tileset image?
Problem #2: No controls, except for GuiBitmapCtrl, will show anything for some reason.
Problem #3: GuiBitmapCtrl is gradually stretching the image on the horizontal axis, if I use getimgwidth() and getimgheight() for the dimensions. The beginning of the image isn't stretched, but the end of it is extremely distorted.
Problem #4: If I set the width and height to the tileset's size, it draws fine, but as I scroll over, the x position of the GuiBitmapCtrl slides backwards.

If anyone can help, I'd appreciate it.
If not, it's fine, I'm not in good scripting shape at the moment. I'll probably figure it out eventually.
Reply With Quote
  #5  
Old 01-11-2006, 03:27 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Yen
Alright, here's a problem.
I'm trying to script an online level editor.
I can't figure out how to draw the tileset in the scroll control.

Problem #1: How can I read the tileset image?
Problem #2: No controls, except for GuiBitmapCtrl, will show anything for some reason.
Problem #3: GuiBitmapCtrl is gradually stretching the image on the horizontal axis, if I use getimgwidth() and getimgheight() for the dimensions. The beginning of the image isn't stretched, but the end of it is extremely distorted.
Problem #4: If I set the width and height to the tileset's size, it draws fine, but as I scroll over, the x position of the GuiBitmapCtrl slides backwards.

If anyone can help, I'd appreciate it.
If not, it's fine, I'm not in good scripting shape at the moment. I'll probably figure it out eventually.
Why don't you work from (or reference) the one Stefan released?
Reply With Quote
  #6  
Old 01-11-2006, 04:10 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
I was trying to at first, but I couldn't understand parts of it.
For example, I don't see how he drew the tileset. What he used doesn't work for me, at all.

Also, I'd prefer to script it from scratch, so I'll have more of an idea what needs to be modified. I plan on giving it options like random object layers, NPC making, ect.
Reply With Quote
  #7  
Old 01-11-2006, 04:13 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Aha.. I was trying to draw the tileset in the GUI's creation block, which isn't allowed.
Fixed it now.
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 12:04 AM.


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