Author Topic: Smoke or other styles  (Read 2365 times)

Clipz

  • Committee Member
  • Autococker
  • Posts: 1497
Smoke or other styles
« on: February 22, 2006, 01:27:06 PM »
I know smoke is style 45, are there anyother styles?
Anyother smokes?
Mist?
Splashing water?

Thanks alot

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #1 on: February 22, 2006, 01:34:33 PM »
Each style corresponds to a temp entity.  I'd have to look at the source to see what they all are, though.  I don't know offhand.

Clipz

  • Committee Member
  • Autococker
  • Posts: 1497
Re: Smoke or other styles
« Reply #2 on: February 22, 2006, 09:35:17 PM »
Alright if you could do that it would be great
Thanks!

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #3 on: February 22, 2006, 10:45:18 PM »
Here's a listing: http://lazarus.planetquake.gamespy.com/target_effect.htm

Note that what paintball2 supports may not be exactly the same.

Be careful not to go overboard with these effects as they do take up bandwidth.

Eiii

  • Autococker
  • Posts: 4595
Re: Smoke or other styles
« Reply #4 on: February 22, 2006, 10:53:46 PM »
I actually don't think any of those will work.
EDIT: Target_effect doesn't even exist in Paintball2. Way to go, jits. You're thinking of target_temp_entity.

Clipz

  • Committee Member
  • Autococker
  • Posts: 1497
Re: Smoke or other styles
« Reply #5 on: February 23, 2006, 06:06:21 AM »
Yeah it is the target_temp_empty

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #6 on: February 23, 2006, 03:03:39 PM »
Most of the styles are still the same.

* jitspoe points back to his previous statement: "Note that what paintball2 supports may not be exactly the same."

Eiii

  • Autococker
  • Posts: 4595
Re: Smoke or other styles
« Reply #7 on: February 23, 2006, 05:29:47 PM »
It's not at all the same! Those styles don't even exist! Gah!

EDIT:

These styles work.

5-8 - Yellow/white particle explosion.
17-19 - Same as 5-8.
20 - Nothing.
21 - Blue/white particle explosion.
35 - Nothing.
45 - Smoke puff
48-49 - Cyllindrical white particle explosion.
51 - AWESOME yellow/black shereical particle explosion.
52 - Slow red/black shereical particle explosion.
53-54 - Nothing

That's all of them through 70.
« Last Edit: February 23, 2006, 05:53:53 PM by eiii »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #8 on: February 23, 2006, 06:19:57 PM »
5-8 - Yellow/white particle explosion.
17-19 - Same as 5-8.
5 TE_EXPLOSION1
 6 TE_EXPLOSION2
 7 TE_ROCKET_EXPLOSION
 8 TE_GRENADE_EXPLOSION
17 TE_ROCKET_EXPLOSION_WATER
18 TE_GRENADE_EXPLOSION_WATER

There aren't any explosion models/sounds with paintball2, so you just get the particle effects, which probably all look the same.
Quote
45 - Smoke puff
45 TE_CHAINFIST_SMOKE
This is the effect I built off of to create the smoke grenades.  Originally it was just little particle puffs.

The laser sparks were modified to make bigger splatters for the paint grenades.  Everything else should be the same as quake2, though the colors will be different because paintball2 has a different palette.

Eiii

  • Autococker
  • Posts: 4595
Re: Smoke or other styles
« Reply #9 on: February 23, 2006, 07:42:29 PM »
They all cause the game to crash, except for the ones I listed above.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #10 on: February 23, 2006, 07:58:43 PM »
Most tempentities require other parameters, that's why.

Eiii

  • Autococker
  • Posts: 4595
Re: Smoke or other styles
« Reply #11 on: February 23, 2006, 08:08:25 PM »
Really? Could you take a look at the code and report back?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Smoke or other styles
« Reply #12 on: February 23, 2006, 08:15:07 PM »
You can't specify these parameters.  That's why it crashes.

Eiii

  • Autococker
  • Posts: 4595
Re: Smoke or other styles
« Reply #13 on: February 23, 2006, 09:25:11 PM »
Oooh. That would mean that they don't work, without modifying the game's code.