Politician Archive

Thread: Web based graphical city planner/mapper tool

LeBob
Thu Feb 05, 2004 7:10 pm
#118

very nice!



SWGEntertainer.com
Emperor Palpatine (from "Star Wars Episode III: Revenge of the Sith"):
"Every single Jedi is now an enemy of the Republic. Do what must be done. Do not hesitate. Show no mercy."
-I support ATK people and playstyles.
Account cancelled as of June 23, 2005

Snikrop
Fri Feb 06, 2004 11:24 am
#119

Could you add a strangely color'd block to represent unusable terrain? I'm trying to use the tool to map a large city in hilly dantooine.



" When you go to sleep, if you in fact sleep, does it take two star wars fans' blood to calm your nerves or are you higher than that now?

justG - When I am trying to go to sleep, and I am tossing and turning at night, the things that keep me up at night are combat, and jedi, and spaceflight, and things like that. Let me tell you this, we absolutely LOVE our jobs. And we LOVE this game. We are dedicated to doing whatever we can to enhance your play experience. And it usually only takes one fan's blood to drift off...
" JustG
Tiaga
Sat Feb 07, 2004 12:44 am
#120

Might want to take a look at the tutorial at the end of the help page. It covers an easy way to take care of that. Unfortunately it can't be imported in. I want to make it so you can put in your own background image, such as terrain, but I don't think most browsers would allow a local graphic loaded by a web page.



Inside my heart is breaking, my make-up may be flaking
But my smile still stays on
My soul is painted like the wings of butterflies
Fairytales of yesterday will grow but never die
I can fly - my friends
SWG Entertainer.com Fashions by TK

Penstar
Sat Feb 07, 2004 5:46 am
#121

Is there a way to incorporate a terrain map into this lovely tool? Our city on Rori has plateaus that prevent building in many locations.


Thanks very much fo an excellent tool.




Sabine/ Flurry
Nalemume /Kettemoor

"I'm a dancer, not a fighter!"
vonbloodworth
Sat Feb 07, 2004 10:43 am
#122

