Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: jdjtcagle on May 15, 2004, 11:30:47 pm

Title: Help...
Post by: jdjtcagle on May 15, 2004, 11:30:47 pm
I have a problem with getting a Alcyone to fire it's flak.
I have replaced the flak in place of the turret-arm weapons.
When In game it doesn't fire its flak weapons, why??
Title: Help...
Post by: jdjtcagle on May 16, 2004, 10:41:36 am
no one know??
Title: Help...
Post by: Taristin on May 16, 2004, 10:45:22 am
um... could it be that the turret type is wrong? Or that the flags are wrong on the flak?  It could be any number of things from how you described it.
Title: Help...
Post by: SadisticSid on May 16, 2004, 10:46:22 am
Did you do this in FRED or in the TBL?
Title: Help...
Post by: jdjtcagle on May 16, 2004, 10:57:44 am
on the TBL and it's the turrets with the GTVA Rapid Laser's on Inferno
Title: Help...
Post by: SadisticSid on May 16, 2004, 11:39:27 am
You probably spelt the weapon wrong, there's no reason why it shouldn't work. Try changing it back to rapid lasers and then see if it works when you alter the turret's weapon in FRED instead.
Title: Help...
Post by: jdjtcagle on May 16, 2004, 11:41:38 am
Nope Fred would tell me if I spelled it wrong and the GTVA Rapid laser isn't in my tables

Here's the table entry:

$Subsystem: turret01,0.833,1.0
 $Default PBanks: ( "Heavy Flak" "Heavy Flak" )
$Subsystem: turret02,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret03,0.833,1.0
 $Default PBanks: ( "Heavy Flak" "Heavy Flak" )
$Subsystem: turret04,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret05,0.833,1.0
 $Default PBanks: ( "Heavy Flak" "Heavy Flak" )
$Subsystem: turret06,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret07,0.833,1.0
 $Default SBanks: ( "Long Range Flak" )
$Subsystem: turret08,0.833,1.0
 $Default SBanks: ( "Infyrno" )
$Subsystem: turret09,0.833,1.0
 $Default SBanks: ( "Long Range Flak" )
$Subsystem: turret10,0.833,1.0
 $Default SBanks: ( "Infyrno" )
$Subsystem: turret11,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret12,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret13,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret14,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret15,0.833,1.0
 $Default PBanks: ( "SGreen" )
