"Gibb" objects
Posted: Wed Apr 25, 2018 2:44 am
Hey guys, yesterday while looking at some files in the Objects.rfa archive I stumbled upon the "Gibb" objects.
These are basically the debris that spawn when you shoot a stone wall with a bazooka or tank shell... turns out these objects are special static objects that are hybrids between PCOs and normal static objects, as you can see in the code below:
This Static Object shares properties normally found for a PCO. Very interesting stuff. Could have some nice applications.
These are basically the debris that spawn when you shoot a stone wall with a bazooka or tank shell... turns out these objects are special static objects that are hybrids between PCOs and normal static objects, as you can see in the code below:
Code: Select all
ObjectTemplate.create SimpleObject Gibb_concret20_m1
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.geometry Gibb_concret20_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.destroyed 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 0
ObjectTemplate.timeToLiveAfterDeath 3
ObjectTemplate.fadeAtTimeToLiveAfterDeath 1
ObjectTemplate.timeToStartFadeAfterDeath 1
ObjectTemplate.damageFromWater 0
ObjectTemplate.explosionDamage 0
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.sinkInToLandAfterDeathSpeed 10