Help me change weapon graphic effects
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Help me change weapon graphic effects
So i really want to adjust the flak bullet effects to make them less bright and smaller. I've been looking through tutorials but i don't even know where to start. is it as simple as editing an XML file or will i have to learn how to create my own graphic effects through blendr etc
Any guidance will be appreciated
Any guidance will be appreciated
Last edited by aza502 on Thu, 25. Aug 22, 16:00, edited 1 time in total.
-
- EGOSOFT
- Posts: 3366
- Joined: Mon, 26. Mar 12, 14:57
Re: Help me change weapon graphic effects
Hey,
I would suggest to take a look at the bullets xml file first.
"\\assets\fx\weaponFx\bullet_gen_m_flak_01_mk1.xml"
In there you will find the "part_bullet" which has "materials" node.
Two materials are listed:
<material id="1" ref="effects.bullets_fx_master"/>
<material id="2" ref="p1xenon.xen_engine_trim"/>
You can then browse to the "material_library.xml" and browse to these materials.
Either you edit their glowStr (glow shrength) parameter directly (this will affect then all bullets, probably bad) or create duplicate material entries (just copy/paste the entire material node and rename them to sth like "bullets_fx_master_2").
Then edit the used material in the bullets.xml to refer to your new material.
That should be ways to make it less bright.
Scale might be editable via the "size" node in the bullets xml file. For the "part_main" change the values in the "size" node.
This might help a bit, though we do some shader scaling on the bullets, that they are more visible in the distance.
I would suggest to take a look at the bullets xml file first.
"\\assets\fx\weaponFx\bullet_gen_m_flak_01_mk1.xml"
In there you will find the "part_bullet" which has "materials" node.
Two materials are listed:
<material id="1" ref="effects.bullets_fx_master"/>
<material id="2" ref="p1xenon.xen_engine_trim"/>
You can then browse to the "material_library.xml" and browse to these materials.
Either you edit their glowStr (glow shrength) parameter directly (this will affect then all bullets, probably bad) or create duplicate material entries (just copy/paste the entire material node and rename them to sth like "bullets_fx_master_2").
Then edit the used material in the bullets.xml to refer to your new material.
That should be ways to make it less bright.
Scale might be editable via the "size" node in the bullets xml file. For the "part_main" change the values in the "size" node.
This might help a bit, though we do some shader scaling on the bullets, that they are more visible in the distance.
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110
My art stuff
My art stuff
Re: Help me change weapon graphic effects
thanks for the help, i see in the flak bullets xml file there's a "light" portion where you can adjust the RGB colour setting and i notice an "intensity" part as well which is set to "1" if i set it to "0.25" would that change anything? i've still yet to figure out how to turn what i change into it's own mod so im a ways off yet by the looks of thingslinolafett wrote: ↑Tue, 23. Aug 22, 13:17Hey,
I would suggest to take a look at the bullets xml file first.
"\\assets\fx\weaponFx\bullet_gen_m_flak_01_mk1.xml"
In there you will find the "part_bullet" which has "materials" node.
Two materials are listed:
<material id="1" ref="effects.bullets_fx_master"/>
<material id="2" ref="p1xenon.xen_engine_trim"/>
You can then browse to the "material_library.xml" and browse to these materials.
Either you edit their glowStr (glow shrength) parameter directly (this will affect then all bullets, probably bad) or create duplicate material entries (just copy/paste the entire material node and rename them to sth like "bullets_fx_master_2").
Then edit the used material in the bullets.xml to refer to your new material.
That should be ways to make it less bright.
Scale might be editable via the "size" node in the bullets xml file. For the "part_main" change the values in the "size" node.
This might help a bit, though we do some shader scaling on the bullets, that they are more visible in the distance.
-
- EGOSOFT
- Posts: 3366
- Joined: Mon, 26. Mar 12, 14:57
Re: Help me change weapon graphic effects
The "light" in that xml is really just a point light source.
This will illuminate nearby geometry, but is not causing the self emission of the bullet. You cant see point light sources directly, only the reflected light of them.
This will illuminate nearby geometry, but is not causing the self emission of the bullet. You cant see point light sources directly, only the reflected light of them.
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110
My art stuff
My art stuff
Re: Help me change weapon graphic effects
ohhhh i see, that's good to knowlinolafett wrote: ↑Tue, 23. Aug 22, 13:51The "light" in that xml is really just a point light source.
This will illuminate nearby geometry, but is not causing the self emission of the bullet. You cant see point light sources directly, only the reflected light of them.
Re: Help me change weapon graphic effects
I've had to give up unfortunately. just too complicated for me, i've managed to edit the neccesary files but i dont know how to make it into an extension to over write/change original files
-
- EGOSOFT
- Posts: 3366
- Joined: Mon, 26. Mar 12, 14:57
Re: Help me change weapon graphic effects
Maybe have a look at a small other extension, which did something similar.
I cant help you there for that bit of the implementation.
Maybe some one else is able to hint you towards the solution. I think there is also a rather active discord channel in which there is a modding area. Maybe try your luck there for some "real time" help.
I cant help you there for that bit of the implementation.
Maybe some one else is able to hint you towards the solution. I think there is also a rather active discord channel in which there is a modding area. Maybe try your luck there for some "real time" help.
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110
My art stuff
My art stuff