Jump to content
Sign in to follow this  
p1GER

Custom Lightbar for Arma 2 OA

Recommended Posts

Hello Everybody,

i started to make my first model. Im working on this lightbar at the moment. The basic model is finished, i just need to add some more details.( im using 3DS max 2011 to model)

So my first question is how to bring this model into arma 2 oa. I have downloaded the Arma sample models and used the sedan. i placed the lightbar on the car, saved it as 3ds, opened it in O2 and exported it to a p3d file.

i havent change the name. name is still car_sedan. its in a folder with the .TGA and the model cfg from the sample models. i have put this folder in the game directory: @lightbar test/Addons/police sedan.pbo

But somehow i cant find it ingame. Would be nice if somebody of you can help me.

Heres a pic of the model.

http://img856.imageshack.us/img856/2778/3dsmax2011110721390482.png

The max. allowed image size here is 100kb, see forum rules!

Edited by W0lle

Share this post


Link to post
Share on other sites

I'm not an expert on configs but for starters:

1. If you want to have your model replacing another model , you have to structure it like the original one. CA\Data\...\car.p3d say, or use a config file to change the location of the p3d.

2. A1 Sample models aren't in ArmA 2, so you have to port the config and such to arma 2, because naturally it isn't there.

And a bit of a side note, it's always good practice to underscores instead of spaces. Ie police_sedan instead of police sedan. It's not really necessary and maybe I'll get some heat for this.

Share this post


Link to post
Share on other sites
class CfgPatches
{
class TAG_Name
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"CAWheeled"};
};
};
class CfgVehicles
{
class SkodaBase;
class car_sedan: SkodaBase
{
	model = "\path\to\model\P3dName.p3d";
};
};

Share this post


Link to post
Share on other sites

Have fun with it.

I try it to. But my animation dont loop :( and to set a recolored *paa is not so easy.

If you add the lightbar to the policecar, you have to change the config.cpp

You need, a new animationsource, new useraction (stop/start) and a *.sqf file for the lights and the sounds.

Or ArmaTec can do it for you. He has the knowhow.

You work with shining *.rvmat files and settexture command or do you work with *lighpoint attachto command for your lightbar?

how to find it in the editor:

Do you create a own class?

Do you have the stringtable.csv in the folder?

is it "scope = 2"; ?

Edited by Drunken Officer

Share this post


Link to post
Share on other sites

i just have put the lightbar on the sample sedan converted it to p3d and used the model config from the sample pack. then i packed it as a pbo and put it into a addon folder.

but as Fox '09 already said the sample model is not working for arma 2

i will try it with the config PvPscene posted first (thank you)

and after i got the lightbar ingame i will try to make all the other important stuff.

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  

×