CRT Combat Model (long)

Hans Ronne hronne@pp.sbbs.se
Tue Mar 12 09:52:00 GMT 2002


>Hans,
>How hard is it to define another combat model?

It depends on your ambition level. If I understood Bill correctly, he wants
to use something similar to model 0, but preferably with absolute attack
and defend values (like in model 1) rather than a relative hit-chance
table. I believe the necessary coding could be done in less than 20
minutes. All it would take is some minor hacks to maybe_hit_unit. I'm not
even sure one would need to define a new model for this. Perhaps we could
fix model 0 so that the code uses attack and defend tables if available, or
else the hit-chance table.

I will take a look at this since I have long wanted to be able to use
attack and defend tables myself in variants based on existing model 0
games. The hit-chance table is a major pain when you write model 0 games.
It is very difficult to balance, and you must rebalance it every time you
add a new unit type. Attack and defend tables would be much more convenient.

On the other hand, if you want to rewrite combat.c so that it exactly
emulates an existing game we are talking about a major project. In that
case, one would probably have to add new ai code as well, since the ai
makes certain assumptions about how combat works.

Hans

Hans Ronne

hronne@pp.sbbs.se




More information about the Xconq7 mailing list