pouët.net

Go to bottom

Capture the Prize by CustardForBrains

CTP - Capture the Prize by CustardForBrains.

An Assmebly2002 GameDev Entry.  Written in java.

A simple Capture the Flag like scenario.  


======================================Document Contents================================
	DISCLAIMER...............................................................[1]
	CREDITS..................................................................[2]
	GREETS...................................................................[3]
      SYSTEM REQUIREMENTS......................................................[4]
	QUICK START GUIDE........................................................[5]
=======================================================================================


=[1]====================================================================================
DISCLAIMER:  

  This production is not a commercial product.  It cannot form part of any 
  commercial product except those produced by the Assembly organisers (assembly.org).
  The industrial manufacturing of this product on any data storage media and their 
  distribution without the expressed permission of the author, is strictly prohibited.

  You are allowed to copy the production without modification for non-commercial use.
  No payment of any kind may be charged for this product or any combination of products 
  or services including this product without the expressed permission of the author.
	
  You take full responsibility for the operation of this software and any consequences 
  thereof. The author makes no warranty of any kind, either express or implied,including 
  but not limited to implied warranties of merchantability and fitness for a particular 
  purpose, with respect to this software and accompanying documentation.

  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS 
  SOFTWARE, INCLUDING BUT NOT LIMITED TO, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS 
  INTERRUPTION, LOSS OF BUSINESS INFORMATION, INCIDENTAL OR CONSEQUENTIAL DAMAGES, OR
  OTHER FINANCIAL LOSS ARISING OUT OF THE USE OF OR INABILITY TO USE THIS PROGRAM , EVEN 
  IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


=[2]====================================================================================
CREDITS

Group: CustardForBrains.

All code written by Kevin O'Dwyer (kevin_odwyer@hushmail.com).

As Mark Twain said:
"The man who sets out to carry a cat by its tail learns something that will always be useful 
and which never will grow dim or doubtful." 

Well it started with the need to rewrite my old demo c/c++ code libarary to java.
It then lead to extending the library to fill in some gaps.
Well naturally i then needed a project to test my object model.
And thus my quest to write a networked game started.

Game code totals about 5000 lines shared between 40 objects.  My supporting library does the rest. 
At some point i will implement the server as a web service when vendor implementations get a bit 
more mature and then the client as an applet.

Naturally i would look closely at job opportunities in the game industry if they 
should present themselves.

The media used came from a variety of sources and are duely credited below.

The sky bitamp
Found amongst the collection of sky textures available on the free texture site grsites.com
  
The landscape.
Found at : x2ftp.oulu.fi /pub/msdos/programming/wgt/wgten1.zip
which was written and placed into the public domain by Chris Egerter.

F15 model object
Found in a number of x2ftp contributions including:
3DDEMO by Kerrigan Burgess
and RTMX by Davide Pasca
and is assumed to be in the public domain.

Weapon Icons
Found amongst the sample icons included with PSP7.0 by JASC Inc.

=[3]====================================================================================
GREETS

I've been a slient member of the demoscene since the days of the c64.  
So if you contributed to the scene consider yourself greeted.

=[4]====================================================================================
SYSTEM REQUIREMENTS

Hardware:
At least 400 mhz Pentium II (That's all i own) or equivalent.  
A faster machine is welcome.  The game will run at the speed of the slowest player.

Software:
Java Runtime 1.4 
O/S In theory should not matter.  But i took some liberties with character encoding so
this is yet to be tested.

The game always runs at a screen resolution of 640 by 480.

=[5]====================================================================================
QUICK START GUIDE

Server
edit server.ini
set the number of players - between 1 and 8
set the port you wish to let the server listen on
run CTPServer.bat

Note: It is advisible that the server runs on its own dedicated machine.
  
With the server and 2 clients running on the same machine i noticed during profiling
that roughly 50% of time was spent waiting for network traffic!!  If your wondering, yes it does
use stream sockets.  A connectionless version however didn't fair much better either.  

Client
edit player.ini
set the address and port number to match the server.
Set the player name
The team must be set to either Red or Blue.
You can set the client to run in fullscreen mode.
* Fullscreen caused some stability problems during testing.  Running 2 java virtual machines on the one PC
while initialising fullscreen lead to a segmentation fault in a dll (Win98).  Very odd indeed.
 
run CTPPlayer.bat

Controls

Mouse aims the craft
Up/Down keys accelerate/decelerate craft
left/right keys roll the craft 
<> keys choose weapon

Rules

If you are a member of Red team - steal Blue team's prize.
If you are a member of Blue team - steal Red team's prize.
If you are a member of Red team - stop Blue team stealing your prize.
If you are a member of Blue team - stop Red team stealing your prize.

This is where strategy may help.

What is this prize thing?

It is the purple sphere located at the top and bottom of the map.  You own the one closest
to where you spawn.  You steal the prize by moving you craft close to it.  You are then 
required to take the prize to the furthest point of your own territory to claim it as your 
own.


Weapons:
Ok not alot of choice here unfortunately.
The orange weapon is a simple missile.  It is fast but is not guided. 
The blue weapon is a guided missile .  It is however slower then a simple missile.
Self destruct - Self explanatory.  Does damage to any craft in its vicinity.

Note: Craft to craft collisions are not detected.

Items:
White cubes - Energy.  Weapon firing depletes craft energy reserves.  The choice of 
weapon dictates how much energy is used with each firing.
Green cubes - Shield energy.  Craft damage is avoided if shields obsorb a hit.

...so many things left unrealised.
==EOF====================================================================================
Go to top