Author Topic: Regeneration and laser firing problem. Plz help!!  (Read 2827 times)

0 Members and 1 Guest are viewing this topic.

Offline eliex

  • 210
Regeneration and laser firing problem. Plz help!!
Hi there.
In a very story-critical mission, I thought that it would be a good idea to introduce a healing factor for Alpha 1 only when a friendly destroyer pops up from subspace, as in the first few minutes there is a LOT of intense fighting, and usually at the end, Alpha 1 has only about 51% health to 34% health on average.  :blah:

I need a bit of help with any SEXPs (if possible) that can allow Alpha 1 a constant health regeneration rate, say 5% every 15 seconds.

I'm also got a second question:
I'm trying to make a sentry gun (well actually a cluster of them) fire extremely rapidly. I'm trying to make a plasma-machine gun.
Can anyone instruct me to modify tables or something to increase a Prometheus S fire rate?   :confused:

Thanks in advance  :D

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Regeneration and laser firing problem. Plz help!!
Repairs:

When
-->has-arrived-delay
---->0
----><destroyer>
-->repair-subsystem
---->Alpha 1
---->hull
---->5
Repeating 15 second delay

No idea on the tables
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Regeneration and laser firing problem. Plz help!!
Or you could just have supply ships repair the hull. :) There are features in the Mission Specs Editor which will allow you to set that up and I tend to feel it makes more sense than having the ship suddenly repair itself.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Vidmaster

  • 211
  • Inventor of FS2 bullettime ;-)
Re: Regeneration and laser firing problem. Plz help!!
if you want a constant regeneration (a feature I had but cut out in my DarkChildren campaign), use an periodic every -time event. You find plenty of examples in the Freespace Wiki here at HLP.
I recommend letting it triggered by an event and then repeating until a specific health level is reached again.

Although a SupportShip might be the better way for Freespace2, since it's much more canon.
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!
Could anyone direct me to a link in the Freespace wiki? Or the key word?
I found a "balancing missions page" which mentioned something about constant regeneration by the way.

Thanks so far. :P

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Regeneration and laser firing problem. Plz help!!
Could anyone direct me to a link in the Freespace wiki?
http://www.hard-light.net/wiki/
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!
Thanks, I'll stick with Karajorma's advice.

Can anyone tell me how to adjust the firing rate of weapons?  :confused:
Cheers  :P

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Regeneration and laser firing problem. Plz help!!
You'll have to edit the tables/make a .tbm file to do that.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!

 Got it working finally. Thankyou very much

 
Re: Regeneration and laser firing problem. Plz help!!
You'll have to edit the tables/make a .tbm file to do that.

Or you could go into the .tbl file that has the ship data for the sentry gun, find what weapon is assigned to it, and then edit the corresponding data in the weapons.tbl file.

Or you could create a new weapon in weapons.tbl, set the speed how you want it, then just give it the same graphics and sounds as some other gun (kayser makes a cool sound when rapid firing), and voila.

Edit: I meant the "Or"s as other options the OP could take, just in case I sounded odd.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Regeneration and laser firing problem. Plz help!!
If you're going into the tables, its easiest to just go into the ships.tbl and mount more of the same gun per turret on the sentry
For example:

Code: [Select]
$Default PBanks: ( "Terran Turret" "Terran Turret" "Terran Turret" "Terran Turret" "Terran Turret" "Terran Turret" "Terran Turret" ...etc )

It'd make it fire very rapidly...(though, admittedly, it is better mod design to add a new weapon with a low recharge time, like $Fire Wait: 0.01, than to add a new ship with lots of guns on a single turret )
(´・ω・`)
=============================================================

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Regeneration and laser firing problem. Plz help!!
Or you could go into the .tbl file that has the ship data for the sentry gun, find what weapon is assigned to it, and then edit the corresponding data in the weapons.tbl file.

I didn't say which table you'd have to change. :p

But yes, those are both valid options. Although it would probably be better to use a .tbm in preference to a table. There are significant advantages to that if you are using the media VPs.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!
Sorry for bringing this old thread up, but I don't think I should make a new topic for all my problems.

Does anyone know how to make the text bigger on the Freespace Screen? Everything, the text on briefing, the cursor is unbelievably small.
I had this problem a little while back, but it somehow dissapeared.

thx

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Regeneration and laser firing problem. Plz help!!
Can't be done. The font is fixed.

This is a planned change for the SCP though. But it's not coming particularly soon.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!
OK. I'll just hope for the best that the text will resume its normal size.
Cheers anyway.   :P

 

Offline eliex

  • 210
Re: Regeneration and laser firing problem. Plz help!!
 
 I'll just put this up here if anyone has the same problem and is using Vista.   :)

 Normally the computer will put the screen resolution when playing Freespace as Vista Home Basic, but sometimes it doesn't - that's when the text and cursor and
 whatever becomes real small. So just switch the resolution to VHB, and the size will be normal again.  :nod:

« Last Edit: December 17, 2008, 12:34:56 am by eliex »