Author Topic: Auto-Repair?  (Read 1715 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
How about a SCP feature like this

In the Ship.tbl file you can specify the following field:

$AutorepairRate:  0.1

and it can mean either the number of HP to rpair each secopnd Or the number of seconds it takes to repair 1 HP (i kinda like the second one better)

you could allso specify the $RepairCeling: 50 that tell the game up to what hull percentage to repair the ship by.

This would be rather cool, as you could make ships with nano-repair systems and even bigger ships could slowly repair themselves.

Of course, you could have a AutoRepair on/off box in FRED under ship properties somewhere.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline redsniper

  • 211
  • Aim for the Top!
Can't this already be done, sort of, with SEXPs? I seem to remember the Nyarlathotep regenerating in Derelict.
"Think about nice things not unhappy things.
The future makes happy, if you make it yourself.
No war; think about happy things."   -WouterSmitssm

Hard Light Productions:
"...this conversation is pointlessly confrontational."

 

Offline FireCrack

  • 210
  • meh...
already exists

$Hull Repair Rate

Underneath

$Hitpoints
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
If you're doing something like TBP, then that becomes too inefficient.  You could be playing a mission with quite a number of ships, each requiring their own sexp to control self-repair, cause some ships might be able to do it better than others.  Table entries would be better, or make it part of the armor.tbl system, but thats still too complex for most people (sorry WMC).  We need a subsystem repair rate, hull repair rate, a possible delay before the repair engages, a yes or no as to whether a subsystem should be able to regenerate from 0%, perhaps a curve figure so the repair rate is dependant on the degree of overall dammage, and it needs to work on any AI class, capships included.

[Edit]
Oops.  Didin't see the posts in the other thread.  I guess this is mostly implimented after-all.
[/Edit]
« Last Edit: July 20, 2005, 10:07:04 pm by 1268 »
The Trivial Psychic Strikes Again!

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
If armor.tbl is too complex, then doing all that would definitely be too complex as well.
-C

 
 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Oh...cool..disn't know that..

Does it have a ceeling (percentage up to which it repairs)?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
-C