I noticed barely anybody uses this, if you want to make, say, a projectile, you don't need to copy every single value of the gun projectile and slowly modify it, it discourages a lot of people from finishing the job
use this,
datablock ProjectileData(MyProjectile : GunProjectile)
{
uiname = "My Projectile";
};
what this does is create an exact duplicate of the gun projectile, with the damage, variables and everything, this makes it easy to, say, create a new projectile datablock that works exactly like the gun projectile, only does more damage and has a different shape
datablock ProjectileData(MyProjectile : GunProjectile)
{
uiname = "My Projectile";
shapeFile = "./MyProjectile.dts";
directDamage = 1000000000000;
};
when you enter the new variable values, it overwrites the old (doesen't cause any problems tho)
can be done with vehicles too, like so
datablock WheeledVehicleData(MyVehicle : JeepVehicle)
{
uiname = "My New Jeep";
};
Upon creating this topic, I took into account that there is indeed another post on the same subject, but isn't noticed enough