FreeSpace Releases > Scripting Releases

Particle trail script

<< < (49/49)

Slasher:
I'm having some trouble specifying a debris trail as the default trail for ships.  To do this, do I just remove the "$Class" parameter entirely and replace it with "+Default: YES"?

m!m:
Yes, I think that should work.

Slasher:
I'm getting a crash trying this with TBP and FS2 3.6.14 Final.  I can specify effects for individual ships and they show up in game and look great, but if I try to use the same data for a "default" trail by doing what I said in the above post, I get this:


--- Code: ---LUA ERROR: [string "trailInfo.lua"]:328: attempt to index global 'deathParticleScript' (a nil value)

------------------------------------------------------------------
ADE Debug:
------------------------------------------------------------------
Name: checkDebris
Name of: method
Function type: Lua
Defined on: 314
Upvalues: 0

Source: trailInfo.lua
Short source: [string "trailInfo.lua"]
Current line: 328
- Function line: 15
------------------------------------------------------------------


------------------------------------------------------------------
LUA Stack:
checkDebris
doObjectInfoRun
------------------------------------------------------------------

------------------------------------------------------------------

--- End code ---



[attachment deleted by a basterd]

m!m:
That looks like it's an error in the script, I'll post an update tomorrow.

EDIT: New version uploaded the error should hopefully be fixed now.

Slasher:
Thanks for the rapid response. 

Navigation

[0] Message Index

[*] Previous page

Go to full version