Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-27-2003, 11:05 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
script commands...

a "drawundernpc" and "drawovernpc" command would be helpful, since there already is a "drawoverplayer" and "drawunderplayer" command, then im sure drawundernpc and drawovernpc should be too hard to add.


Edit: any opinions?

Last edited by Gambet; 11-27-2003 at 11:21 AM..
Reply With Quote
  #2  
Old 11-27-2003, 12:10 PM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
changeimgvis can be used to do that

if you make an npc 1, and another 2 then #2 will show over #1
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #3  
Old 11-27-2003, 05:35 PM
Toxin Toxin is offline
Still sane
Toxin's Avatar
Join Date: Nov 2003
Location: USA
Posts: 57
Toxin is on a distinguished road
Send a message via AIM to Toxin
To put in greater detail of what Houdini said:
changeimgvis #imgnumber,#1-3;
ex:
NPC Code:

showimg 200,blahblahgui.png,screenwidth-imgwidth(blahblahgui.png),screenheight-imgheight(blahblahgui.png);
changeimgvis 200,3;


- 0 = under everything, except other images that have this set(will act like 1 to them)
- 1 = just like an npc, the ones behind the image will show up under, and in front, will be over...
- 2 = over, and for other images set like this, well, you can figure it out
- 3 + = Stick on screen, uses pixels for x,y, not tiles

For use of 3, or higher, make sure the image number is above... 100 (I believe), so others dont see your images aswell... that can get messy.
__________________

Staff Position: Unemployed
Quote: "Flamers, Lamers, and Newbs! Oh my!" - Toxin
Reply With Quote
  #4  
Old 11-27-2003, 05:46 PM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
Actually, 3 is the equivilant of drawaslight;
4 and up sticks it on the screen.
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #5  
Old 11-27-2003, 06:20 PM
Toxin Toxin is offline
Still sane
Toxin's Avatar
Join Date: Nov 2003
Location: USA
Posts: 57
Toxin is on a distinguished road
Send a message via AIM to Toxin
Yeah, wasn't 100% sure on it, I havent had to use them in a while, ty for clearing that little bit up
__________________

Staff Position: Unemployed
Quote: "Flamers, Lamers, and Newbs! Oh my!" - Toxin
Reply With Quote
  #6  
Old 11-27-2003, 11:12 PM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
I always use an index over 250 for on screen things, im not sure about the actual limit though.
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #7  
Old 11-28-2003, 12:57 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
200 is the magical index number.
Reply With Quote
  #8  
Old 11-28-2003, 01:01 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Quote:
Originally posted by Lance
200 is the magical index number.
There ya go.
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #9  
Old 11-28-2003, 01:23 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
I never tried negative values, have anybody?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #10  
Old 11-28-2003, 05:44 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
he's talking about the npc itself, not showimgs x.x

the only problem I can think of with draw(over/under)npc would be if two NPCs both used the same command.. then they'd either fight over it, or the indexes would come into play o.o
__________________

Reply With Quote
  #11  
Old 11-28-2003, 11:41 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
o.o or maby he was refering to the drawing height of theplayer ...

wich I don't see the use of, unless you wanted some equivalent to raising the z without the psudo y coming into effect... blah blah blah...

though that still doesn't sound too usefull.
__________________
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 08:23 AM.


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