Tremulous Forum

General => Troubleshooting => Topic started by: swamp-cecil on December 17, 2010, 10:35:05 pm

Title: Modding help
Post by: swamp-cecil on December 17, 2010, 10:35:05 pm
so, i made a mod, but because of two minor gllitches i cannot put them up on a custom server
1. i have a .particle system modded for my server. unffortunately, its gives the ERROR: a particle system cannot be registered error thing. heres the .particle in whole. note that i have 3 different .particle files that all of their contents dont work. this is a 1.2 .particle system:
Code: [Select]
firstPersonPoisonCloudPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/poisoncloud

      displacement 0 0 0 ~32.0

      parentVelocityFraction  1.0
      velocityType      static
      velocityDir       linear
      velocityMagnitude 16
      velocity          0 0 1 ~0

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 300
      acceleration          0 0 1 0

      radius 0 10.0 90.0
      alpha  0 0.5 0.0
      rotation 0 ~360 -
      bounce 0.5

      lifeTime 2000
    }

    count 400
    delay 0
    period 30 - ~0%
  }
}

poisonCloudedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/poisoncloud

      displacement 0 0 0 ~6.0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 60
      velocity          0 0 0 ~50

      radius 0 4.0 12.0
      alpha  0 0.25 0.0
      rotation 0 ~360 -

      lifeTime 800
    }

    count 100
    delay 0
    period 50 200 ~0%
  }
}


alienEvolvePS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid

      displacement 0 0 0 ~70
      normalDisplacement  80

      velocityType      static
      velocityDir       linear
      velocityMagnitude 30
      velocity          0 0 -1 ~0

      radius 0 20.0 15.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.0

      lifeTime 1000~50%
    }

    count 50
    delay 0
    period 0 - ~0%
  }

  ejector
  {
    particle
    {
      shader sync gfx/sprites/green_acid

      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0

      radius 0 20.0 30.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.2

      lifeTime 1000
    }

    count 25
    delay 0
    period 10 - ~0%
  }

  ejector
  {
    particle
    {
      model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3

      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0

      radius          0 1.0 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav

      lifeTime 5000~1000
    }

    count 12
    delay 0
    period 10 - ~0%
  }
}

alienBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~165 ~195
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    count   2
    delay   0
    period  0 - 0
  }
 
    ejector
  {
    particle
    {
      model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3

      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0

      radius          0 1.0 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav

      lifeTime 2500
    }

    count 4
    delay 0
    period 10 - ~0%
  }
}

alienBuildableBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~165 ~195
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    count   2
    delay   0
    period  0 - 0
  }
 
    ejector
  {
    particle
    {
      model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3

      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0

      radius          0 1.0 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav

      lifeTime 1000
    }

    count 4
    delay 0
    period 10 - ~0%
  }
}


alienBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    particle
    {
      shader sync gfx/damage/blood.tga
      displacement          0 0 0 0

      velocityType          normal

      velocityDir           linear

      velocityMagnitude     15
      velocity              0 0 0 ~35

      accelerationType      static
      accelerationDir       linear
      acceleration          0 0 -1 ~5
      accelerationMagnitude 25

      radius                0 5 8
      alpha                 250 .85 0
      rotation              0 ~165 ~195
      bounce                0.0
      color                 0 { 1.0 1.0 0.6 } -

      lifeTime              400~100
    }

    count   2
    delay   0
    period  0 - 0
  }
   
ejector
  {
    particle
    {
      model models/fx/alien_gibs/a_gib1.md3 models/fx/alien_gibs/a_gib2.md3 models/fx/alien_gibs/a_gib3.md3 models/fx/alien_gibs/a_gib4.md3

      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 300~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 800
      acceleration          0 0 -1 0

      radius          0 1.0 -
      bounce          0.2
      bounceMark      1~1 16 creep
      bounceSound     ~1 sound/misc/organic_bounce.wav

      lifeTime 5000~1000
    }

    count 4
    delay 0
    period 10 - ~0%
  }
}

humanBleedPS
{
  ejector
  {
    particle
    {
      shader sync gfx/damage/blood.tga
 
      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 100~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 250
      acceleration          0 0 -1 0

      radius                0 5 8
      alpha                 250 .75 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 0.8 0.2 0.2 } -

      lifeTime              2500
    }



    particle
    {
      shader sync gfx/damage/blood.tga
 
      displacement 0 0 40 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 100~75%
      velocity          0 0 1 ~60

      accelerationType      static
      accelerationDir       linear
      accelerationMagnitude 300
      acceleration          0 0 -1 0

      radius                0 5 8
      alpha                 250 .75 0
      rotation              0 ~-15 ~15
      bounce                0.0
      color                 0 { 0.8 0.2 0.2 } -

      lifeTime              2500
    }

    count   43
    delay   0
    period  0 - 0
  }
}

humanBuildableBleedPS
{
  ejector
  {
    particle
    {
      shader sync flame3 flame4 flame5 flame6 flame7 flame8 flame9 flame10 flame11 flame12 flame13 flame14 flame15 flame16 flame17 flame18 flame19 flame20 flame21 flame22 flame23 flame24 flame25

      displacement 0 0 0 ~0

      velocityType      static
      velocityDir       linear
      velocityMagnitude 0
      velocity          0 0 -1 ~0

      radius 0 30.0 50.0
      alpha  0 1.0 0.0
      rotation 0 ~360 -
      bounce 0.2

      lifeTime 500
    }

    count 1
    delay 0
    period 0 - 0
  }
}

disconnectPS
{
  ejector
  {
    particle
    {
      shader sync gfx/sprites/bubble
      displacement          0 0 0 ~60

      velocityType          static
      velocityDir           linear
      velocityMagnitude     15
      velocity              0 0 1 ~90

      radius                0 24 32
      alpha                 0 1.0 -

      lifeTime              3000~300
    }

    count   10
    delay   0
    period  0 - 0
  }
}

the ones that dont work are humanbleed, humanbuildablebleed and disconnect. notice that they are the 3 last particle systems in the list.
2. wheres the command to scale an alien model? i tried in overrides but nothing happend :S
Title: Re: Modding help
Post by: swamp-cecil on December 18, 2010, 12:20:35 am
because my text may be toolong, im making another post:

Code: [Select]
...loading 'scripts/rotcannon_b10.particle'
ERROR: a particle system is already named rotcannon/cannon
...loading 'scripts/pulse.particle'
...loading 'scripts/procyon.particle'
...loading 'scripts/nano.particle'
...loading 'scripts/metro.particle'
...loading 'scripts/hvhminiarena.particle'
...loading 'scripts/gloom2.particle'
...loading 'scripts/eden.particle'
...loading 'scripts/derelictb.particle'
...loading 'scripts/battlezone_final.particle'
...loading 'scripts/atcshd.particle'
...loading 'scripts/arkadia.particle'
ERROR: particle file scripts/arkadia.particle is empty
...loading 'scripts/uncreation.particle'
...loading 'scripts/niveus.particle'
...loading 'scripts/nexus6.particle'
...loading 'scripts/karith.particle'
...loading 'scripts/atcs.particle'
...loading 'scripts/arachnid2.particle'
...loading 'scripts/jetpack.particle'
stitched 0 LoD cracks
...loaded 2891 faces, 184 meshes, 0 trisurfs, 0 flares
[color=red]ERROR: failed to register particle system disconnectPS
ERROR: failed to register particle system humanBuildableBleedPS
ERROR: failed to register particle system humanBleedPS[/color]voice list is empty
CL_InitCGame:  8.80 seconds
10 msec to draw all images
Com_TouchMemory: 0 msec
ScatMan John entered the game
]/condump faillo.log
Dumped console text to faillo.log.

the things marked in red are the errors
Title: Re: Modding help
Post by: Pazuzu on December 18, 2010, 12:46:59 am
because my text may be toolong, im making another post:

Code: [Select]
...loading 'scripts/rotcannon_b10.particle'
ERROR: a particle system is already named rotcannon/cannon
...loading 'scripts/pulse.particle'
...loading 'scripts/procyon.particle'
...loading 'scripts/nano.particle'
...loading 'scripts/metro.particle'
...loading 'scripts/hvhminiarena.particle'
...loading 'scripts/gloom2.particle'
...loading 'scripts/eden.particle'
...loading 'scripts/derelictb.particle'
...loading 'scripts/battlezone_final.particle'
...loading 'scripts/atcshd.particle'
...loading 'scripts/arkadia.particle'
ERROR: particle file scripts/arkadia.particle is empty
...loading 'scripts/uncreation.particle'
...loading 'scripts/niveus.particle'
...loading 'scripts/nexus6.particle'
...loading 'scripts/karith.particle'
...loading 'scripts/atcs.particle'
...loading 'scripts/arachnid2.particle'
...loading 'scripts/jetpack.particle'
stitched 0 LoD cracks
...loaded 2891 faces, 184 meshes, 0 trisurfs, 0 flares
[color=red]ERROR: failed to register particle system disconnectPS
ERROR: failed to register particle system humanBuildableBleedPS
ERROR: failed to register particle system humanBleedPS[/color]voice list is empty
CL_InitCGame:  8.80 seconds
10 msec to draw all images
Com_TouchMemory: 0 msec
ScatMan John entered the game
]/condump faillo.log
Dumped console text to faillo.log.

the things marked in red are the errors
Great! What's the problem?
I think you'll want to take out the trailing bracket before /condump.
Title: Re: Modding help
Post by: swamp-cecil on December 18, 2010, 12:55:51 am
you cant mark things red in
Code: [Select]
?
anyways, its says:
ERROR: failed to register particle system disconnectPS
ERROR: failed to register particle system humanBuildableBleedPS
ERROR: failed to register particle system humanBleedPS
and in my those systems are in that .particle file i posted
Title: Re: Modding help
Post by: Pazuzu on December 18, 2010, 01:37:49 am
I think you'll want to take out the trailing bracket before /condump.
Title: Re: Modding help
Post by: swamp-cecil on December 18, 2010, 10:57:07 am
this is ingame in devmap. the error dosent comeon the title screen, only when i load a map.
Title: Re: Modding help
Post by: hermxiv on December 18, 2010, 12:45:04 pm
you cant mark things red in
Code: [Select]
?
anyways, its says:
ERROR: failed to register particle system disconnectPS
ERROR: failed to register particle system humanBuildableBleedPS
ERROR: failed to register particle system humanBleedPS
and in my those systems are in that .particle file i posted
You can't use markup tags in code segments.
Title: Re: Modding help
Post by: swamp-cecil on December 18, 2010, 11:48:25 pm
you cant mark things red in
Code: [Select]
?
anyways, its says:
ERROR: failed to register particle system disconnectPS
ERROR: failed to register particle system humanBuildableBleedPS
ERROR: failed to register particle system humanBleedPS
and in my those systems are in that .particle file i posted
You can't use markup tags in code segments.

*SwampCeciL looks on google.
EDIT: whats a markup tag :S
for google its an HTML thingy
EDIT2: oh, as in colour....nothing to do with my error.....damn
Title: Re: Modding help
Post by: Sockem on December 27, 2010, 05:30:23 am
Wow, swamp!
Title: Re: Modding help
Post by: Qrntz on December 27, 2010, 03:55:41 pm
Wow, swamp!

Wow, you!
Don't.