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.jpg]
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
  Updated Xonotic gamepacks for NetRadiant and NetRadiant-custom SpiKe 3 2,358 11-16-2024, 04:49 AM
Last Post: SpiKe
Rainbow NetRadiant-custom Garux 25 14,818 03-06-2024, 04:31 PM
Last Post: anoob
  [NEED HELP] Custom NetRadiant Textures / Textures Not Loading 3agle427 3 4,700 09-03-2021, 01:40 PM
Last Post: HIBANEZ
  Xonotic custom icon for profile users - editing image tutorial LegendGuard 4 3,095 12-14-2020, 12:16 PM
Last Post: Julius
Wink Custom made crosshairs Draena 4 3,944 04-21-2020, 02:36 PM
Last Post: Cortez666
  [NEED HELP] Custom Skins 3agle427 0 10,963 01-14-2019, 08:01 PM
Last Post: 3agle427
  Per Weapon Effect Brushes? Antares* 2 3,112 10-15-2017, 07:22 AM
Last Post: Julius
Question Please Post Guides To Import Custom Player Models Orbiter Sunblast 17 22,493 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 10,670 10-12-2013, 09:51 AM
Last Post: tZork
  Ideas For Custom Player Models Orbiter Sunblast 8 11,072 09-30-2013, 09:31 AM
Last Post: Orbiter Sunblast

Forum Jump:


Users browsing this thread:
1 Guest(s)

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