#High poly is done Now on to the part I

1 messages · Page 1 of 1 (latest)

grim jasper
#

@feral pumice I am going to texture it with a lot of different patterns. CADPAT, MARPAT, M81, 1990s desert, Multicam, etc. Mix and match solid colors with camos.

feral pumice
#

no patches or patches?

grim jasper
feral pumice
#

i hope u put it in ocp

grim jasper
summer ruin
#

Does reforger have the ability to add patches onto uniforms?

#

Without changing the whole top, like have a literal patch you can swap out

grim jasper
radiant thicket
#

Yup, it's possible - look at how the flashlight is shown on the soviet jacket if it's in the inventory when no webbing is equipped

#

you'd want to add a new Common Item Type for Patches and then in the Jacket's Initial Storage Slots (under SCR_EquipmentStorageComponent) add a slot that can allow Item Type 'Patches' and has no occluders

#

(You'd also need to make sure IsVisibleEquipped() in SCR_GadgetComponent.c returns true for your item)

grim jasper
grim jasper
radiant thicket
#

nice work!

grim jasper
radiant thicket
#

I'm out for the night but the long and short of it is isVisible needs to return true (see the flashlight and radio components)

radiant thicket
#

aha ok I'm at my PC (with a bit of a sore head)

#

SCR_GadgetComponent.c has bool IsVisibleEquipped(), which returns false by default - and so is hidden from being shown on equipment

#

so you could make a script that creates a new class, like flashlights and radios do, for a Gadget type that is a patch (e.g. SCR_PatchComponent) that overrides that function and shows it

You'd then also want to add a gadget type for PATCH to enum EGadgetType in SCR_GadgetComponent.c

#

which would be something like this...

#

``[EntityEditorProps(category: "GameScripted/Gadgets", description: "Patches", color: "0 0 255 255")]
class SCR_PatchComponentClass: SCR_GadgetComponentClass
{
};

modded enum EGadgetType
{
PATCH = 256
};

//------------------------------------------------------------------------------------------------
class SCR_PatchComponent : SCR_GadgetComponent
{
//------------------------------------------------------------------------------------------------
override bool IsVisibleEquipped()
{
return true;
}
};``

#

Then you add SCR_PatchComponent to your prefab instead of, for example, SCR_RadioComponent

radiant thicket
#

then in your uniform item you can add an initialstorageslot with allowed item type 'PATCH'

summer ruin
#

Left and right shoulder patches would be awesome

#

Right arm for flags and left for unit patches

grim jasper
feral pumice
#

@grim jasper whens ocp coming out?

grim jasper
feral pumice
#

let me help u

grim jasper