Title: Help...
Post by: jdjtcagle on May 16, 2004, 12:11:40 pm
It's very odd, because the turretts don't even move in game.
Title: Help...
Post by: jdjtcagle on May 16, 2004, 05:06:13 pm
C'mon does anybody have a clue??
It's my last little bug
Title: Help...
Post by: Taristin on May 16, 2004, 05:28:56 pm
No idea, sorry.
Title: Help...
Post by: jdjtcagle on May 16, 2004, 05:38:43 pm
Dang it!!
This freaking thing!!! (kicks the computer)
the alcyone just sits there wit no flak, I hate tables :(
Title: Help...
Post by: Bobboau on May 16, 2004, 05:43:19 pm
run it through a debug build
Title: Help...
Post by: jdjtcagle on May 16, 2004, 05:56:05 pm
Debug Build won't work at all on my system
Title: Help...
Post by: Bobboau on May 16, 2004, 06:07:39 pm
define "won't work at all"
Title: Help...
Post by: jdjtcagle on May 16, 2004, 06:10:15 pm
Whenever I get on it from the laucher it foes to a black screen and then shuts off
Title: Help...
Post by: jdjtcagle on May 16, 2004, 06:23:27 pm
Can Flak fire on something like "turret01-arm
Title: Help...
Post by: Taristin on May 16, 2004, 06:25:23 pm
The arm is just a child of the turret, it doesn't have any pof data...

Besides that, I'm not sure what you're asking.
Title: Help...
Post by: jdjtcagle on May 16, 2004, 06:26:46 pm
you said that I might have the wrong turret type
Title: Help...
Post by: jdjtcagle on May 16, 2004, 06:31:29 pm
Will someone please look at it and tell be what''s wrong
swooh.com/peon/jdjtcagle/ships.tbl
Title: Help...
Post by: pyro-manic on May 17, 2004, 11:17:44 am
Er....
Try just putting one flak on each turret rather than two. No idea if that'll work, but try it. Erm, and make sure that it's actually in weapons.tbl - kinda helps :D. Beyod that, I can't see anything wrong with it...
Title: Help...
Post by: jdjtcagle on May 17, 2004, 12:40:07 pm
nope doesn't work and yes its in the weapons:)
Title: Help...
Post by: karajorma on May 17, 2004, 01:00:35 pm
Where can I get the acyclone from? If I have it I'll take a look.
Title: Help...
Post by: jdjtcagle on May 17, 2004, 01:02:07 pm
Inferno
Title: Help...
Post by: StratComm on May 17, 2004, 03:29:52 pm
Also make sure the turret isn't actually called turret01a, as I've had that break a couple of mods.  Sounds like the weapon is FUBAR'd somehow, but I can't say for sure without looking at both your tables and the model.
Title: Help...
Post by: jdjtcagle on May 17, 2004, 03:32:23 pm
interesting, I'll check...
Title: Help...
Post by: jdjtcagle on May 17, 2004, 03:45:49 pm
do you see a problem??

(http://www.fattonys.com/images/upload/black.jpg)
Title: Help...
Post by: jdjtcagle on May 18, 2004, 05:36:32 pm
any luck Karajorma
Title: Help...
Post by: Flipside on May 18, 2004, 05:41:33 pm
Well, personally, I tend to name the other part of a 2 part part turret with the -base tag on the end, but that shouldn't make the slightest different afaik..

And I'm assuming you have a $Subsystem above all that for turret01 as well ;)

Is it your own model or are you converting another one?
Title: Help...
Post by: jdjtcagle on May 18, 2004, 05:48:05 pm
Where do you put the -base tag?? :confused:

yes, its just cut out from that picture, sorry :D

and it's from Inferno
Which reminds me about something
Title: Help...
Post by: Flipside on May 18, 2004, 05:59:34 pm
All I mean is that I always name them turret01-base and turret01-arm, but considering they worked before, it's a moot point ;)

I've no idea, but it can't hurt to make sure Standard Flak is still in the Inferno weapons table btw :D
Title: Help...
Post by: jdjtcagle on May 18, 2004, 06:03:59 pm
Oh no, this is what I've done - Copied the model in the Fs2 ships table and changed the weapons according to Fs2.

BTW, I just done a small test with the flak by placing it on a different turret and it worked, so it must be the model's turrets not reading right.
Title: Help...
Post by: phreak on May 18, 2004, 06:35:44 pm
you're putting flak in SBanks
Title: Help...
Post by: Flipside on May 18, 2004, 06:43:15 pm
Ahhhhhhhh!! Yes, I don't know the model, but if those turrets are set to Missile banks in PCS, rather than Gun banks, they won't shoot ;)
Title: Help...
Post by: jdjtcagle on May 18, 2004, 06:51:13 pm
Yay!!!... Thank you Flipside and Phreak for helping me, now I can get to work!!!:yes: :yes: :yes: :yes:
Title: Help...
Post by: jdjtcagle on May 18, 2004, 07:00:00 pm
When I upload the model on PCS, under "Turrets" it doesn't show any missle slots??? :confused:
Go, I wish I knew what I was doing:sigh:
Title: Help...
Post by: Flipside on May 18, 2004, 07:14:54 pm
Next to 'Gun Mode' there is a drop down tab that lets you swap between 'Gun Mode' and 'Missile Mode', that should be what you are looking for :)
Title: Help...
Post by: jdjtcagle on May 18, 2004, 07:19:49 pm
I know and all turrets are in gun-mode :confused:
There's not one under missle
Title: Help...
Post by: Flipside on May 18, 2004, 07:48:51 pm
Hmmmmmmmmm... You seem to have found a slight bug in PCS, I'll PM Kazan about it and make him aware :)

Do you have Modelview? You can set the turrets up from there as well :)
Title: Help...
Post by: jdjtcagle on May 18, 2004, 07:52:49 pm
It's the same in the model view, shows no missles, just gunpoints.
I don't understand
Title: Help...
Post by: Flipside on May 18, 2004, 08:05:40 pm
Ok, now that's really wierd! I've just PMd Kazan about this, I might have to ask him to forget it, since I just tried the Fenris and the Deimos in Modelview as well as PCS, both of which have missile turrets, and both of them didn't have any missile points listed, in either program ???
Title: Help...
Post by: jdjtcagle on May 18, 2004, 08:11:57 pm
I remember somebody telling me that it's doesn't matter how you model the turrets its just what info you give it in the tables.  So what does Phreak mean, I wonder??
Title: Help...
Post by: Flipside on May 18, 2004, 08:27:34 pm
I seem to remember that myself, also, I've checked some Shivan ships, and for those, the missile launchers ARE installed. I've never really messed with [V] models, so I'm really not certain what's going on here :(
Title: Help...
Post by: karajorma on May 19, 2004, 06:52:13 am
Quote
Originally posted by jdjtcagle
any luck Karajorma


I had a quick look but I couldn't figure out which pof is the right one :) I guess I'll need to extract the inferno ships table and look :)

BTW have you tried simply ditching the ships.tbl for the moment and adding the weapon using FRED? That would help narrow the problem down a lot.

Quote
Originally posted by PhReAk
you're putting flak in SBanks


I didn't notice this on the table first time I glanced at but I'm that
Code: [Select]


 $Default SBanks: ( "AAAf" )
$Subsystem: turret12,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret13,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret14,0.833,1.0
 $Default SBanks: ( "AAAf" )
$Subsystem: turret15,0.833,1.0


AAAf should be in a PBank not an SBank.

Quote
Originally posted by Flipside
I seem to remember that myself, also, I've checked some Shivan ships, and for those, the missile launchers ARE installed. I've never really messed with [V] models, so I'm really not certain what's going on here :(


I sense much confusion here.

People are getting confused between PBanks and SBanks (A Table thing) and Gun and Missile Turets (A pof thing).

When working on the Tables you MUST put primary weapons in a PBank and secondary weapons in a SBank.

When working on a Pof you can quite happily make all your turrets Gun Turrets or Missile Turrets. It doesn't make a jot of difference to the game. In fact the whole thing is probably just a hold over from FS1.

If you want you can use it to keep the model tidy by sticking all the multiparts in one group but most people don't even bother doing that :)
Title: Help...
Post by: Flipside on May 19, 2004, 11:55:36 am
Thanks for clearing that up Kara, I always do everything according to the PCS tutorial in Bobbs siggy, I find it best to find a technique that works and stick to it, and since I never really touch [V]'s models I never noticed that much of it isn't compulsory ;) Kazan cleared this up for me over PM as well, so thanks to both of you :)
Title: Help...
Post by: jdjtcagle on May 19, 2004, 01:58:00 pm
Kara:  It's called infAlcyone, and I'm going to try to get everything set up right :)
Title: Help...
Post by: karajorma on May 19, 2004, 03:15:06 pm
Right. Well if that table change doesn't work I'll take a look at the tables but I suspect that it was your problem :)
Title: Help...
Post by: jdjtcagle on May 19, 2004, 03:17:16 pm
Ok, looky here and it sill doesn't work :confused::

$Subsystem: turret01,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret02,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret03,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret04,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret05,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret06,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret07,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret08,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret09,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret10,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret11,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret12,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret13,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret14,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret15,0.833,1.0
 $Default PBanks: ( "SGreen" )
$Subsystem: engine01, 5,0.0
 $Engine Wash: Default100
$Subsystem: communications, 5,0.0
$Subsystem: sensors, 5,0.0
$Subsystem: navigation, 5,0.0
$Subsystem: weapons, 5,0.0
Title: Help...
Post by: karajorma on May 19, 2004, 04:41:52 pm
Have you tried ditching the tables and adding them in FRED like I suggested?
Title: Help...
Post by: jdjtcagle on May 19, 2004, 04:43:14 pm
You mean, get rid of all weapons data??
Ok, I'll try...
Title: Help...
Post by: jdjtcagle on May 19, 2004, 05:00:03 pm
negative, doesn't seem to work with anything I assign it to
Title: Help...
Post by: karajorma on May 20, 2004, 04:09:18 am
That is rather odd. I'll check into it tonight.
Title: Help...
Post by: jdjtcagle on May 20, 2004, 12:15:02 pm
I'll hold you up to that :D
Title: Help...
Post by: karajorma on May 20, 2004, 01:32:27 pm
I'm confused. I can't see any differences between the Table you posted and the original version except that for some reason you'd caused the PBanks to SBanks problem.

Code: [Select]

