Grenade Standalone

Fallout 4 Mods |

Grenade Standalone

This is a tutorial to make a grenade as a standalone weapon and use a custom projectile using FO4Edit.
I will be using my “King of Queens” mod as an example. This mod was made using the synth grenade to spawn a mirelurk queen.

First you have to understand the logic of each function being called

Weapon – projectile – explosion – NPC

The grenades are different from other weapons in the sense that it does not use the ammo function, your weapon is your ammo.

so first thing I do is open FO4Edit and go under weapons and find the SynthTeleportGrenade Synth Relay Grenade.
right click and copy new record into and name it what you want.

next go to the projectiles tab and copy as new record the SynthTeleportGrenadeProjectile.

now that you have your new weapon and your new projectile you need to link them together so your weapon knows what projectile to be when thrown.

Open up your new mod tab you created and open the weapon tab and click your grenade.
scroll down to the FNAM section near the bottom. It will be a long string of hex code, copy that text into a text editor so you can see it better.

towards the end of the string you should see

33 33 33 3F CD CC CC 3D 9A 99 99 3E 9A 99 19 3E CA 54 15 40 00 00 00 00 00 00 80 3E 01 F3 89 05 00 00 00 00 00 00 00 00 00

the 4 blocks highlighted in red are actually the FormID of the SynthTeleportGrenadeProjectile just in a different order

if you take each block and read them right to left it makes sense

F3 89 05 00
000589F3

Now that we have pinpointed how the weapon is calling the projectile we now need to simply change the code to read your custom projectile.

so say your custom projectile’s FormID is 01000817 you will be replaceing that part of the weapon FNAM string with 17 08 00 01

Now that you have your weapon connected to your projectile you now need your projectile to read a custom explosion by using the same method

go to the explosion tab and find the SynthTeleportGrenadeExplosion and copy it as a new record.

now go to your projectile tab and change its “Explosion” field to your new explosion

now look for

06 00 02 00 00 00 00 3F 00 00 AF 44 00 60 6A 46 00 00 00 00 29 4B 00 00 00 00 00 00 00 00 80 3F F4 89 05 00 00 00 00 00 CD CC 4C 3D 00 00 00 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0 40 00 00 C8 42 00 00 80 3E 00 00 00 00 66 87 08 00 00 00 00 00 00

do as you did before and change that to the reverse order of your custom explosion FormID

from there you can tell your explosion to spawn an npc or what ever else you can think of

I hope this helps 😀

HAPPY MODDING


Credits: Devon Hartman - xxdeathknight72xx
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This content was uploaded by website visitors. If you notice any mistake, please let us know.




You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *