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 01-21-2002, 10:45 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
addspritedef

Don't know if this has been suggested before, or if it is avaliable in NPC Server, but...

A command like addtiledef, except adding over sprites.png instead of pics1.png.

It would be useful if a sign's image was changed, or a bushes, or if someone wanted to replace the arrow graphic with their own.

Maybe the code would be like:

addspritedef spritesimage,levelstart,x,y;
Reply With Quote
  #2  
Old 01-21-2002, 10:47 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: addspritedef

Quote:
Originally posted by Thak2
Don't know if this has been suggested before, or if it is avaliable in NPC Server, but...

A command like addtiledef, except adding over sprites.png instead of pics1.png.

It would be useful if a sign's image was changed, or a bushes, or if someone wanted to replace the arrow graphic with their own.

Maybe the code would be like:

addspritedef spritesimage,levelstart,x,y;
That's a really good idea, they could also add
addstatedef (for people who want a new state but dont want to script it)
Reply With Quote
  #3  
Old 01-22-2002, 05:20 AM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
Or better:


addimgdef image,targetimage,levelstart,x,y;


Image is the image you are applying, targetimage is the image you are applying it to (can be pics1, state, or anything else), and the rest is just like tiledef.
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #4  
Old 01-22-2002, 08:06 AM
ArchOwl ArchOwl is offline
KHERRUPTED SHROOM
ArchOwl's Avatar
Join Date: Aug 2001
Location: SOMEWHERE, DAMNIT
Posts: 2,464
ArchOwl is on a distinguished road
Send a message via AIM to ArchOwl Send a message via Yahoo to ArchOwl
Quote:
Originally posted by jeff335
Or better:


addimgdef image,targetimage,levelstart,x,y;


Image is the image you are applying, targetimage is the image you are applying it to (can be pics1, state, or anything else), and the rest is just like tiledef.
I NEED THAT BADLY I NEED THAT BADLY I NEED THAT BADLY I NEED THAT BADLY STEFAN PLEASE IMPREMENT IT INTO THE NEW VERSION AHHHHHHHHHHH
__________________

DDR Videos.
More DDR Videos.
Reply With Quote
  #5  
Old 01-22-2002, 09:10 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Um, it should be setstate and setsprite and the appropriate file for each.

Doing levelstartname etc is pointless and would be very tedious. You could also add an line in serveroptions.txt that specifies custom state and sprites.
__________________
Reply With Quote
  #6  
Old 01-23-2002, 05:59 AM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
In imgdefs you'd just leave the start blank for everywhere, like tiledefs. It'd allow interchangeable parts if the scripter did it right (Easy!).
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #7  
Old 01-23-2002, 01:15 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
if your playerworld is using custom tilesets, then having a startlevelname varible is kinda pointless. The whole point of being able to define custom sprites and states is so that it matches your tileset and server atmosphere.

What would be the point of selectively defining sprites.png? As I said before, state.png should be defined in serveroptions.txt or run from an NPC once. It could save it to the tiledefs for that PW so that their is less waste

Ideal commands:
setstate newstateimg;
setsprites newspritesimg;

Those would be all that is needed. That way they are simple and work like setletters I haven't seen many servers use setletters other than mine
__________________
Reply With Quote
  #8  
Old 01-23-2002, 07:13 PM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Quote:
Originally posted by G_yoshi
if your playerworld is using custom tilesets, then having a startlevelname varible is kinda pointless. The whole point of being able to define custom sprites and states is so that it matches your tileset and server atmosphere.
The startlevelname variable would be useful for such playerworlds that would like a certain sign in their snow town, and a different one in their other town, it would be very useful if different areas that all have different looks.

But, everything else you suggested I agree with.
Reply With Quote
  #9  
Old 01-23-2002, 08:54 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Thak2


The startlevelname variable would be useful for such playerworlds that would like a certain sign in their snow town, and a different one in their other town, it would be very useful if different areas that all have different looks.

But, everything else you suggested I agree with.
If all they want is one image...then just make one image....no sense in wasting all that space for just one measly image.

Or making one png file that has several different signs and then do setimgpart img,width,height,x,y; and you'd be fine. Creating a custom sprites file just for a custom sign in only 1 or 2 towns is absolute waste
__________________
Reply With Quote
  #10  
Old 01-24-2002, 07:20 PM
Mrmicro Mrmicro is offline
Registered User
Join Date: Mar 2001
Posts: 128
Mrmicro is on a distinguished road
Send a message via AIM to Mrmicro
just like

set letters is already there. Those were be a good addition
__________________
Reply With Quote
  #11  
Old 01-25-2002, 09:28 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Set letters is very useful. I use it alot because I am constantly making my own Gfx for Signs and such.
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:55 AM.


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