"Gibb" objects

Ask questions, discuss ideas, get answers
Post Reply
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

"Gibb" objects

Post by Diamondback »

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:

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
This Static Object shares properties normally found for a PCO. Very interesting stuff. Could have some nice applications.
See my Strasbourg map project here.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: "Gibb" objects

Post by Swaffy »

Yep I have actually died from these objects while driving a car/tank. They do collision damage.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: "Gibb" objects

Post by takiwa »

Swaffy wrote:Yep I have actually died from these objects while driving a car/tank. They do collision damage.
I have often thought about doing my scrap metal tosses from aa/at guns like this, where they would do damage from a collision rather than the unrealistic explosion of the object, but what can I say...I'm lazy :roll:
Image
Post Reply