User:Wendy Black/MenuTest
Home | Heroes | Defenders | Talk About It | Miscellaneous |
---|
Sandbox? No way! This is my Laboratory.[edit]
Skill Boxs[edit]
Falconeye asked for my opinion about skill boxes. Ok this would be my rough idea or design. I am still not 100% satisfied but when you meet a woman who is 100% satisfied... she is no woman. LOL
Age Templates[edit]
It has been 19 years 6 months since Guild Wars was released.
I created this simple age template just now. Let me explain in great detail how my template works.
{{#vardefine:indate|{{{1}}}}} This is how the input date is sent to the template the number one represents the first parameter.
{{#vardefine:years|{{#expr: {{LOCALYEAR}} - {{#sub:{{#var:indate}}|0|4}}}}}}
Next we defined how many years passed by subtracting the 4 digit year from the current year given. Example 2015 - 2005 = 10
{{#vardefine:months|{{#expr: {{LOCALMONTH}} - {{#sub:{{#var:indate}}|4|2}}}}}}
{{#vardefine:days|{{#expr: {{LOCALDAY}} - {{#sub:{{#var:indate}}|6|2}}}}}}
The months and days are extracted in much the same way. But what if we are in the month or the day is past? We need to calculate for negative results.
{{#ifexpr: {{#var:days}} < 0 |{{#vardefine:months|{{#expr: {{#var:months}}-1}}}}}}
If the day we give is the 20th and the local day is the 10th, we get -10 days as a result. This means the anniversary has yet to arrive in the month. We redefine months by subtraction of one. The days is unchanged and not printed to the page. At this point, unless you want to tell the script how to calculate all the months dates, it becomes a bigger issue. I suppose some kind of switch statement would work.
{{#ifexpr: {{#var:months}} < 0 |{{#expr: {{#var:years}}-1}}|{{#var:years}}}} years
{{#ifexpr: {{#var:months}} < 0 |{{#expr: 12+{{#var:months}}}}|{{#var:months}}}}}} months
These last two lines actually send the output to the page. If months is less than zero, we roll back 1 year and add 12 to the months value.
Learn more about Magic Words at MediaWiki!
Mapping Distance[edit]
Any virtual world can be measure using these two methods assuming you have a unit to use as a guide.
Method 1:Speed Time vs Distance[edit]
The average Olympic marathon runner averages speed of 12.5 MpH or 20 KpH. I boiled this into seconds and the speeds are 18.33 Feet per second and 5.56 Meters per second. Next I ran 6 of my characters from the front gate of Lion's Arch to the back gate just beyond the merchants.
The red line on the image is the route I ran in town. This line is 120 pixels (dots or picture element) in length. Timing the runs gives me an "average run time" and assuming your characters can keep up with the best marathon runners, the distance is a very close estimation.
Times | Meters | Feet |
---|---|---|
51.07 | 283.95 | 936.11 |
51.61 | 286.95 | 936.11 |
52.63 | 292.62 | 946.01 |
52.74 | 293.23 | 964.71 |
53.73 | 298.74 | 984.87 |
54.70 | 304.13 | 1002.65 |
Now I noticed the taller characters have the lowest times and the shortest the longest. No speed booster was applied. I came up with an estimated average distance 293 meters or 967 feet is 120 pixels on this map. If this is true, 655 pixels is one mile on the same map.
Method 2:Visuals vs Distance[edit]
Now if we assume the inhabitants of planet Tyria are Earth sized humans... who knows, they could be microscopic to us?
The average female height in the world (according to 2015 statistics) is 5.5 feet tall. My Red Death Witch is about 6 feet tall
because she is above average.
- First I took Red Death Witch, who is a tall female out to the Grand Court of Sebelkeh. Here there are tiles on the
- ground that run the full length of the area. From the north end to the south end there are 100 rows!!
- To estimate the size of a tile I use my female and decided since she is taller than average 6 feet (300 pixels).
- The math makes the tiles 8 feet (400 pixels) and the Grand Court is 800 feet long.
- Next using "zoomed in map" I measured the pixels to be 90 top to bottom.
- This gave me a scale of 1 mile (5280 feet) = 594 pixels on my zoomed in map.
- This estimate is not far off from my timed estimate of 655 pixels.
- Zooming out, I was able to estimate that 1 mile on the "zoomed out map" is 112 pixels. And was able to create a 5 mile scale.
Remember it is all estimation based on the idea people in Tyria are normal. But how normal can a Tyrian really be since they run
everywhere without exhaustion, wield magic, and return from the dead? Also your screen resolution will play a BIG part, if you
decide to try this yourself. My screen is 1366x768, but it shouldn't change the results much. The only real variable is your
character's height. Maybe we should come up with some new Tyrian measurement system?