Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » just one more thing....
just one more thing.... [message #239111] Sun, 14 January 2007 07:52 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
Seye, i need positioning.

say if i have a map that is 100x100 and a map that is 1000x1000, i would need to find out how to scale the positioning that SSAOW reports EG:

a a player stands 2 10x10 grid squares from the middle of a 100x100 map. what number would this generate?

same with a player stands 2 10x10 grid squares away on a 1000x1000 map.

all i know is the map is devided into 4 quartiles, 2 positve numbers indicate the top right, a
minus and a positive - top right
a minus and a minus - bottom left
a positive and a minius bottom right.

the reason i need to know is because i need to know how to convert what Scripts.dll reports(player position) into pixels on the picture of the map.

this is hard to explain, i hope you know what i mean.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get server up and WOLSpy
Next Topic: Ranks -> WWW in html NOT PHP Brenbot 1.5
Goto Forum:
  


Current Time: Fri Jan 31 05:43:14 MST 2025

Total time taken to generate the page: 0.00694 seconds