Ok, the Lava Caster is a child of the Bio-Rifle
Does this mean that for every category (DamTypeBioGlob, BioAmmoPickup, etc) I need to have a subclass?
So for my Lava Caster Pickup it needs to be
class LavaCasterPickup extends class BioRiflePickup
or my DamTypeLavaGlob needs to be
class damtypelavaglob extends class damtypebioglob
and so forth? Lemme post some of my code.
This is the DamTypeLavaGlob code
This is the LavaAmmo
This is the LavaAmmoPickup
This is the LavaCasterPickup code
This is my AltFireSmallLavaGlob code
Wherever there is "XXXXXX" that means I don't have that package yet. Could you guys check my code for blatant errors, please?
Edit: Also, what do I need to code to make the glob burn you even after you leave it's area?
#2. How do I make it skeletize people when they die from being killed with the Lava Caster?
Does this mean that for every category (DamTypeBioGlob, BioAmmoPickup, etc) I need to have a subclass?
So for my Lava Caster Pickup it needs to be
class LavaCasterPickup extends class BioRiflePickup
or my DamTypeLavaGlob needs to be
class damtypelavaglob extends class damtypebioglob
and so forth? Lemme post some of my code.
This is the DamTypeLavaGlob code
Code:
class DamTypeLavaGlob extends DamTypeBioGlob
abstract;
defaultproperties
{
DeathString="%o was ignited by %k's Lava Caster."
MaleSuicide="%o was terminated by his own lava."
FemaleSuicide="%o was terminated by her own lava."
WeaponClass=class'LavaCaster'
bDetonatesgoop=true
bDelayedDamage=true
}
Code:
class LavaAmmo extends BioAmmo;
defaultproperties
{
ItemName="Lava Caster Ammo"
IconMaterial=Material'InterfaceContent.Hud.SkinA'
IconCoords=(X1=545,Y1=75,X2=644,Y2=149)
PickupClass=class'LavaAmmoPickup'
MaxAmmo=30
InitialAmount=10
}
Code:
class LavaAmmoPickup extends BioAmmoPickup;
#exec OBJ LOAD FILE=PickupSounds.uax
defaultproperties
{
InventoryType=class'LavaAmmo'
PickupMessage="You picked up some Lava Caster ammo"
PickupSound=Sound'PickupSounds.FlakAmmoPickup'
PickupForce="FlakAmmoPickup" // jdf
AmmoAmount=15
StaticMesh=StaticMesh'XXXXXXX'
DrawType=DT_StaticMesh
}
Code:
class LavaCasterPickup extends BioRiflePickup;
defaultproperties
{
InventoryType=class'LavaCaster'
PickupMessage="You got the Lava Caster"
PickupSound=Sound'PickupSounds.FlakCannonPickup'
PickupForce="FlakCannonPickup" // jdf
MaxDesireability=+0.75
StaticMesh=StaticMesh'XXXXXX'
DrawType=DT_StaticMesh
DrawScale=0.7
}
Code:
class LavaSmallProj extends BioGlob;
defaultproperties
{
Skins(0)=Texture'H_E_L_Ltx.Shaders.cp_lava2_epic'
DrawScale=0.7
Damage=33.0
DamageRadius=180.0
MomentumTransfer=40000
MyDamageType=class'DamTypeLavaGlob'
}
Wherever there is "XXXXXX" that means I don't have that package yet. Could you guys check my code for blatant errors, please?
Edit: Also, what do I need to code to make the glob burn you even after you leave it's area?
#2. How do I make it skeletize people when they die from being killed with the Lava Caster?
Last edited: