Server Help

General Questions - Program request: path tracer

L.C. - Thu Jan 06, 2011 11:05 pm
Post subject: Program request: path tracer
1. Open a LVL file
2. Use a "rectangle tool" to select a desired area
3. Program calculates origin (absolute dead center of rectangled area)
4. From this origin, the program will render 40 yellow lines at 9 degree differences; these lines will bounce no more than 7 times, and go no farther than sqrt(2*(1024^2))
5. You can look around the map; you can also select one of the 40 lines (in which the selected line turns red to make it easier to trace)

Purpose: for mappers to design and players to be able to find strategic shooting points for bombs, guns, and thors.
Bonus points: be able to set how many rotation ticks to render (instead of a fixed 40 ticks / 9-degree increments).
Cookie points: include appropriate behavior when hitting non-solid tiles and wormhole, and toggle for wormhole gravity to affect line path.
Brownie points: be able to set multiple rectangle entities for simultaneous rendering of different locations.
Audrey points: open source the code.

http://forums.ssgn.net/topic/25389-program-request/
Goldeye - Mon Jan 17, 2011 1:36 am
Post subject:
That concept only covers things shots from a stationary ship. A moving ship can fire an object at ANY angle, not just the 40 rotation angles
Samapico - Mon Jan 17, 2011 10:04 am
Post subject:
Yeah, real pros make their own bomblines using their ship's momentum
L.C. - Mon Jan 17, 2011 11:29 pm
Post subject:
Yeah, well maybe you should stop coding in C#/C++ and whatever language you normally code in and instead code in Assembly

...

sa_tongue.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group