public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Elijah Meeks <elijahmeeks@yahoo.com>
To: xconq7@sources.redhat.com
Subject: Table Request: Accident-Occupant-Effect
Date: Thu, 23 Sep 2004 01:40:00 -0000	[thread overview]
Message-ID: <20040923004610.31863.qmail@web13121.mail.yahoo.com> (raw)

Not really related to GIS, well, maybe a little, it
does kind of involve terrain...

So in the current system, the accident-hit-chance
affects all units in a terrain, except occupants.  It
makes sense when we think of these accidents to be
terrain-related, but I've used the table as a random
monster generator (In Opal) and now I want to use it
to simulate starship crews trying to get their systems
on-line.  Here's how it works:

In battles.g, occupants represent ships' systems.  So
your Enterprise Class unit has Phaser Bank units,
Photon Torpedo Launcher units, Shields units, et
cetera.  It works pretty well.

But now I'm writing a Wrath of Khan scenario, and I'm
trying to represent the Enterprise being caught
off-guard by the Reliant.  I tried to manually set acp
using '(acp 0)' or '(acp -2)' but it looks like this
is only accounted for in saved games (.xcq).  So I
built more units (Surprise) all of them being
'Offline' versions of the various systems.  If hit,
they're immediately knocked out, but of course the
crew's trying to get them on-line as soon as possible,
so I figured if I set:

(table accident-hit-chance 
   (offline-systems-types t* 2500)
)

and

(table accident-damage
   (offline-systems-types t* 9999)
)

and set the wrecked-type to their working equivelent,
then I'd see a 25% chance per turn that the systems
would come on-line.  The player, of course, would be
frantically trying to maneuver out of range, waiting
for his shields to come up or phasers to come on-line
(And, of course, use the Command Prefix Code unit to
do the same to the Reliant).  It sounds like fun.

Only accidents don't affect occupants.  So, if anyone
can think of a better solution to this problem, let me
know, otherwise, if somebody in the know gets the
chance, I think it's worthwhile to see accidents
affect occupants.

Elijah


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

             reply	other threads:[~2004-09-23  0:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  1:40 Elijah Meeks [this message]
2004-09-23  2:26 ` mskala
2004-09-23  5:38   ` Eric McDonald
2004-09-23 15:09   ` Elijah Meeks
2004-09-23 17:59     ` Eric McDonald
2004-09-24  1:51       ` Elijah Meeks
2004-09-23  3:10 ` Eric McDonald
2004-09-23 17:47   ` Elijah Meeks
2004-09-23 18:23     ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040923004610.31863.qmail@web13121.mail.yahoo.com \
    --to=elijahmeeks@yahoo.com \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).