Author Topic: Particle trail script  (Read 31811 times)

0 Members and 1 Guest are viewing this topic.

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
N00b question....

How do I install it? *ducks for cover*
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Online m!m

  • 211
The download contains a packaged directory which can be used as a mod or you can just drop the files inside that folder into an existing mod folder.

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
The download contains a packaged directory which can be used as a mod or you can just drop the files inside that folder into an existing mod folder.
I get this Error

Code: [Select]

LUA ERROR: [string "parser.lua"]:80: attempt to perform arithmetic on field 'currentLine' (a nil value)

------------------------------------------------------------------
ADE Debug:
------------------------------------------------------------------
Name: (null)
Name of: (null)
Function type: (null)
Defined on: 0
Upvalues: 0

Source: (null)
Short source:
Current line: 0
- Function line: 0
------------------------------------------------------------------


------------------------------------------------------------------
LUA Stack:
------------------------------------------------------------------

------------------------------------------------------------------
« Last Edit: October 23, 2011, 05:12:55 am by Crybertrance »
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Online m!m

  • 211
Yes, that will work but you will have to modify the existing configuration files as those only contain some testing entries (look at the PDF file inside the docs directory for information on what to do).

 

Offline Crybertrance

  • 29
  • Conventional warheads only, no funny business
Yes, that will work but you will have to modify the existing configuration files as those only contain some testing entries (look at the PDF file inside the docs directory for information on what to do).

Still getting the above error...
<21:08:30>   Hartzaden fires a slammer at Cybertrance
<21:09:13>   Crybertrance pops flares, but wonders how Hartzaden acquired aspect lock on a stealth fighter... :\
<21:11:58>   *** The_E joined #bp [email protected]
21:11:58   +++ ChanServ has given op to The_E
<21:12:58>   Hartzaden continues to paint crybertrance and feeding the info to a wing of gunships
<21:14:07>   Crybertrance sends emergency "IM GETING MY ASS KICKED HERE!!!!eleventy NEED HELPZZZZ" to 3rd fleet command
<21:14:50>   Hartzaden jamms the transmission.
<21:14:51>   The_E explodes the sun

 

Online m!m

  • 211
I updated the link in the first post. This time I added particle collision detection to particles that are generated from a weapon explosion. Be careful with this option as it might lead to performance issues when to many particles have to be checked. The collision detection is only enabled for the target of the weapon to minimize the performance hit.

 

Offline petar91

  • 25
@cybertrance : remove the raynor entry in the ships.cfg

it work for me.

 

Offline petar91

  • 25
Hi,

i'm playing with the configuration file but the "speed" value also modify the expansion size of the effect (higher value, higher is the speed and the expansion size), i want to apply a medium expansion sized effect ( with a more slowly expansion effect. Did i miss an option ?


$Type:                Ship
$Class:             GTC Leviathan
   +Name:            TestEffect
   +Effect:          capflash
   +Time:             1,9
   +Emitstate:          1
   +Number:          30,30
   +Speed:          10,350
   +Size:             7, 8
   +Box Min:          0, 0, 0
   +Box Max:          0, 0, 0
   +Spewcone:          90, 90, 90
   +FPS:            15
   +Trail:          GenericTrail



 

Online m!m

  • 211
If I understand you correctly then you want to have fast particles which don't go too far away from the center of the emission?
You can achieve this effect by increasing the "+FPS" value so the particles don't live as long as they do currently.

 

Offline petar91

  • 25
not exactly :

i want to decrease speed value to make the visual effect longer in time , more i decrease speed value, more the particle are not going as far as i want from the center.

i want : particles going far from the center but at low speed

 

Online m!m

  • 211
Then you will need to decrease the "+FPS" value so the particles live for a longer time.

 

Offline petar91

  • 25
it works ! thanks. Time to modify the trail conf....

 

Offline petar91

  • 25
Ok there is my first attempt to make the GTC Leviathan explosion more epic :

add this in "ships.cfg"

Code: [Select]
$Type: Ship
$Class: GTC Leviathan
+Name: TestEffect
+Effect: capflash
+Time: 3.5
+Emitstate: 1
+Number: 70
+Speed: 50
+Size: 4
+Box Min: 0, 0, 0
+Box Max: 0, 0, 0
+Spewcone: 90, 90, 90
+FPS: 1.1
+Trail: Leviathantrail

and this in "trails.cfg"

Code: [Select]
$Type: ParticleTrail
$Name: Leviathantrail
+Effect: Particlesmoke01
+Size: 80
+Time: 11


and play the six wonder...



 

Offline Fury

  • The Curmudgeon
  • 213
Has someone actually accomplished good looking particle effects when ships die without it utterly tanking fps?

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
I've tried and reached some degree of success. Maybe Nighteyes too. This script isn't really suited to use effects from Mediavps, it needs custom ones.

 

Online m!m

  • 211
After a rather long period here is another maintenance update, this time fixing some bugs, improving compatibility with other scripts (thanks Spoon for finding those errors) and this update possibly improves performance but requires a recent trunk build (Not a 3.6.14 build!). I thank Swifty for his profiling efforts here.

 

Offline torc

  • 210
  • Diaspora SFX engineer
that's great! (you know what i mean M|M) :D
indossare una divisa può avere un prezzo alto...ma a volte...è troppo alto!!! Bill Adama

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 420, Cutscenes: 10, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Looks like some files may have been removed or changed names? Any chance for a quick list?
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 

Online m!m

  • 211
:nono: I should have started using GIT earlier...
The best way I see here is that you just post a list of the files in the script folder and the scripting tables (*-sct.tbm) here if you are unsure if the file belongs to the particle script.
I'll start posting differences in the 7z file from now on, that should make it easier to upgrade to a newer version.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Tracking down redundant files have never given us problems before, right m!m?  :lol:  ;)
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them