$Name: GTC Alcyone
$Short name: TCruise
$Species: Terran
+Tech Description:
XSTR("The Alcyone was brought into service by RNI following the
retirement of the old Aeolus class. Sharing a very similar design, the
 Alcyone's standardised systems and cost-effective, modular hull
improved on the Aeolus' expensive and difficult to repair hardware
which forced the GTVA to abandon its wider use. The Alcyone has a
single forward medium beam cannon to engage warships, and is
well armed against fighter attacks with multiple suppression
cannons and missile turrets. ", -1)
$end_multi_text
$POF file: infAlcyone.pof
$Detail distance: (0, 800, 3500, 10000)
$Show damage: YES
$Density: 1
$Damp: 0.2
$Rotdamp: 2.0
$Max Velocity: 0.0, 0.0, 30.0
$Rotation time: 100.0, 100.0, 80.0
$Rear Velocity: 0.0
$Forward accel: 8.0
$Forward decel: 4.0
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 150.0
$Expl outer rad: 750.0
$Expl damage: 200.0
$Expl blast: 11000.0
$Expl Propagates: YES
$Shockwave Speed: 400.0
$Shockwave Count: 3
$Default PBanks: ()
$Default SBanks: ()
$SBank Capacity: ()
$Shields: 0
$Power Output: 100.0
$Max Oclk Speed: 80.0
$Max Weapon Eng: 100.0
$Hitpoints: 48000
$Flags: ( "big damage" "cruiser" "in tech database" "in tech database multi" )
$AI Class: Captain
$Afterburner: NO
$Countermeasures: 0
$Scan time: 2000
$EngineSnd: 128
$Closeup_pos: 0.0, 0.0, -315
$Closeup_zoom: 0.5
$Score: 800
$Subsystem: turret01,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret02,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret03,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret04,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret05,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret06,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret07,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret08,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret09,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret10,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret11,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret12,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret13,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret14,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret15,0.833,1.0
 $Default PBanks: ( "SGreen" )
$Subsystem: engine01, 5,0.0
 $Engine Wash: Default100
$Subsystem: communications, 5,0.0
$Subsystem: sensors, 5,0.0
$Subsystem: navigation, 5,0.0
$Subsystem: weapons, 5,0.0

$Name: GTC Alcyone
$Short name: TCruise
$Species: Terran
+Tech Description:
XSTR("The Alcyone was brought into service by RNI following the
retirement of the old Aeolus class. Sharing a very similar design, the
Alcyone's standardised systems and cost-effective, modular hull
improved on the Aeolus' expensive and difficult to repair hardware
which forced the GTVA to abandon its wider use. The Alcyone has a
single forward medium beam cannon to engage warships, and is
well armed against fighter attacks with multiple suppression
cannons and missile turrets. ", -1)
$end_multi_text
$POF file: infAlcyone.pof
$Detail distance: (0, 800, 3500, 10000)
$Show damage: YES
$Density: 1
$Damp: 0.2
$Rotdamp: 2.0
$Max Velocity: 0.0, 0.0, 30.0
$Rotation time: 100.0, 100.0, 80.0
$Rear Velocity: 0.0
$Forward accel: 8.0
$Forward decel: 4.0
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 150.0
$Expl outer rad: 750.0
$Expl damage: 200.0
$Expl blast: 11000.0
$Expl Propagates: YES
$Shockwave Speed: 400.0
$Shockwave Count: 3
$Default PBanks: ()
$Default SBanks: ()
$SBank Capacity: ()
$Shields: 0
$Power Output: 100.0
$Max Oclk Speed: 80.0
$Max Weapon Eng: 100.0
$Hitpoints: 48000
$Flags: ( "big damage" "cruiser" "in tech database" "in tech database multi" )
$AI Class: Captain
$Afterburner: NO
$Countermeasures: 0
$Scan time: 2000
$EngineSnd: 128
$Closeup_pos: 0.0, 0.0, -315
$Closeup_zoom: 0.5
$Score: 800
$Subsystem: turret01,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret02,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret03,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret04,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret05,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret06,0.833,1.0
 $Default PBanks: ( "Standard Flak" "Standard Flak" )
$Subsystem: turret07,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret08,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret09,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret10,0.833,1.0
 $Default SBanks: ( "Cyclops" )
$Subsystem: turret11,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret12,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret13,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret14,0.833,1.0
 $Default PBanks: ( "AAAf" )
$Subsystem: turret15,0.833,1.0
 $Default PBanks: ( "SGreen" )
$Subsystem: engine01, 5,0.0
 $Engine Wash: Default100
$Subsystem: communications, 5,0.0
$Subsystem: sensors, 5,0.0
$Subsystem: navigation, 5,0.0
$Subsystem: weapons, 5,0.0
Title: Help...
Post by: Miburo on May 20, 2004, 01:38:47 pm
Well by tables as it comes there is nothing wrong, but then comes the question, does your weapon tables contain still AAAf?
Title: Help...
Post by: jdjtcagle on May 20, 2004, 02:07:24 pm
Ya, because it's the table in the Root_VP
Title: Help...
Post by: Miburo on May 20, 2004, 02:13:56 pm
Now thats quite intresting... Does other beams work in place of them?
Title: Help...
Post by: jdjtcagle on May 20, 2004, 02:30:49 pm
it's not the beams were having trouble with it's the flak
Title: Help...
Post by: jdjtcagle on May 20, 2004, 02:32:30 pm
ahh... hell, I don't no, I would remodel it but I'm not sure were to begin
Title: Help...
Post by: karajorma on May 20, 2004, 03:53:43 pm
JDJ, are you saying that the standard alcyone's flak gun don't work? Cause I can't see what changes you've made.
Title: Help...
Post by: jdjtcagle on May 20, 2004, 04:02:02 pm
yes, everything else works fine, I'm just set on getting that flak to fire :nod: