![]() |
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; |
Re: addspritedef
Quote:
addstatedef (for people who want a new state but dont want to script it) |
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:
|
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. |
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!).
|
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 :D |
Quote:
But, everything else you suggested I agree with. |
Quote:
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 :( |
just like
set letters is already there. Those were be a good addition |
Set letters is very useful. I use it alot because I am constantly making my own Gfx for Signs and such.
|
| All times are GMT +2. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.