This is starting to just make me feel like a complete idiot...
Things I have been able to do:
- Make weapons costumes into totally stand alone weapons
- Make totally stand alone weapons support skins
- Make exactly one weapons support a costume, but no skins for said costume
It seems that any time I try to use an item for another weapons costume, it breaks everything. EXAMPLE!
That is the code for the Laser Pistol, just the normal one that the Zen use. Notice how it is indexed at 0, this is the index for the default costume for all guns. This is the code for the Han Solo costume for the rapid fire handgun:
Here is what I assumed would be a totally functional code to give the laser pistol the Han Solo costume, as I got this SAME SETUP to work ONE TIME. I did the exact same changes to make the WW2 sniper rifle costume work on my stand alone burst rifle. It will not support skins, because if I make that change it breaks the costume on both rifles. So what happens when I use this code:
I'll tell you what happens... NOTHING! It just breaks the weapon model for both guns. There is no Han Solo blaster costume for light or laser. You're treated to its utter removal from the game for some daft reason. I've tried all kinds of things, even creating brand new inventory entries and everything. Its literally easier to make stand alone weapons.
Any thoughts?
Things I have been able to do:
- Make weapons costumes into totally stand alone weapons
- Make totally stand alone weapons support skins
- Make exactly one weapons support a costume, but no skins for said costume
It seems that any time I try to use an item for another weapons costume, it breaks everything. EXAMPLE!
Code:
<Costume>
<Name>Pistol-Revolver</Name>
<_Editor>
<Category>Entries:weapon_radial:pistol</Category>
</_Editor>
<Animation_Group>Pistol</Animation_Group>
<Brass>Handgun</Brass>
<Audio>
<Weapon_Model>PISTOL_ALIENREVOLVER</Weapon_Model>
<Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
<Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
<looping>False</looping>
<Sound_Radius>60</Sound_Radius>
<Soundbank_Name>Wep_Alien_Ranged_Heavy</Soundbank_Name>
<alt_looping>False</alt_looping>
</Audio>
<Constant_Effects />
<Effect_Situations>
<Effect_Situation>
<Situation>overheat</Situation>
<Effect>Wep_OverHeat</Effect>
</Effect_Situation>
</Effect_Situations>
<Tracer_Info>
<Tracer>Alien_Rifle_Tracer</Tracer>
<Tracer_NPC>Alien_Rifle_Tracer</Tracer_NPC>
<Alt_Tracer>Alien_Rifle_Tracer</Alt_Tracer>
<Alt_Tracer_NPC>Alien_Rifle_Tracer</Alt_Tracer_NPC>
<Tracer_Frequency>1</Tracer_Frequency>
</Tracer_Info>
<Alt_Override_Bullet_Impact_Effect>BulletHit_StagRifle</Alt_Override_Bullet_Impact_Effect>
<Override_Bullet_Impact_Effect_NPC>BulletHit_StagRifle</Override_Bullet_Impact_Effect_NPC>
<Alt_Override_Bullet_Impact_Effect_NPC>BulletHit_StagRifle</Alt_Override_Bullet_Impact_Effect_NPC>
<Weapon_Entry>Pistol-Revolver</Weapon_Entry>
<Item_Entry>Pistol-Revolver</Item_Entry>
<Inventory_Entry>Pistol-Revolver</Inventory_Entry>
<Costume_Slot_Index>0</Costume_Slot_Index>
<Misc_Effects />
<Display_Name>CUST_WPN_COSTUME_DESC_ALIENPISTOL_0</Display_Name>
<Description>CUST_WPN_COSTUME_NAME_ALIENPISTOL_0</Description>
<Underslung_Fine_Aim>False</Underslung_Fine_Aim>
<Reload_Animation_Group>StagRifle</Reload_Animation_Group>
</Costume>
That is the code for the Laser Pistol, just the normal one that the Zen use. Notice how it is indexed at 0, this is the index for the default costume for all guns. This is the code for the Han Solo costume for the rapid fire handgun:
Code:
<Costume>
<Name>PistolLight-1-Blaster</Name>
<_Editor>
<Category>Entries:weapon_radial:pistol</Category>
</_Editor>
<Animation_Group>Pistol</Animation_Group>
<Audio>
<Weapon_Model>PISTOL_LIGHTBLASTER</Weapon_Model>
<Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
<Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
<looping>False</looping>
<Sound_Radius>50</Sound_Radius>
<Soundbank_Name>Wep_Pistol_Lt_Costume</Soundbank_Name>
<alt_looping>False</alt_looping>
</Audio>
<Constant_Effects />
<Effect_Situations>
<Effect_Situation>
<Situation>player flashlight</Situation>
<Effect>VFX_Wep_FlashLight</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>npc flashlight</Situation>
<Effect>VFX_Wep_FlashLight</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>muzzle flash</Situation>
<Effect>VFX_PistolBlaster_Muzz</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>tracer</Situation>
<Effect>VFX_PistolBlaster_Tracer</Effect>
</Effect_Situation>
</Effect_Situations>
<Tracer_Info>
<Tracer>Pistol-Blaster</Tracer>
<Tracer_NPC>Pistol-Blaster</Tracer_NPC>
<Alt_Tracer>Pistol-Blaster</Alt_Tracer>
<Alt_Tracer_NPC>Pistol-Blaster</Alt_Tracer_NPC>
<Tracer_Frequency>1</Tracer_Frequency>
</Tracer_Info>
<Costume_Slot_Index>1</Costume_Slot_Index>
<Weapon_Entry>Pistol-Police</Weapon_Entry>
<Item_Entry>Pistol-LightBlaster</Item_Entry>
<Inventory_Entry>Pistol-Police-Smuggler</Inventory_Entry>
<Misc_Effects>
<VFX>VFX_PistolBlaster_Tracer</VFX>
<VFX>VFX_PistolBlaster_Muzz</VFX>
</Misc_Effects>
<Display_Name>CUST_WPN_COSTUME_DESC_LTPISTOL_1</Display_Name>
<Description>CUST_WPN_COSTUME_DESC_LTPISTOL_1_DESC</Description>
<Override_Bullet_Impact_Effect>VFX_PistolBlaster_HitVFX</Override_Bullet_Impact_Effect>
<Alt_Override_Bullet_Impact_Effect>VFX_PistolBlaster_HitVFX</Alt_Override_Bullet_Impact_Effect>
<Override_Bullet_Impact_Effect_NPC>VFX_PistolBlaster_HitVFX</Override_Bullet_Impact_Effect_NPC>
<Alt_Override_Bullet_Impact_Effect_NPC>VFX_PistolBlaster_HitVFX</Alt_Override_Bullet_Impact_Effect_NPC>
<Underslung_Fine_Aim>False</Underslung_Fine_Aim>
<Unlocked>True</Unlocked>
</Costume>
Here is what I assumed would be a totally functional code to give the laser pistol the Han Solo costume, as I got this SAME SETUP to work ONE TIME. I did the exact same changes to make the WW2 sniper rifle costume work on my stand alone burst rifle. It will not support skins, because if I make that change it breaks the costume on both rifles. So what happens when I use this code:
Code:
<Costume>
<Name>Pistol-Revolver-1-Blaster</Name>
<_Editor>
<Category>Entries:weapon_radial:pistol</Category>
</_Editor>
<Animation_Group>Pistol</Animation_Group>
<Audio>
<Weapon_Model>PISTOL_LIGHTBLASTER</Weapon_Model>
<Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
<Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
<looping>False</looping>
<Sound_Radius>50</Sound_Radius>
<Soundbank_Name>Wep_Pistol_Lt_Costume</Soundbank_Name>
<alt_looping>False</alt_looping>
</Audio>
<Constant_Effects />
<Effect_Situations>
<Effect_Situation>
<Situation>player flashlight</Situation>
<Effect>VFX_Wep_FlashLight</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>npc flashlight</Situation>
<Effect>VFX_Wep_FlashLight</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>muzzle flash</Situation>
<Effect>VFX_PistolBlaster_Muzz</Effect>
</Effect_Situation>
<Effect_Situation>
<Situation>tracer</Situation>
<Effect>VFX_PistolBlaster_Tracer</Effect>
</Effect_Situation>
</Effect_Situations>
<Tracer_Info>
<Tracer>Pistol-Blaster</Tracer>
<Tracer_NPC>Pistol-Blaster</Tracer_NPC>
<Alt_Tracer>Pistol-Blaster</Alt_Tracer>
<Alt_Tracer_NPC>Pistol-Blaster</Alt_Tracer_NPC>
<Tracer_Frequency>1</Tracer_Frequency>
</Tracer_Info>
<Costume_Slot_Index>1</Costume_Slot_Index>
<Weapon_Entry>Pistol-Revolver</Weapon_Entry>
<Item_Entry>Pistol-LightBlaster</Item_Entry>
<Inventory_Entry>Pistol-Police-Smuggler</Inventory_Entry>
<Misc_Effects>
<VFX>VFX_PistolBlaster_Tracer</VFX>
<VFX>VFX_PistolBlaster_Muzz</VFX>
</Misc_Effects>
<Display_Name>CUST_WPN_COSTUME_DESC_LTPISTOL_1</Display_Name>
<Description>CUST_WPN_COSTUME_DESC_LTPISTOL_1_DESC</Description>
<Override_Bullet_Impact_Effect>VFX_PistolBlaster_HitVFX</Override_Bullet_Impact_Effect>
<Alt_Override_Bullet_Impact_Effect>VFX_PistolBlaster_HitVFX</Alt_Override_Bullet_Impact_Effect>
<Override_Bullet_Impact_Effect_NPC>VFX_PistolBlaster_HitVFX</Override_Bullet_Impact_Effect_NPC>
<Alt_Override_Bullet_Impact_Effect_NPC>VFX_PistolBlaster_HitVFX</Alt_Override_Bullet_Impact_Effect_NPC>
<Underslung_Fine_Aim>False</Underslung_Fine_Aim>
<Unlocked>True</Unlocked>
</Costume>
I'll tell you what happens... NOTHING! It just breaks the weapon model for both guns. There is no Han Solo blaster costume for light or laser. You're treated to its utter removal from the game for some daft reason. I've tried all kinds of things, even creating brand new inventory entries and everything. Its literally easier to make stand alone weapons.
Any thoughts?