Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: eliex on May 25, 2008, 01:36:33 am

Title: Regeneration and laser firing problem. Plz help!!
Post by: eliex on May 25, 2008, 01:36:33 am
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
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: FUBAR-BDHR on May 25, 2008, 01:51:10 am
Repairs:

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

No idea on the tables
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: karajorma on May 25, 2008, 02:00:49 am
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.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: Vidmaster on May 25, 2008, 04:33:38 am
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.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on May 26, 2008, 12:58:12 am
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
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: Jeff Vader on May 26, 2008, 01:36:15 am
Could anyone direct me to a link in the Freespace wiki?
http://www.hard-light.net/wiki/
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on May 28, 2008, 12:56:07 am
Thanks, I'll stick with Karajorma's advice.

Can anyone tell me how to adjust the firing rate of weapons?  :confused:
Cheers  :P
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: karajorma on May 28, 2008, 01:02:22 am
You'll have to edit the tables/make a .tbm file to do that.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on May 30, 2008, 08:59:59 pm

 Got it working finally. Thankyou very much
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: Draconyite on May 31, 2008, 12:53:08 am
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.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: Droid803 on May 31, 2008, 01:02:28 am
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 )
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: karajorma on May 31, 2008, 02:31:56 am
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.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on June 07, 2008, 05:57:58 pm
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
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: karajorma on June 08, 2008, 02:43:40 am
Can't be done. The font is fixed.

This is a planned change for the SCP though. But it's not coming particularly soon.
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on June 10, 2008, 04:22:55 am
OK. I'll just hope for the best that the text will resume its normal size.
Cheers anyway.   :P
Title: Re: Regeneration and laser firing problem. Plz help!!
Post by: eliex on July 07, 2008, 02:06:40 am
 
 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: