Author |
Message |
L.C. Server Help Squatter
Age:33 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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/ |
|
Back to top |
|
|
Goldeye Novice
Gender: Joined: Dec 15 2003 Posts: 57 Offline
|
Posted: 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 |
|
Back to top |
|
|
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Mon Jan 17, 2011 10:04 am Post subject: |
|
|
|
|
Yeah, real pros make their own bomblines using their ship's momentum _________________ (Insert a bunch of dead links here) |
|
Back to top |
|
|
L.C. Server Help Squatter
Age:33 Gender: Joined: Jan 03 2003 Posts: 574 Location: Missouri, US Offline
|
Posted: 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
...
|
|
Back to top |
|
|
|