project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 08-06-2009, 12:04 AM   #1
Ekalbs
Default [?] Coding Modular Veichles?

Hi there! I am making a few models for the bf2 engine and am wondering if its possible to have vehicle be damaged in only certain parts. For example a hostage rescue in a real ship(one that functions like a vehicle), so there's a door that can be blow open, and then inside more doors, and then you lets say have to plant bombs in the engine room to destroy it. Or another example turrets on a destroyer being destroyed without effecting the rest of the ship? And the only way the ship can be destroyed is by bomb in amou cash? If so how, Thanks and keep up the good work.

Ekalbs, hope i did that right and made it understandable.
Ekalbs is offline Reply With Quote
Old 08-06-2009, 10:07 AM   #2
Smegburt_funkledink
Deputy Lead Tester (EU)
Project Reality Beta Tester

Smegburt_funkledink's Avatar
Default Re: [?][Veichle][Codeing] Modular Veichles

Vehicles such as MBTs in PR have a kinda randomized damage system. Eg, the vehicles 'health' goes below a certain percentage, causing either the turret to stop working or the tracks to break. It's not possible to have the tracks disable specifically by being hit in the tracks themselves. This is what I've heard, I have no BF2 coding knowledge.

I'm not sure how 'child objects' work though. If the destructable sections in question arent operational objects, it's worth looking into that, if any of what I've said is correct.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-Div]Robbi "There's nothing more skanky than eating out of a tub of hummus with a screwdriver."
[R-DEV]Matrox "CHINAAAAAAA!!!"
Smegburt_funkledink is offline Reply With Quote
Old 08-06-2009, 10:30 AM   #3
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: [?][Veichle][Codeing] Modular Veichles

destructible children are not possible in bf2.

the only way that would be possible is to have your ship as a staticmesh made up of many separate statics, some being destroyable some not, but as its a static it would not be able to move.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 08-06-2009, 06:20 PM   #4
Ekalbs
Default Re: [?][Veichle][Codeing] Modular Veichles

Quote:
Originally Posted by [R-DEV]Rhino View Post
destructible children are not possible in bf2.

the only way that would be possible is to have your ship as a staticmesh made up of many separate statics, some being destroyable some not, but as its a static it would not be able to move.
ahh i c thanks rhino
Ekalbs is offline Reply With Quote
Old 08-06-2009, 07:21 PM   #5
[R-DEV]e-Gor
PR Coder Team
Supporting Member
Default Re: [?] Coding Modular Veichles?

I spent a while experimenting with something similar back in the early days of BF2 - long before I joined PR. You could try playing around with object spawners using 'holdobject', but from what I remember that wasn't exactly glitch free, and I'm not sure I ever got it working on a dedicated server.
[R-DEV]e-Gor is offline Reply With Quote
Reply


Tags
coding, modular, veichlecodeing, veichles
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:41 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.