just t thought....ive tryed using bookmarks with your thing here....so later as thigs change i can just goback and edit.....its never worked for me thoe...it always loads the tool with no buildings....but i havent tryed sence your last update it seems.ill try it and get back to you....also the wp thing didnt work eather =( i put in the #'s but nothing happend....maby if you added a buttion that said "show wp's" or some other ...this funcition is on buttion for that.



but!


it would be realy nice if when you go back you have the one to edit.....and then (using thoes strings) another "page" that you could basicly link to....maby using some striped down "mirror" of the tool...no web space needed sence its generated eatch time somone come to the site (with strings) but you cant edit it.


so you get one for the mayor....and one for the citizins...and boath are able to be updated constantily....maby? lol







Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
vonbloodworth
Sun Feb 08, 2004 12:59 pm
#123

hello?





Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
Tiaga
Sun Feb 08, 2004 6:11 pm
#124

Sorry I don't always check into this forum.

What browser are you using that you are having problems with?

As to your suggestion... I was about to come back and say how it wouldn't be a good idea since there are such high system requirements for browsers to work..... I got halfway through typing that up when I realized that such a page would be very simple and something most browsers should be able to handle. So I quickly threw together such a page. It still requires a javascript capable browser, but it is very simple and should work with older browsers, and in general a much wider veriety of browsers.

I would be interested to hear if the viewer works in your web browser. You can test it quickly by checking this which should be a little map with a checkerboard pattern of small gardens.



Inside my heart is breaking, my make-up may be flaking
But my smile still stays on
My soul is painted like the wings of butterflies
Fairytales of yesterday will grow but never die
I can fly - my friends
SWG Entertainer.com Fashions by TK

vonbloodworth
Mon Feb 09, 2004 4:15 pm
#125

gald i could sugest it......and i think alot of people would use it...i know i need it NOW lol....


i tested it....the background was there.....but no "icons" im using IE 6...java enabled on a t1 fat pipe (i work for an isp)


so keep tweeking....


also....the WP thing works for me now...dont know if you did anything or not....


i dont know if you could posably do this....but if you get the page im talking about to work and intergrate it into the the tool....maby you could also make the cords stick too...so that way when a citizin looks at the "non-editable-mayor end page" that as they hover the wp (basied on the info place in byt the original mayor) would disply as a popup on the curser....


lol


need more ideas...let me know....


but yeah should be great....the tool and the output url that mayors can link to (witch genrates the non-editable page using the string)and the wps of all the housing.....now thats a tool.







Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
Tiaga
Mon Feb 09, 2004 7:30 pm
#126




vonbloodworth wrote:

gald i could sugest it......and i think alot of people would use it...i know i need it NOW lol....


i tested it....the background was there.....but no "icons" im using IE 6...java enabled on a t1 fat pipe (i work for an isp)


so keep tweeking....


also....the WP thing works for me now...dont know if you did anything or not....







That's a bit of a headscratcher. I use IE 6 as one of my test platforms. Specifically, 6.0.2800.1106 on win2k. I'm not really sure what could be different to cause it not to work. If you want, give this a try... Follow the link in my last post to the viewer. Make sure the URL has more after the view.html. It should be somewhat longish. Then enter this into the address bar (replacing the URL).


javascript:alert(window.location.href);alert(window.mapdata)


When you hit enter, it should pop up a series of alert windows. The first one should be the same as the URL, and the second should be the longish part at the end of the URL. Let me know what you get.








i dont know if you could posably do this....but if you get the page im talking about to work and intergrate it into the the tool....maby you could also make the cords stick too...so that way when a citizin looks at the "non-editable-mayor end page" that as they hover the wp (basied on the info place in byt the original mayor) would disply as a popup on the curser....


lol


need more ideas...let me know....


but yeah should be great....the tool and the output url that mayors can link to (witch genrates the non-editable page using the string)and the wps of all the housing.....now thats a tool.







Already integrated in, and it also already saves the coords. There is now an option to bookmark or link instead of just bookmark. I have the code in place to take the coordinates and display them, but I didn't activate it yet because I was just putting the viewer together quickly (was about 15 minutes) and I wasn't entirely sure how to display them. Since it's not in a frame like the normal display, I can't just put it in another frame. I was thinking maybe have it in a tooltip sort of thing. Or just a set of floating numbers that follow the mouse around.


I've also got a hidden feature in the viewer that I eventually want to incorporate into the regular tool. I want to make it so you can give an alternate background image. For example, this. People that have cross-site images disabled would not see some of the background images though. Just something for the future if I ever figure out how to do it without requiring a degree to use the feature.

Heh, but I guess the example wouldn't work for you anyway, given that the normal display doesn't work.



Inside my heart is breaking, my make-up may be flaking
But my smile still stays on
My soul is painted like the wings of butterflies
Fairytales of yesterday will grow but never die
I can fly - my friends
SWG Entertainer.com Fashions by TK

vonbloodworth
Mon Feb 09, 2004 8:36 pm
#127


That's a bit of a headscratcher. I use IE 6 as one of my test platforms. Specifically, 6.0.2800.1106 on win2k. I'm not really sure what could be different to cause it not to work. If you want, give this a try... Follow the link in my last post to the viewer. Make sure the URL has more after the view.html. It should be somewhat longish. Then enter this into the address bar (replacing the URL).


im going to have a friend check it too......but juat a few thoughts....preloder maby? add or maby interfering? are you shure that thies "images" are being pointed to by the url? (i dont realy know how this stuff works)i got the back ground...and the super long url....but none of the widgits..it was blank...but yes basicly you have my idea on this part....


Already integrated in, and it also already saves the coords. There is now an option to bookmark or link instead of just bookmark. I have the code in place to take the coordinates and display them, but I didn't activate it yet because I was just putting the viewer together quickly (was about 15 minutes) and I wasn't entirely sure how to display them. Since it's not in a frame like the normal display, I can't just put it in another frame. I was thinking maybe have it in a tooltip sort of thing. Or just a set of floating numbers that follow the mouse around.


as far as this goes ...yes tool tip is what i meant...if you need some art work i can also help with that...just need the .extion you need etc...also another point....in the main tool youll need a link to "your display page" or a way to grab the link...as far as mayors updating the page....realy the end product is the url line...so he/she would only need to repost that where ever they posted it...


but I guess the example wouldn't work for you anyway, given that the normal display doesn't work.


get the firsat part to work...and i be more than happy to give some ideas or opinions.


but above all rember that this "end" of the the tool is viewible only....displays the "map" and cords of buildings aprox location.


this is fun...hope im sparking somthing








Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
vonbloodworth
Mon Feb 09, 2004 8:40 pm
#128


Hmm, it seems IE may not like really long URLs created for some larger layouts. I'll have to see if I can optimize the encoding a little, or think about switching to server side storage.


the only reasion that i even sugested this "viewer" part was becouse i noticed that it didnt require a server or for you to realy host anything...i think you should try to keep it that way....(barring hosting the small .png's houses,backgroung etc..)


as far as coding...you got me....maby you could make the tool spit out a link to a link...or sort of a gosted fowarder....did that make sence? lol....but no...as mustch as this tool will more than likeley be used...i think storing all the maps on a server will just give you a head ach in the long run....but thats your call....


looking foward to seeing what comes up





Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
vonbloodworth
Mon Feb 09, 2004 8:56 pm
#129


That's a bit of a headscratcher. I use IE 6 as one of my test platforms. Specifically, 6.0.2800.1106 on win2k. I'm not really sure what could be different to cause it not to work. If you want, give this a try... Follow the link in my last post to the viewer. Make sure the URL has more after the view.html. It should be somewhat longish. Then enter this into the address bar (replacing the URL).


javascript:alert(window.location.href);alert(window.mapdata)



first window....lots o crap and yes stuff after the view......second window...only a ! triangle thing.no text of any kind...






Trucegore vonbloodworth,wonderhome
Mayor/guild master

Pikeman, Polition, Merchant,Master Artisan
***** Im easy to talk to once people get to know me, but holding my personal audiences on a throne of bloody skulls tends to put them off at first. *****
Tiaga
Tue Feb 10, 2004 9:55 pm
#130

Sorry I didn't get back to this sooner. The forum troubles hit around the time I went to reply.

"im going to have a friend check it too......but juat a few thoughts....preloder maby? add or maby interfering? are you shure that thies "images" are being pointed to by the url? (i dont realy know how this stuff works)i got the back ground...and the super long url....but none of the widgits..it was blank...but yes basicly you have my idea on this part...."

The preloader was my first thought. It redirects you to a web page that it creates - in other words it could be interpreted as having no URL. That's why I had you check the viewer. That doesn't have a preloader. I've narrowed it down to being in the code that extracts the parts of the URL. That isn't my code, it is just a stock library I downloaded, so I'll have to read through it to see what it's doing.

"as far as this goes ...yes tool tip is what i meant...if you need some art work i can also help with that...just need the .extion you need etc...also another point....in the main tool youll need a link to "your display page" or a way to grab the link...as far as mayors updating the page....realy the end product is the url line...so he/she would only need to repost that where ever they posted it..."

For the tooltip, I was just thinking of "floating numbers" that followed the mouse around. Something that contrasts with the background, so it is easily readable. It wouldn't work for all browsers, but the normal display would still work.

For getting the URL, what it does right now is opens a new window. That way you can see that it looks right, and copy the URL out of the address bar of that window.

I'll poke around at code. May have a few things for you to try and see if they work on your browser.



Inside my heart is breaking, my make-up may be flaking
But my smile still stays on
My soul is painted like the wings of butterflies
Fairytales of yesterday will grow but never die
I can fly - my friends
SWG Entertainer.com Fashions by TK

Page 10 of 14