NOTE: Check requirements all I did here was remove the explosion effects from the thrown items, find them under grenade in the chemistry bench. Mod is not finished, if anyone out there knows how to make them persist in the world for a longer amount of time let me know and I'll update the file
I haven't looked at the mod itself so this might not apply, but if the objects are placed by an explosion (albeit one that does not damage etc.) you can just check the flag "placed objects are persistent". Then they'll stay around forever though, so if the player can't pick them up again that might be a bad idea, otherwise it might be exactly what you want.
Yeah, it's a property of explosions (note that explosions don't have to do damage, or even be visible). Explosions also have "placed object", which that flag refers to.
Right now the projectile just hangs around for 250 seconds (look for "lifetime"), maybe the first thing you could try would be increasing that to something bigger.
What I was thinking of would basically achieve the same in a more complicated way: the projectile explode on impact with an explosion that has no light, no damage etc., but places a misc object that uses the model of bottle caps / pre-war money. Even without setting the flag to make the the placed misc object persistent it would stay around forever until the player leaves the area so it unloads, whereas a persistent object stays around forever, and will always be in the save, etc. so you should not do that with stuff the player can't pick back up or remove.
I don't know how it is with projectiles, but they're probably not persistent, so try increase the lifetime to a few thousand seconds, fire some, then enter an interior and come back. If the projectiles are gone, you're golden.
As maybe a slightly more advanced idea you could make actual custom ammo for this that costs 1 cap or pre-war money to make , and has the bottle cap / pre-war model. Then you could have the projectile place the ammo back on the ground via an invisible explosion.
8 comments
Right now the projectile just hangs around for 250 seconds (look for "lifetime"), maybe the first thing you could try would be increasing that to something bigger.
What I was thinking of would basically achieve the same in a more complicated way: the projectile explode on impact with an explosion that has no light, no damage etc., but places a misc object that uses the model of bottle caps / pre-war money. Even without setting the flag to make the the placed misc object persistent it would stay around forever until the player leaves the area so it unloads, whereas a persistent object stays around forever, and will always be in the save, etc. so you should not do that with stuff the player can't pick back up or remove.
I don't know how it is with projectiles, but they're probably not persistent, so try increase the lifetime to a few thousand seconds, fire some, then enter an interior and come back. If the projectiles are gone, you're golden.
As maybe a slightly more advanced idea you could make actual custom ammo for this that costs 1 cap or pre-war money to make , and has the bottle cap / pre-war model. Then you could have the projectile place the ammo back on the ground via an invisible explosion.
No hard feelings