Help to keep PMC Tactical alive, please donate.
Help to keep PMC Tactical alive, please donate.

Creating custom building Ruins models

ArmA editing, missions, modeling, textures, terrains

Moderators: Lone Wolf, Snake Man

Snake Man
Commander-In-Chief
Posts: 8320
Joined: August 01, 2000, 01:01:01 AM
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Creating custom building Ruins models

Postby Snake Man » November 17, 2007, 07:33:56 AM

How to create custom building ruins models with working config?

I have uploaded few example building Ruins MLOD models as reference if anyone wants to study how BIS did them. Configs can be found from buildings.pbo of course.

MLODs_ruins.rar - 633kb.

Mirror 1: megaupload
Mirror 2: bigupload
Mirror 3: filefront
PMC Tactical website is in trouble and needs your help. Please read PMC Tactical donate page for details.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Linker Split
Recruit
Posts: 14
Joined: October 19, 2007, 01:15:44 AM

Hi all

Postby Linker Split » November 17, 2007, 12:18:18 PM

Hi everybody

I'm trying to implement this feature ingame with my own BHD custom buildings.
see pictures:
Image

and

Image

First off, let me explain something:
To create a destroyable building you need to make a simple destryed model of it, then create a proper config.

the confdig should look like this:

#define ReadAndWrite 0
#define ReadAndCreate 1
#define ReadOnly 2
#define ReadOnlyVerified 3

#define private 0
#define protected 1
#define public 2

#define true 1
#define false 0

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

class CfgPatches
{
class yourclasc
{
units[] = {};
weapons[] = {};
worlds[] = {""};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class CfgDestroy
{
access = ReadAndCreate;

class BuildingHit
{
sound[] = {};
};
};
class yourowndestructionclasseffect
{
class DestroyPhase1
{
simulation = "destroy";
type = "\ca\buildings\ruins\leseni4x_ruins.p3d";
//type = "\BHD_m\Slums\slum8_dest.p3d";
position = "";
intensity = 1;
interval = 1;
lifeTime = 1;
};
};
class CfgDestructPos
{
class DelayedDestruction
{
timeBeforeHiding = 0.2;
hideDuration = "0.65+lifeTime*0.05";
};
};
class CfgVehicles
{
class Thing;
class Building;
class Strategic;
class NonStrategic : Building
{
class DestructionEffects;
};
class HouseBase;
class Land_VASICore;
class House : HouseBase
{
class DestructionEffects;
};
class BHD_slum8: BHD_GenObject
{
scope= public;
model = "\BHD_m\Slums\slum8.p3d";
displayName = "Slum (8)";
destrType = "DestructBuilding";
class DestructionEffects : yourowndestructionclasseffect{};
};
};


well, this should be the config, as I found in the Buildings.pbo... but it doesn't work properly, I mean:

When you put the object ingame, you see it, so the implementation is right.
but when you destroy it, there's an error message coming up that says:
no entry "bin\config.bin/CfgDestructPos.\BHD_m\Slums\Slum8_dest.p3d"

it seems that it can't implement the model itself...
some suggestions guys?

User avatar
jb
Recruit
Posts: 13
Joined: March 24, 2005, 06:42:57 AM
Contact:

Postby jb » November 17, 2007, 10:31:29 PM

I will soon be looking at creating some ruins for my building shortly - hope you make some progress with this :)
Image

Linker Split
Recruit
Posts: 14
Joined: October 19, 2007, 01:15:44 AM

Postby Linker Split » November 17, 2007, 11:55:43 PM

jb wrote:I will soon be looking at creating some ruins for my building shortly - hope you make some progress with this :)

i hope too, since i want to create a lot of destroyable buildings...

Linker Split
Recruit
Posts: 14
Joined: October 19, 2007, 01:15:44 AM

Postby Linker Split » November 20, 2007, 01:48:04 AM

OH GOD!
read what Armored_sheep wrote on BI forum:

http://www.flashpoint1985.com/cgi-bin/i ... try1180309

So, this time in ArmA we can use RTM animations also for buildings, and create some proper animations! :D :lol:

Snake Man
Commander-In-Chief
Posts: 8320
Joined: August 01, 2000, 01:01:01 AM
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Postby Snake Man » November 20, 2007, 05:05:32 AM

Hmm but then comes another question... how do we create RTM animations?
PMC Tactical website is in trouble and needs your help. Please read PMC Tactical donate page for details.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Linker Split
Recruit
Posts: 14
Joined: October 19, 2007, 01:15:44 AM

Postby Linker Split » November 21, 2007, 01:45:37 AM

Snake Man wrote:Hmm but then comes another question... how do we create RTM animations?


Via Oxygen 2PE!

Snake Man
Commander-In-Chief
Posts: 8320
Joined: August 01, 2000, 01:01:01 AM
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Postby Snake Man » August 13, 2008, 10:32:12 AM

Added a PMC Editing Wiki: Destroyed Building page. I would love to get more insight, even a tutorial for this subject as its very interesting.
PMC Tactical website is in trouble and needs your help. Please read PMC Tactical donate page for details.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Synide
2nd Lt
Posts: 76
Joined: November 18, 2003, 10:14:51 PM
Location: Wgtn, New Zealand
Contact:

Postby Synide » August 14, 2008, 08:49:16 AM

Snake Man wrote:Added a PMC Editing Wiki: Destroyed Building page. I would love to get more insight, even a tutorial for this subject as its very interesting.


I'd say DeanosBeano would be the one to talk too... he's done lots of .rtm's for destroying buildings... have a look over at the Ofpec forums...


Return to “ArmA Editing”

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Help to keep PMC Tactical alive, please donate.
Help to keep PMC Tactical alive, please donate.