ZoneRect + UIBuilder Map Location Calculator
3 Attachment(s)
This is a tool that will calculate the zonerect for any zone if you know the required information that was posted by Bobble HERE
I wrote it in visual basic .net so you will need the .net framework to use it if you do not already have it. you can get the .net framework from windows update or from http://www.microsoft.com/downloads/d...displaylang=en by clicking the download button in the upper right corner. This is a BETA Version so please post any bugs, suggestions, or questions here. To my knowledge it works perfectly however you can never be too sure. this program should save a tremendous amount of time for anyone making maps because all you have to do is enter the numbers and click calculate. I was origionally just going to make it do zonerect but i decided to make it calculate the position on the map if you give it the in game locationa and the maps zonerect. that should save ALOT of time instead of having to calculate each one manually. Thankyou Bobble for the origional formula to calculate the zonerect. Also if anyone is interested in the formula i am using to calculate the map location(NOT the zonerect) it is: Code:
(LOC_0x + LOC_x) if anyone is interested in the source code let me know i can post the visual basic .net project files. UPDATED: 1-13-05 pushing enter will now click the calculate button. The calculated data will be automaticly copied into the clipboard for you so all you have to do is paste it where you want (ctrl-v or right click and paste) instead of having to copy it first. |
Haha nice job. I was thinking of something like this to possibly help myself in moving stuff around in the hud in "groups". As I do not know VB, I was thinking something like javascript, heh.
|
You guys are just plain crazy hehe. But I have to admit that I can't *wait* too see some of these maps in action. :)
|
it was ALOT more work then i expected when i first started. It ended up being 221 lines of code that i had to write (not counting comments or the code that is automaticly generated for the positioning and placement of the buttons, boxes, ect) and the second part for the positioning(that i wasn't origionally planning on doing) i had to make a formula for, i didn't have a formula someone already made :D
|
the negative/positive signs for the zone rect may or may not be working properly, when i get home i will post the source code for the part that does the calculation and maybe someone can spot where i screwed up. However the numbers are still correct.
|
the icon calcuation seems to be working fine :)
|
update planned for friday to make it put the "answer" it calculates into the clipboard as well as set the calculate button to be pressed when you hit enter.
|
well my friend forgot to give me back my notes for my calc assignment so i had some spare time since i couldn't do it and i updated it, for details see the part of the first post which says UPDATED
|
Thats great, thanks so much taco.
|
on the first try, I broke it:
Quote:
I was in location calculator, x=12,y=123,width=1,height=11,zonerect is 1,1,1,1 (thats prob what caused it) |
yea one day i will get around to adding an error handler for it, but you are right, i doubt it likes 1,1,1,1
|
tacoman, could you make it so pushing TAB highlights everything in the next field? that way i can tab over and start typing, rather than TAB Backspace, backspace, backspace, backspace hehe
thanks bro, you did an awesome job with this. furthermore:) would be nice to have the "in game /loc coordinates" text fields be one field, that accepts several formats of /locs ie 1,1,1 1, 1, 1 1,1 1, 1 ________ Volcano solid valve |
i try and get to it this weekend since i am so busy right now studying for finals i have on wednesday thursday and friday, and i need to replace the ignition in my car this weekend, as well, since being able to start my car would be nice :mad:
|
rl comes first :)
|
yes it does, it just seems to be coming first way too often...last time i got a chance to play eq was about 3 weeks ago
|
ick, you should quit real life like I did.
|
haha, i wish i could, but i still haven't even made it out of high school. On the bright side this is my last year and then i get to go to college!
|
All times are GMT -5. The time now is 02:39 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI