Author |
Ship builder... |
Drafell Grand Admiral Mythica
Joined: May 30, 2003 Posts: 2449 From: United Kingdom
| Posted: 2005-03-28 08:28  
More info for those interested:-
I am planning on being able to output your ship layout to a text file. Once beta is near finalisedI will be able to implement energy drain/ship speed ratings dependent on item level etc (far future) It would make Ship Builder a useful analysis tool for both development and just for messing about with.
The more immediate future is having the selected devices shown in thier relevant arcs. The Full arc (fore,Left,Right,Aft) would be the ship center, Fore would be the top of the image, Aft = bottom of image. Other combinations would be represented by by a kind of block braket image that wraps on those arcs ie a graphic similar to [ would represent fore, left, aft and an L shape would represent left, aft. So that weird image you will see on the ship builder is the server generated image that will display the selected devices hopefully in the correct arc in an easy to read format.
_________________ It's gone now, no longer here...Yet still I see, and still I fear.rnrn
rnrn
DarkSpace Developer - Retired
|
Drafell Grand Admiral Mythica
Joined: May 30, 2003 Posts: 2449 From: United Kingdom
| Posted: 2005-03-28 15:12  
Shipbuilder now generates an arc graphic on the fly for each slot. This is shown in the GFX column of the table. Had to create a fake POST string which is ammended to the arcimage.php file call. The POST data is then processed by the arcimage.php file and sent back through the function call to the client to display.
Took me a while to work out how to do it, but it works and I am pretty happy with it.
_________________ It's gone now, no longer here...Yet still I see, and still I fear.rnrn
rnrn
DarkSpace Developer - Retired
|
BackSlash Marshal Galactic Navy
Joined: March 23, 2003 Posts: 11183 From: Bristol, England
| Posted: 2005-03-28 15:41  
Looks great m8
_________________
|
Creeping Shadow Grand Admiral
Joined: January 22, 2003 Posts: 261
| Posted: 2005-03-29 01:05  
*BUMP*
_________________
|
Lord DowneyBUM (UK) Fleet Admiral
Joined: January 13, 2003 Posts: 437 From: London England
| Posted: 2005-03-29 01:57  
Can i have a translator, for all this foreign language stuff.
_________________ ,
|
Drafell Grand Admiral Mythica
Joined: May 30, 2003 Posts: 2449 From: United Kingdom
| Posted: 2005-03-30 10:35  
Updates:-
I am now working on how to send the slot data to the shipimage.php file for processing. I need to create an array that will dynamically create string names and populate them from the $_GET function
Version information
V.0.5b - Shipname is now sent to shipimage.php and prints over image
V.0.5a - Implemented version information. Create Ship Layout now sends the $SelectShip data back to the php header in addition to the slot selection data.
I have also tagged the slot arc data to the gadget selection which means this can easily be passed on to the shipimage.php file for processing.
_________________ It's gone now, no longer here...Yet still I see, and still I fear.rnrn
rnrn
DarkSpace Developer - Retired
|
Hellza - master Cadet
Joined: February 24, 2004 Posts: 556
| Posted: 2005-03-31 16:51  
ooooooo niiiiiceeee *bump*
_________________
|
Fattierob Vice Admiral
Joined: April 25, 2003 Posts: 4059
| Posted: 2005-03-31 17:24  
if you ever do finish it, you should look into seeing if it canb e the *official unoffical darkspace ship builder helper thingy*
I need better names
_________________
|
Doran Chief Marshal Galactic Navy
Joined: March 29, 2003 Posts: 4032 From: The Gideon Unit
| Posted: 2005-03-31 17:27  
Quote:
|
On 2005-03-31 17:24, Fattierob (x2 Pistolet Makarov) wrote:
I need a smaller sig |
|
fixt
_________________
|