Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: FreeSpaceFreak on December 03, 2010, 03:27:30 am

Title: Impact/damage spew defined in ships.tbl - error
Post by: FreeSpaceFreak on December 03, 2010, 03:27:30 am
The Wiki (http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Impact_Spew:) says that custom impact and damage particle spews are possible since 3.6.10; that is the fiery stuff coming out of damaged ships, right? Well, I've been trying to implement it, like this:

Code: [Select]
$Name: AD Achladia
$Short name: ADest2
$Species: Ancient
+Tech Description:
XSTR( "etc etc etc", 3139)
$end_multi_text
$POF file: Achladia.pof
$Detail distance: (0, 5000, 9000, 20000)
$Impact Spew: anc_spew
$Damage Spew: anc_spew
$Density: 1
<table continues>

But FS gives me the following error. Debug log attached, too. Is there a mod somewhere that has already successfully implemented this?

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

<no module>! KiFastSystemCallRet
<no module>! WaitForSingleObject + 18 bytes
<no module>! SCP_DumpStack + 354 bytes
<no module>! Error + 229 bytes
<no module>! error_display + 427 bytes
<no module>! required_string_4 + 388 bytes
<no module>! parse_ship_values + 20781 bytes
<no module>! parse_ship + 1013 bytes
<no module>! parse_shiptbl + 374 bytes
<no module>! ship_init + 556 bytes
<no module>! game_init + 1709 bytes
<no module>! game_main + 519 bytes
<no module>! WinMain + 330 bytes
<no module>! __tmainCRTStartup + 358 bytes
<no module>! WinMainCRTStartup + 15 bytes
<no module>! RegisterWaitForInputIdle + 73 bytes

[attachment deleted by admin]
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: The E on December 03, 2010, 06:18:52 am
Whoever wrote that Wiki page was wrong. It is not possible to set a different type of damage spew (apparently), you can only define the max number of particles.
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: FreeSpaceFreak on December 03, 2010, 07:40:47 am
Aww, too bad... Would it be hard to implement it? :D
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: Dragon on December 04, 2010, 01:38:18 pm
It was once described in wiki as "3.7"  feature like it was already in, so I guess somebody was working on it as some point of the time.
I'm certain that this feature would be welcome, especially by mods like Wings of Dawn (you have to admit, fiery spew just doesn't fit Fura'ngle ships).
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: FUBAR-BDHR on December 04, 2010, 03:40:21 pm
Actually the species ones don't even work.  It always uses the texture from the first species.  Yes it's in mantis. 
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: Dragon on December 05, 2010, 09:32:34 am
Spieces-specific PSpew?
I don't know what you're refering to.
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: Trivial Psychic on December 05, 2010, 08:42:30 pm
Different species could be using different atmosphere compounds, leading to a different color for the flames that spew from the damaged hull.
Title: Re: Impact/damage spew defined in ships.tbl - error
Post by: FUBAR-BDHR on December 05, 2010, 10:11:49 pm
I probably have particle spew confused with those debris pieces that come off when you shoot something.  They are supposed to be textured per species but it doesn't work.