Page 1 of 1

tangability

Posted: Mon Aug 04, 2008 10:19 pm
by optic delusion
Jeff added tangability, to trunk. This allows objects to change from drivethrough to solid, via a plugin. If anyone is working on a plugin to take advantage of this property, I'm extremely interested. Please let me know what you are doing.

Posted: Mon Aug 04, 2008 10:37 pm
by JeffM
Please note that the feature is completely untested.

Posted: Tue Aug 05, 2008 12:15 am
by optic delusion
It seems like i'm the only one excited by this.
I'm trying to drum up some interest.

Posted: Tue Aug 05, 2008 12:24 am
by Jefenry
Optic Delusion wrote:It seems like i'm the only one excited by this.
I'm trying to drum up some interest.
You're definitely not the only one. :wink:

Posted: Tue Aug 05, 2008 12:36 am
by tw1sted
Optic Delusion wrote:It seems like i'm the only one excited by this.
I'm sure others will be excited once they know about this. Myself not being a plugin developer, I can't say I'm too thrilled, but I'm sure that I will be happy when someone creates a plugin that utilizes this down the road.

Posted: Tue Aug 05, 2008 4:23 am
by JeffM
It will require the map and plug-in to work in together, since the plug-in will have to specific exactly what objects to affect via there ID numbers.

Maps can't specify ID numbers because the ID number depends on where the object is in the map. So a plug-in would have to search for it by it's name using bz_findWorldObject();

What I'd do instead of just wishing for a plug-in that uses it, is to come up with a concept or idea that uses it. Then propose that, as its' a lot easier to write a plug-in to do something specific.

Currently you can't change the colors or materials of objects to go along with the tangibility update so you can't do doors that disappear or anything. That feature is planned but there are other features to be fixed first.

Tangibility is just the first part of 3 features I wanted to add, the rest being Real time Material updates, and Trigger objects. The goal being to create a system for doors or force-fields.

I'm not too sure how useful Tangibility will be on it's own with out those other features.

Posted: Wed Aug 06, 2008 2:20 pm
by Joe-Schmoe
This is GREAT.

You could give an object an animated texture right? So a door that opens and closes could be synced with the tangibility.

You could also use drawinfo to make the door "open" when a tank drives near it. So if someone is near the door, you can shoot through it, but if not, they ricochet.

Once the triggers thing is set up, it will be amazing. You could have a CTF where one teammate has to hold down a button to open the door so you can cap. You could even have a series of doors, such that it would require 3 or 4 teammates to help you in order to cap.

Question: what will happen if you're inside an object when it becomes tangible?

Posted: Wed Aug 06, 2008 3:28 pm
by ts
Animated textures are not in sync with all clients but the plugin events will be, AFAIK.