View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005536 | DarkRadiant | GUI | public | 14.02.2021 15:40 | 14.02.2021 21:44 |
| Reporter | Dragofer | Assigned To | |||
| Priority | low | Severity | feature | Reproducibility | N/A |
| Status | acknowledged | Resolution | open | ||
| Product Version | 2.11.0 | ||||
| Summary | 0005536: FX Editor | ||||
| Description | A criminally underused aspect of TDM is the fx system. Fx definitions seem to be simply sequences of particles, sounds and lights, making it easier to coordinate them with each other without having to rely on something like a script or a cascade of trigger_relays. At least some entities support fx upon certain events, i.e. being damaged or destroyed. Currently there are only 3 files in the fx folder, defining 11 different fx, of which about half are thunder fx and at least one doesn't work with current assets. Maybe the system would find more use if it were more visible in DR and had an editor similar to the particle editor? I've opened a thread about the FX system here: https://forums.thedarkmod.com/index.php?/topic/20775-fx-system/ | ||||
| Additional Information | I've attached the 3 existing .fx files to give examples. There doesn't seem to be documentation on TDM's website, but iddevnet.com has an article on them here: https://www.iddevnet.com/doom3/fx.html | ||||
| Tags | No tags attached. | ||||
| Attached Files | sparks.fx (593 bytes)
fx fx/sparks
{
{
delay 0
duration 0.5
restart 0
light "lights/sparks_sound", 1, 1, 1, 96
offset 0, 0, 0
}
{
delay 0
sound "security_camera_spark"
duration 2.5
}
{
delay 0
duration 2.5
restart 0
model "sparks.prt"
//fadeout 1.5
//particle "sparks.prt"
}
}
fx fx/smallsparks
{
{
restart 1
random 0.5, 3.5
duration 5
rotate 0.1
model "particles/smallfiresparks.prt"
fire blue
}
{
delay 1000000
name blue
duration 5
rotate 0.1
model "particles/smallbluesparks.prt"
}
}
tdm_mage_effects.fx (925 bytes)
fx fx/tdm_smallfire
{
bindto "Head"
{
delay 0
duration 10
restart 0
light "lights/roundfire", 0.74, 0.58, 0.25, 250
offset 0, 0, 10
//fadeIn 2
fadeOut 3
trackorigin 1
}
{
delay 0.2
duration 10
restart 0
rotate 0.1
model "sparks.prt"
trackorigin 1
offset 0, 0, 96
}
{
delay 0
duration 10
restart 0
rotate 0.1
model "sparks.prt"
trackorigin 1
offset 0, 0, 96
}
{
delay 0.3
duration 10
restart 0
rotate 0.1
model "sparks.prt"
trackorigin 1
offset 0, 0, 96
}
}
fx fx/tdm_flame
{
bindto "Head"
{
delay 0
duration 10
restart 0
light "lights/roundfire", 0.2, 0.6, 0.3, 300
offset 0, 0, 5
//fadeIn 2
fadeOut 3
}
}
fx fx/smallsparks1
{
bindto "RightHand"
{
restart 0
//random 0.5, 3.5
duration 1
rotate 0.1
model "sparks.prt"
}
}
thunder.fx (3,608 bytes)
fx fx/thunder
{
{ //creates light
delay 0
name "thunderlight1"
duration 0.4
restart 0
light "lights/biground1", 0.35, 0.35, 0.7, 99999
}
{ //removes light
delay 0.4
name "thunderlight1off"
duration 0.3
restart 0
uselight "thunderlight1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlight2"
duration 0.4
restart 0
light "lights/biground1", 0.35, 0.35, 0.7, 99999
}
{ //removes light
delay 0.4
name "thunderlight2off"
duration 2.5
restart 0
uselight "thunderlight2"
fadeOut 0.05
}
{ // sound
delay 1.5
name "thundersound"
sound "thunder"
duration 10
}
}
fx fx/thunder_skylight
{
{ //creates light
delay 0
name "thunderlightsky1"
duration 0.4
restart 0
light "lights/biground1", 1, 1, 1, 250
}
{ //removes light
delay 0.4
name "thunderlightsky1off"
duration 0.3
restart 0
uselight "thunderlightsky1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlightsky2"
duration 0.4
restart 0
light "lights/biground1",1, 1, 1, 250
}
{ //removes light
delay 0.4
name "thunderlightsky2off"
duration 2.5
restart 0
uselight "thunderlightsky2"
fadeOut 0.05
}
}
fx fx/thunder_distant
{
{ //creates light
delay 0
name "thunderlight1"
duration 0.4
restart 0
light "lights/biground1", 0.2, 0.2, 0.3, 99999
}
{ //removes light
delay 0.4
name "thunderlight1off"
duration 0.3
restart 0
uselight "thunderlight1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlight2"
duration 0.4
restart 0
light "lights/biground1", 0.2, 0.2, 0.3, 99999
}
{ //removes light
delay 0.4
name "thunderlight2off"
duration 2.5
restart 0
uselight "thunderlight2"
fadeOut 0.05
}
{ // sound
delay 2.5
name "thundersound"
sound "thunder_distant"
duration 10
}
}
fx fx/thunder_skylight_distant
{
{ //creates light
delay 0
name "thunderlightsky1"
duration 0.4
restart 0
light "lights/biground1", 1, 1, 1, 150
}
{ //removes light
delay 0.4
name "thunderlightsky1off"
duration 0.3
restart 0
uselight "thunderlightsky1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlightsky2"
duration 0.4
restart 0
light "lights/biground1",1, 1, 1, 150
}
{ //removes light
delay 0.4
name "thunderlightsky2off"
duration 2.5
restart 0
uselight "thunderlightsky2"
fadeOut 0.05
}
}
fx fx/thunder_close
{
{ //creates light
delay 0
name "thunderlight1"
duration 0.4
restart 0
light "lights/biground1", 0.5, 0.5, 0.8, 99999
}
{ //removes light
delay 0.4
name "thunderlight1off"
duration 0.3
restart 0
uselight "thunderlight1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlight2"
duration 0.4
restart 0
light "lights/biground1", 0.5, 0.5, 0.8, 99999
}
{ //removes light
delay 0.4
name "thunderlight2off"
duration 2.5
restart 0
uselight "thunderlight2"
fadeOut 0.05
}
{ // sound
delay 0.5
name "thundersound"
sound "thunder_close"
duration 10
}
}
fx fx/thunder_skylight_close
{
{ //creates light
delay 0
name "thunderlightsky1"
duration 0.4
restart 0
light "lights/biground1", 1, 1, 1, 400
}
{ //removes light
delay 0.4
name "thunderlightsky1off"
duration 0.3
restart 0
uselight "thunderlightsky1"
fadeOut 0.05
}
{ //creates light
delay 0.3
name "thunderlightsky2"
duration 0.4
restart 0
light "lights/biground1",1, 1, 1, 400
}
{ //removes light
delay 0.4
name "thunderlightsky2off"
duration 2.5
restart 0
uselight "thunderlightsky2"
fadeOut 0.05
}
} | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 14.02.2021 15:40 | Dragofer | New Issue | |
| 14.02.2021 15:40 | Dragofer | File Added: sparks.fx | |
| 14.02.2021 15:40 | Dragofer | File Added: tdm_mage_effects.fx | |
| 14.02.2021 15:40 | Dragofer | File Added: thunder.fx | |
| 14.02.2021 15:46 | Dragofer | Relationship added | related to 0005537 |
| 14.02.2021 15:46 | Dragofer | Description Updated | |
| 14.02.2021 15:47 | Dragofer | Description Updated | |
| 14.02.2021 17:19 | greebo | Status | new => acknowledged |
| 14.02.2021 21:44 | Dragofer | Description Updated |