Plan for Phil Carlisle
by Phil Carlisle · 11/21/2003 (10:33 am) · 2 comments
Hard week this week. Got a LOT of exam papers to write. Bummer :)
On the upside, Ive gotten most of the ship targetting code done. Right now its all client side, but Ive just had a thought.
Needs to be at least partially server side.
Reasons?
Well, firstly, so the server can disable targetting of certain ships (ships with jammers)
Also, its because the targetting system needs to know about what each player is targetting.
If youve ever played some of these space combat games, one of the features of the targetting system is:
Target the nearest player who has my current target targetted :)
So basically, each player should have a "target" list I must be able to query who has what targetted.
Another good reason is that I can then have functions like:
Target the target of my wingman
Target the guy who has my wingman targetted
Target whoever has the most friendlies targetting them
etc..
In fact.. this all kind of begs for a scriptable system, so that the server can dictate the targetting systems available.
Well, typing this has just given me the direction to head in. So.. erm... thanks :)
Phil.
On the upside, Ive gotten most of the ship targetting code done. Right now its all client side, but Ive just had a thought.
Needs to be at least partially server side.
Reasons?
Well, firstly, so the server can disable targetting of certain ships (ships with jammers)
Also, its because the targetting system needs to know about what each player is targetting.
If youve ever played some of these space combat games, one of the features of the targetting system is:
Target the nearest player who has my current target targetted :)
So basically, each player should have a "target" list I must be able to query who has what targetted.
Another good reason is that I can then have functions like:
Target the target of my wingman
Target the guy who has my wingman targetted
Target whoever has the most friendlies targetting them
etc..
In fact.. this all kind of begs for a scriptable system, so that the server can dictate the targetting systems available.
Well, typing this has just given me the direction to head in. So.. erm... thanks :)
Phil.
About the author
#2
11/21/2003 (11:32 am)
Isn't it great how that works? I'm chronicling my current project in my blog. I've found that if I start describing a problem I'm wrestling with, by the time I finish typing I've worked out a solution. It's a perfect medium for focusing your thoughts. Moreso than a personal journal, I think. Just knowing that others will be reading what you post seems to give that extra boost to your thought process as you want to describe as much as you can as concisely as you can. At least for me :) 
Associate Kyle Carter