How should I go about this?
How should I go about this?
I dont really understand what you mean by this, do you want to create bullet decals on the wall, or decals on the bullets, im a bit confused with what you mean?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Charlie Fisher
Game Designer/Level Designer
Contact: If you are in need of any help, or if you have any questions about 3d Modelling, or you need information about using the Unreal Engine, then please make sure to contact me at the following address, as i would be happy to help you out!: GreenFishStudios@live.com
Some of my Work: If you would like to take a look at some of the work that i have created, then please make sure to visit my Youtube channel. I have recently created this channel, which means that i have not uploaded very much work on it, but i will be sure to add some more work soon.
Youtube Channel Address: http://www.youtube.com/user/GreenFi5hStudios
I will be able to provide you with any support, or queries that you have, so please make sure to contact me, either on the forums via PM, or to my business address, and i will provide you with a reply, within 48 hours!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i reckon he means decals on a skeletal mesh like a blood stain on a skeletal mesh something like that,
http://www.clodel-studios.com/UDKC/ Is IRC Channel
Yeah, reinrag got it. How would I go about creating damage decals for a skeletal mesh? Like in Far Cry
That would be handled by the weapon. The UTWeapons already handles decals, you just need to define what texture to use.
If you do not use the UTweapon classes, you would look through the UTWeapon classes and see how they do it, then try to replicate it.
Please don't send me private messages asking how to use UDK unless it has to do with my work, everything I can teach is already out there.
I am not support, I am here to learn myself.
I checked the UTWeapon class and it's super classes. It doesn't appear to have any variable associated with decals that I could find. I looked in UTWeaponAttachment class and found a DefaultImpactEffect object and an ImpactEffect object that seemed very useful. I previously used the defaultimpacteffect to spawn my particle effect and sound, but for some reason, it won't always spawn the DecalMaterial which I add to the DecalMaterials array (or whatever DecalMaterials object is because I'm really not sure at this point) Once I get this working, I can use ImpactInfo and add a materialtype so that when it hits a player or character, it will spawn the associated decal (the decal which is linked up to the generic person material)
(If my idea above isn't going to work, please let me know. Thanks)
Previously I was spawning decals via the ProcessInstantHit method of my weapon class using WorldInfo.MyDecalManager.SpawnDecal and that was working on static meshs very nicely, but not on characters. I'm just curious what I am doing wrong. Like stated above, when I comment out the ProcessInstantHit code I added for the decal spawn and use UTWeapon's ProcessInstantHit, it only shows the decals occasionally. Here is the code I used to initialize DefaultImpactEffect.
DefaultImpactEffect=(ParticleTemplate=ParticleSyst em'Postal2_Remake.Particles.Bullet_Impact',Sound=S oundCue'A_Weapon_ShockRifle.Cue.A_Weapon_SR_AltFir eImpactCue',DecalMaterials=(DecalMaterial'Postal2_ Remake.Materials.MachineGunHit_DecalMaterial'), DurationOfDecal=4.000000, DecalDissolveParamName="DissolveAmount", DecalWidth=16.000000, DecalHeight=16.000000)
I am using the Feb 2012 version of udk. I'm not sure if that could be a reason.
if its blood effects you want then its called/set in the UTFamilyInfo.uc , have a look in the UTFamilyInfo_Liandri.uc
UT40K:The Chosen - Warhammer 40,000 for UDK
ut40kgeodav - UT3 Tutorials - Characters - Weapons - Vehicles - FaceFX
UDK Tutorials - Basics - Vehicles - Characters - Weapons
Our BloodEffects with particle systems work (Not amazingly though). What we are trying to do is place a red mark on the enemy to indicate the location of a hit. We are also trying to get the decals to appear without having to put the spawning of the decals in ProcessInstantHit() of the weapon class.
maybe BloodSplatterDecalMaterial=MaterialInstanceTimeVar ying'T_FX.DecalMaterials.MITV_FX_OilDecal_Small01'
or in the weapon attachment classCode:DefaultImpactEffect=(ParticleTemplate=ParticleSystem'WP_ShockRifle.Particles.P_WP_ShockRifle_Beam_Impact', Sound=SoundCue'A_Weapon_ShockRifle.Cue.A_Weapon_SR_AltFireImpactCue') ImpactEffects(0)=(MaterialType=Water, ParticleTemplate=ParticleSystem'WP_LinkGun.Effects.P_WP_Linkgun_Beam_Impact_HIT', Sound=SoundCue'A_Weapon_Link.Cue.A_Weapon_Link_FireCue')
UT40K:The Chosen - Warhammer 40,000 for UDK
ut40kgeodav - UT3 Tutorials - Characters - Weapons - Vehicles - FaceFX
UDK Tutorials - Basics - Vehicles - Characters - Weapons
What you want is http://udn.epicgames.com/Three/HitMask.html
FREELANCER PROGRAMMER/ARTIST OPEN FOR HIRE
Tutorial :
Vaulting Using Actors
Widescreen Hotfix (Canvas)
Scene Contrast PostProcess
Creating Menus/Buttons Using Canvas
RPG Inventory Abstract
Ocean Waves using World Position Offset
Sniper Lens Effect
Packs/Downloads :
BallGame Starter Pack
Zombies Demo/Source Code
Please do not PM me with questions. I am very busy and questions are better off left to the forums. Thank You
Yes, that is exactly what I am looking for. I'm going to try to get it working, then post what I have. Thanks 'TheAgent', short and sweet.
TheAgent, thanks for the Hitmask link, but for the love of God, the tutorial on there is pretty vague and I'm going crazy trying to get it all to work. I'm pretty dang sure I have the code working just fine, but could some kind soul out there make a video tutorial or something on how to make the material?
Thanks
Bumpity bump bump
We finally got it. It works just like the tutorial suggests but we were using our skeletal meshes in a weird way. Previously, we had a body skeletal mesh and a head skeletal mesh. We combined these with maya and allowed 2 materials, one for the head material, and one for the body material. We think the maskTexture that I created was wrapping around the whole skeletal mesh, not just the body skeletal mesh where the material was added. We believe this messed with the UVs and caused weird results when shooting the character. When we changed back to just having the body skeletal mesh, attaching the head as a skeletal mesh component to a socket located on the head bone. This worked perfectly! Thanks for everyone's advice.
Bookmarks