UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Remove Grenade Marks

broken avatar :(
Created 9 years ago
by rustyandme
0 Members and 1 Guest are viewing this topic.
2,232 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 2 December 2014
Last active: 8 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
rustyandme's Groups
rustyandme's Contact & Social Links
If you are looking to completely remove the marks that your grenades make on your map, this is the tutorial for you.

Note: This tutorial modifies the default_explosion.efx file. This may effect rocket launchers or something else in your map that uses this same effect. It won't cause them not to work, but it will also remove the marks that those weapons make on the surfaces also.

Lets begin.

1) Open up your grenade file (stielhandgranate) in a text editor (such as Notepad++). Search for impactType and change the word after it to be none. That part will now look like
Code Snippet
Plaintext
...\impactType\none\...
Now search for projExplosionEffect add "explosions/default_explosion" after the backslash. This part should now look like
Code Snippet
Plaintext
...\projExplosionEffect\explosions/default_explosion\...
And finally search for projExplosionSound and add "shell_explode_default" after the backslash. This part should now look like
Code Snippet
Plaintext
...\projExplosionSound\shell_explode_default\...
Now save the grenade file and close it.

2) Now open Effects Editor from the Launcher.
Click File>Open and then open the explosion that you used in the first step. For this tutorial I am using "default_explosion". So open up the file in raw>fx>explosions>default_explosion.efx
On the list at the bottom of the window, select the one named decal and then click Edit>Delete.
If you would like to modify the effect in any way you can do that here also.
Now save the effect and close Effects Editor.

3) Open the soundaliases folder in the raw folder. Create a new file named grenade_explosion.csv. Open this file in a text editor and paste the code below into the file.
Code Snippet
Plaintext
name,platform,file,sequence,vol_min,vol_max,dist_min,dist_max,limit_count,limit_type,entity_limit_count,entity_limit_type,bus,volume_min_falloff_curve,volumefalloffcurve,reverb_send,dist_reverb_max,reverb_min_falloff_curve,reverb_falloff_curve,pitch_min,pitch_max,randomize_type,spatialized,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,chainaliasname,startdelay,speakermap,lfe percentage,center percentage,envelop_min,envelop_max,envelop percentage,occlusion_level,occlusion_wet_dry,real_delay,distance_lpf,move_type,move_time,min_priority,max_priority,min_priority_threshold,max_priority_threshold,doppler,isbig
shell_explode_default,,SFX/Destruction/Explosion_Impact_##,,0.88,1,300,12000,6,reject,,,explosion,,,,,,,0.8,1.2,,3d,,,,,all_sp,,,shell_explode_dirt,,,,0.5,,,,,,,,,,,50,80,0.15,0.75,,yes
Now you can save and close this file.

4) Go back to Launcher and open the Mod Builder tab. Paste the code below into the mod.csv box.
Code Snippet
Plaintext
fx,explosions/default_explosion
sound,grenade_explosion,,all_sp

5) You are done! Just rebuild your mod and you should be good to go. You will no longer have any marks on your map from the grenade explosions.

Unfortunately there are so many different problems that can cause this tutorial not to work or behave differently than it did for me. I probably won't be able to help everyone but hopefully this led you in the right direction.


As I was trying to figure out how to do this myself I learned a lot of random things that I couldn't find explanations for. So below I'm going to put a few random things that I learned while doing this. It may help someone.
-The impactType of the grenade not only dictates the impact but also the explosion effect and the sounds to go along with it. If you just set impactType to none then your grenade will still work but everything about it will be completely invisible.
-I don't know if this is just with me, but the UGX WeaponsEditor++ wouldn't save the grenade file for me. And when it did look like it saved, I would open it back up and it would be the same as when I started.
-If you are making a custom texture you can set it to have noMarks in the Asset Manager but when I did that, 1/100 times that I would load the map that texture wouldn't load and appear white. noMarks did successfully make the grenades not make marks, but it had the side effect of sometimes not loading the texture.
Last Edit: June 04, 2015, 08:38:46 pm by rustyandme

 
Loading ...