|
Post by deiong on Apr 23, 2017 4:22:26 GMT
how hard would it be to make changes to it so that a paintball game would be created. when a person gets hit paint splats instead of shots.
|
|
|
Post by uberwiggett on Apr 23, 2017 7:28:55 GMT
not super hard, just need to replace the decals with paint splotches, however getting them to stay on the enemy models or having them splatter like real world physics is not something the template covers but you may be able to integrate another asset that would handle this. edit: something like this would likely cover your request UVPaint
|
|
|
Post by shadex on Apr 25, 2017 16:35:50 GMT
how hard would it be to make changes to it so that a paintball game would be created. when a person gets hit paint splats instead of shots. Like Uber said, you just need either a system that paints decals that conform to the mesh or a way to edit the material of your player like UVPaint. I would say the easiest would be conforming decals. www.assetstore.unity3d.com/en/#/content/69618 will do it, and you can go as expensive as ProBuilders decal system. There are a ton of options. To prototype the idea fast, i would just use the decal system for bullet holes that is already in the shooter package, and change the bullet hole decal to a paint decal. You should just be able to add the character as a layer to the current decal system. Later on in the project, you'll want to make individual ammo that is colored and makes corresponding colored decals.
|
|
|
Post by sickscore on May 2, 2017 10:51:33 GMT
We are currently working on a paintball shooter. It's really easy to change the shooter controller to work as a paintball shooter. I highly recommend you the UVPaint asset.
We did the splash decals like this: Add a script to the bullet. Store the initial position and rotation in the Awake() method. Then add a function with a RaycastHit parameter to the raycast hit callback on the bullet script.
Then you can easily do: UVPaint.Create(hit.collider.gameobject, initialPos, initialRot, Texture2D);
Let me know if you need further help.
Geers, sickscore
|
|
|
Post by sickscore on May 5, 2017 17:31:29 GMT
Short preview I did in like 10 minutes
This is just a proof of concept. Ignore graphics and other flaws:D
|
|
|
Post by Legion on May 5, 2017 19:11:09 GMT
Should we buy UVPaint? We are attempting to apply decals (bullet holes, exactly) to an enemy, but we don't see how to make it work with the system included in the Shooter Template, as much as we adjust the layers and tags.
Edit: Does UVPaint include Particles System or only decals?
|
|
|
Post by sickscore on May 5, 2017 19:43:15 GMT
Should we buy UVPaint? We are attempting to apply decals (bullet holes, exactly) to an enemy, but we don't see how to make it work with the system included in the Shooter Template, as much as we adjust the layers and tags. Edit: Does UVPaint include Particles System or only decals? If you only need small decals, then you can use the built-in system. If you wanna use bigger decals or even blood splatter or something that fits perfectly on the enemy, then you need a skinned mesh painter like UVPaint. Let me know, if I can help you further. Geers, sickscore
|
|
|
Post by Legion on May 5, 2017 20:01:16 GMT
Should we buy UVPaint? We are attempting to apply decals (bullet holes, exactly) to an enemy, but we don't see how to make it work with the system included in the Shooter Template, as much as we adjust the layers and tags. Edit: Does UVPaint include Particles System or only decals? If you only need small decals, then you can use the built-in system. If you wanna use bigger decals or even blood splatter or something that fits perfectly on the enemy, then you need a skinned mesh painter like UVPaint. Let me know, if I can help you further. Geers, sickscore Thanks for the reply, we only need small holes, but the system included in the asset does not seem to apply decals to the enemies, unless we're missing something.
|
|
|
Post by sickscore on May 6, 2017 5:00:12 GMT
I can't check right now, because I'm not at home. This should be possible through the Decal Manager on the ThirdPersonShooter tho. Maybe check your Layers/Tags on that manager. EDIT:The Decal Manager (vDecalManager.cs) is on the Bullet gameobject, not on the ThirdPersonShooter.
|
|
|
Post by sjmtech on May 6, 2017 8:08:13 GMT
Here a very good resource about shooting particles and splash decals directly by Unity Learn.
|
|
|
Post by Legion on May 6, 2017 12:16:48 GMT
I can't check right now, because I'm not at home. This should be possible through the Decal Manager on the ThirdPersonShooter tho. Maybe check your Layers/Tags on that manager. EDIT:The Decal Manager (vDecalManager.cs) is on the Bullet gameobject, not on the ThirdPersonShooter. Yeah, but is not working on enemies.
|
|