![]() |
|
08-03-2013
|
1 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
In-game Custom Viewer
I was chatting to folk in Zanza, and I told them I think it'd be a nice idea to see an in-game custom viewer where you can view things like shields and swords (and also wear them). I know TaylorRichaards is already a resource, but I'd really like to see an in-game one. TaylorRichaards isn't working for me at the moment, so I'm unable to customize my character properly because I don't know any custom codes! A member suggested that I script a custom viewer, so I did just that. This'll show you exactly what I want to be able to use in-game to customize my character. Not only does it show you uploaded shields and swords, but it also shows you hats, heads and bodies. The thing is, this only took me 30-40 minutes at tops to code, and it works pretty well. Obviously, I don't have access to the iPhone panel system, so I've had to use ****ty black backgrounds and whatever, but I seriously think Classic staff should consider adding something like this. I'm aware that with the amount of customs you guys have uploaded, you'll probably need to add a paging system instead of loading all these images into a single scroll, but that's just a minor adjustment. Be aware that since shields come in various different shapes and sizes, I've only added support to render 1 type of shield properly in the viewer, although it is entirely possible to render them all properly. I just wasn't up for searching through all those shield codes and finding all of the image sizes. I'm also not sure what's up with the missing images; Graal must be having a hard time rendering them all? Haven't got a clue. What're your thoughts on this? The code, for anybody that's interested: Spoiler
|
|
08-03-2013
|
2 |
|
Registered User
Join Date: Mar 2012
Posts: 2,912
|
I didn't know Zanza were still around :0 Considering you've already wrote the code for this, I don't see why it can't be added. |
|
08-03-2013
|
3 |
|
Registered rufp4
Join Date: Jan 2011
Posts: 3,378
|
Looks horrible and chokes with 800 hats. Try 7916 shields and 1700 swords.
|
|
08-03-2013
|
4 |
|
Enguard & Alumni
Join Date: Sep 2011
Posts: 5,773
|
Pretty sure Downsider made some web app that does the equivalent of this, it seemed pretty solid from the 30 seconds that I played with it for.
|
|
08-03-2013
|
5 |
|
The Orator
Join Date: Sep 2011
Location: Yes
Posts: 3,307
|
|
|
08-03-2013
|
6 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
I already stated that I don't have access to the iPhone panel systems so I did what I could. I'm not expecting you to clone the layout of what I've got here; use your imagination and make it look pretty. Have you even read my OP? Add a paging system to separate the load so it won't have to load a giant chunk at any 1 time. If the only reasoning you have is that it 'chokes' loading a large number of images and you don't like the look of it, then that's pretty lame. Use your imagination and come up with a prettier design and do something about the loading method. If you actually want to go ahead and do something with it, re-code it, edit it, whatever, it'll be the first piece of useful content you guys have released for a while. |
|
08-03-2013
|
7 |
|
🍇🍏🍋🍊🍒
Join Date: Mar 2013
Posts: 4,330
|
Y r u so good at coding ;_;?? Knowing how GraalOnline works, doubt it'll be implemented, but I'd love to see it on Smallville with some adjustments to it. It could even act as a dressing menu, so you don't have to remember codes etc. Players who buy/win accessories can access this and equip them. |
|
08-03-2013
|
8 |
|
nothin
Join Date: Jan 2012
Location: York
Posts: 1,483
|
I think it's amazing work, good job emera
|
|
08-03-2013
|
9 |
|
Enguard & Alumni
Join Date: Sep 2011
Posts: 5,773
|
|
|
08-03-2013
|
10 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
08-03-2013
|
11 | |
|
Enrico Matasa
Join Date: Sep 2011
Posts: 448
|
|
|
|
08-03-2013
|
12 | |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
|
08-03-2013
|
13 | |
|
Enrico Matasa
Join Date: Sep 2011
Posts: 448
|
|
|
|
08-03-2013
|
14 | |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
The only reason code shops are as active as they are is because sites like GraalDepot and TaylorRichaards are either not as active as they once were or no longer work. |
|
|
08-03-2013
|
15 |
|
Registered User
Join Date: Nov 2012
Posts: 16
|
Haven't tried testing it because of being on my phone but the code looks like it will cause one of the following; the server to hang for a minute, cause the client to hang, or both. Should probably only load 50-100 heads at a time.
|