Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Starman01 on August 16, 2009, 03:53:19 pm

Title: Need help with some new ship.tbl "debris" features
Post by: Starman01 on August 16, 2009, 03:53:19 pm
I'm doing some experiments right now, and I need some help to set up the debris.
The model has only ONE debris piece. The Idea is to create one large debris chunk, that actually must survive the explosion and will NOT rotate or float away

I checked the wiki, and inserted what I found in the table. But I'm missing a value to set the debris hitpoint (to avoid getting it destroyed by the explosion blast). Though there is no entry in the wiki for that, I remember someone telling me it should now be possible.  (btw, before anyone suggest it instead : I don't want to remove the ships "explosion blast" :) )

Here is my current code entry for the ships.tbl

Code: [Select]
$Show damage:                 NO
$Debris:
    +Min Lifetime:  120
    +Max Lifetime:  180
    +Min Speed: 0
    +Max Speed: 0
    +Min Rotation speed: 0
    +Max Rotation speed: 0

$Density:                     1


1) Is it placed correctly between "$Show Damage" and "$Density"

2) Is it necessary to set the "+MinSpeed" when I don't want to move it ?

3) Same for "+Min rotation speed"

4) Anyone knows about the hitpoint stuff I mentioned above ?

Thanks for the help :)

Starman

(edit) Obviously the position is pretty wrong, 3.6.11 is throwing a lot of table errors at me :(
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Wanderer on August 17, 2009, 03:06:36 am
1. Yes... it seems to be in a proper place

2. No

3. No

4. Code to allow debris hitpoints to be set has not yet been committed.


If you have errors could you please describe what kind of errors are you getting?
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Colonol Dekker on August 17, 2009, 03:16:08 am
You want a starlancer style hulk? That'd be frickin sweet!
Title: Re: Need help with some new ship.tbl "debris" features
Post by: headdie on August 17, 2009, 03:26:57 am
...Is visualizing the Galatea after the lucifer hits it
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Colonol Dekker on August 17, 2009, 03:44:01 am
That's just not funny :( weep weep. . .
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Starman01 on August 17, 2009, 03:51:17 am
Yes, that will create debris in the Starlancer or (guess what ? :) )  WingCommander Style.


If you have errors could you please describe what kind of errors are you getting?

Here are the errors, I've cancelled it after a while, it seems to go through the entire ship.tbl entries

Code: [Select]
Error: ships.tbl(line 8089:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [Debris:].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8090:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [+Min Lifetime:  120].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------


Error: ships.tbl(line 8091:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [+Max Lifetime:  180].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8092:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [+Max Speed: 0].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8093:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [+Max Rotation speed: 5].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8095:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Density:                     10].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8096:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Damp:                        0.].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8097:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Rotdamp:                     1.].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8099:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Max Velocity:                0.].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------

Error: ships.tbl(line 8100:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [$Rotation time:               67].

File: parselo.cpp
Line: 262


Call stack:
------------------------------------------------------------------
    fs2_open_3_6_11r-20090710_r5423.exe 004e33a3()
    fs2_open_3_6_11r-20090710_r5423.exe 004e9d6c()
    fs2_open_3_6_11r-20090710_r5423.exe 02a13098()
------------------------------------------------------------------
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Wanderer on August 17, 2009, 03:56:26 am
Are you 100% sure that you no instances of Debris: instead of $Debris:?
Title: Re: Need help with some new ship.tbl "debris" features
Post by: Starman01 on August 17, 2009, 04:25:44 am
Are you 100% sure that you no instances of Debris: instead of $Debris:?


Doooh !  :doubt:   

I'm such an idiot. After I posted the code in the first post I must have edited again and deleted the "$". Sorry :)