Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Defining custom particle effect types

#1
So, according to a note at the bottom of This reference page on DarkPlaces particle effects.
Quote:The Engine now appends mapname_effectinfo.txt to effectinfo.txt. In other words you can create additional effects for your map without changing effectinfo.txt
So, I'm trying to define a new particle effect to use. I'm basically after a large fluffy billowing smoke effect to have emitting from this smoke stack:
   

The pipe_smoke effect kinda looks a little like what I want, though it's a bit thin, small and short-lived for my tastes. Still, I'm using it as a starting point to define my own effects, so I've tweaked it a bit to have larger particles.
~/.xonotic/data/epsilon-b4_effectinfo.txt 
Code:
effect big_stack_smoke
       type smoke
       airfriction -1
       alpha 32 64 48
       color 0x999999 0x555555
       count 8
       gravity -0.015000
       rotate 0 360 -180 180
       sizeincrease 35
       size 20 40
       tex 0 8
       velocityjitter 0 0 5
       velocitymultiplier 15
I then define the func_pointparticles as follows:
Code:
"classname" "func_pointparticles"
"mdl" "big_stack_smoke"
"impulse" "0.6"
"velocity" "0 0 10"
"type" "smoke"
"count" "12"
But it doesn't appear to be working at all. Is there anyone with a bit more experience with this aspect of DarkPlaces / Xonotic particle effects who is able to help out?
Reply

#2
The text file needs to be in the maps directory, not data. Tarx is a working reference: https://forums.xonotic.org/showthread.php?tid=1676
[Image: 230.png]
Reply

#3
Ooh, that was all I needed. A little bit of tweaking and the cooling tower now has steam pouring out Big Grin
Thanks for your help Big Grin
   
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Per Weapon Effect Brushes? Antares* 2 772 10-15-2017, 07:22 AM
Last Post: Julius
Question Please Post Guides To Import Custom Player Models Orbiter Sunblast 17 8,697 12-04-2015, 05:46 PM
Last Post: Orbiter Sunblast
  Moonprison: A nice custom skybox that I don't know how to use yet Greaserpirate 1 2,393 10-12-2013, 09:51 AM
Last Post: tZork
  Ideas For Custom Player Models Orbiter Sunblast 8 6,361 09-30-2013, 09:31 AM
Last Post: Orbiter Sunblast
  Custom shaders not working properly exidl 11 5,205 08-08-2012, 08:50 PM
Last Post: hutty
  Replace the example model elbrus with a custom model bigdilliams 6 3,413 05-06-2012, 12:21 PM
Last Post: bigdilliams
  How to load custom packs? The mysterious Mr. 4m 2 2,307 07-24-2011, 03:00 PM
Last Post: The mysterious Mr. 4m

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-