Jump to content
Sign in to follow this  
granQ

How to quickly and easy get vehicles into ArmA3

Recommended Posts

A Patgb 203 on patrol (200 kb)

So, many of you probably have some vehicles you want to import into arma3.

There is so much new things, mirrors, physx, new rvmats stuff and probably you had some rvmat linking to ca\data\env_land.co or who knows.

Anyway, this is not to bring vehicles into arma3 all features or quality but to get vehicles ingame that function as.. vehicles. Cause the Alpha needs more transports and you want to enjoy your models before everything is figured out.

So here is a quick solution.

#define true 1

#define false 0

enum {

DESTRUCTENGINE = 2,

DESTRUCTDEFAULT = 6,

DESTRUCTWRECK = 7,

DESTRUCTTREE = 3,

DESTRUCTTENT = 4,

STABILIZEDINAXISX = 1,

STABILIZEDINAXESXYZ = 4,

STABILIZEDINAXISY = 2,

STABILIZEDINAXESBOTH = 3,

DESTRUCTNO = 0,

STABILIZEDINAXESNONE = 0,

DESTRUCTMAN = 5,

DESTRUCTBUILDING = 1,

};

class CfgPatches {

class sfp_patgb203 {

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {"A3_Soft_F"};

};

};

class DefaultEventhandlers; // External class reference

class CfgVehicles {

class Car_F;

class O_Galkin_MG_F;

class sfp_patgb203 : O_Galkin_MG_F

{

model="\sfp_ptgb203\sfp_patgb_203.p3d";

textSingular = "Patgb 203";

displayname="Patgb 203";

simulation="car";

hiddenselections[] = {"camo1"};

hiddenSelectionsTextures[] = {"\sfp_ptgb203\data\patgb203_main_co.paa"};

};

};

Quick and easy.. for the record, simulation="car"; means it use same simulation as in arma2, while carx is with physx.

Hope its useful for some otherwise for adding Physx..

http://manuals.bisimulations.com/vbs2/2-00/devref/#Adding_Models/How_to/AMHT_Physx.htm

Edited by granQ
Added link to VBS2 tutorial.

Share this post


Link to post
Share on other sites

can't, this is to help people to do their own addons.

Share this post


Link to post
Share on other sites

So, if I understand correctly, we cannot add some specific LODs in Oxigen 2 Personal Edition for Arma 2 needed for giving Physx properties, so unless we get a new Oxygen 2 version no Physx for the moment. at least not for ships.

If we follow the VSB2 manual, for ships we must add a displacement LOD, which, for the moment, it is not available in the Oxygen 2 version we have now

Share this post


Link to post
Share on other sites
so do you put this code into a sqf and throw it into addons?

nope, the config of the addons (which you of course have asked permission from their original creators to import to A3)

Share this post


Link to post
Share on other sites
nope, the config of the addons (which you of course have asked permission from their original creators to import to A3)

ah ok (of course).

Share this post


Link to post
Share on other sites

Thanks! You'd think after 10 years I'd know my way around a config by now. :o

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×