Jump to content
Sign in to follow this  
AgentJonathan

Script style pbo

Recommended Posts

Here it is: (d means details

1-=<[}How can I use units from the game, so that I can equip them customly, and make it a game addon?

1d<span style='font-size:7.1pt;line-height:100%'>I</span>-=<[}I know an Officer has an AK74 and some other crap, but I was wondering how I can get into his config, and re-equip him with an AK47 (I would not overwrite the original officer though. wink_o.gif )

1d<span style='font-size:7.1pt;line-height:100%'>II</span>-=<[}If someone could supply me with all of the p3d filenames for the east (and west) units...

Thx all! welcome.gif

Share this post


Link to post
Share on other sites

Well,here's the p3d file names.

I think I've got em all.

East:

mc pilote2.p3d Pilot

mc snipere2.p3d Sniper

mc specnas2.p3d Spetznaz

mc tankistae2.p3d TankCrew

mc vojake2.p3d Soldier

mc vojakeo2.p3d Officer

mc vojake2_guba.p3d Guba

West:

mc Pilotw2.p3d Pilot

mc saboteur.p3d BlackOps

mc saboteurday.p3d BlackOps(day)

mc sniperw2.p3d Sniper

mc tankistaw2.p3d TankCrew

mc vojakw2.p3d Soldier

mc vojakwo2.p3d Officer

Resistance:

mc vojakg2.p3d Soldier

mc vojakg3.p3d Soldier?

mc vojakgo2.p3d Officer

You'll have to forgive me if I've missed any. wink_o.gif

Any good?

Share this post


Link to post
Share on other sites

Hekk yeah! All I need now is a way to put it in a script, and then (actually) C++ it (and then makepbo it!wink_o.gif

Share this post


Link to post
Share on other sites

I am satisfied, but now I'm hungry for more!!! crazy_o.gifbiggrin_o.gif

I was wondering, (I am a jerk) If you had the civillian names. (And missing sniper from the resistance list wink_o.gif )

Share this post


Link to post
Share on other sites

Hey AgentJonathan,

You can easily find out which model relates

to which unit,from the main config.bin.

I'm just a little busy with other things right now.

Otherwise I'd gladly help you out.

The resistance sniper,is that the "hunter"?

With the "kozlice"?

If so,that unit is derived from "SoldierGB",

which in turn uses "MC vojakg2".

He's just configged with a different loadout.

Good luck with your project.

smile_o.gif

Share this post


Link to post
Share on other sites

Thx Macser for the help that I really don't deserve. smile_o.gif For that, you rock... wink_o.gif

PS: If you have resistance 1.84, there actually is a resistance sniper, labeled "Sniper". smile_o.gif

Share this post


Link to post
Share on other sites

I do, however, have one important q for anybody to answer:

1.)How can I make the download link for my "To be created" units?

2.)Is copying and pasting a PBO on this forum (or anywhere else) illegal? Because I thought that would be a good alternative to download.

Share this post


Link to post
Share on other sites
Quote[/b] ]If you have resistance 1.84, there actually is a resistance sniper, labeled "Sniper".

Classname: "SoldierGSniper"

Model Name: mc_specG

Planck

Share this post


Link to post
Share on other sites

Do you mean what, or where?

Where:

Config.bin of O_WP.pbo

Planck

Share this post


Link to post
Share on other sites

I mean this: (NOTE: I only have keyword pieces)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define east

#define west

class Soldiers

weapons={M16,Throw,Put}

magazines={M16,M16,M16,M16,HandGrenade}

model={mc vojakgo2.p3d}

It's something like that...

I just wanna know how to configure certain men (eg: Man6 with a Beretta) with certain guns and stuff. And put it into it's own catagory. eg: JAM weapons pack wasnt mixed in with men, instead they made they put their specially cfg'd guys into their own "folders", JAM men.

I hope someone understands my alienic logic. tounge2.gif

Share this post


Link to post
Share on other sites

AHA! Here's my soloution!

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man:Land {};

class Soldier:Man {};

class SoldierWB:Soldier {};

class TEM_WBSoldier: SoldierWB

{

model="MC vojakW2";

hiddenSelections[] = {"medic"};

moves=CfgMovesMC;

//picture=ivojak;

vehicleClass="JAM - Men";

scope=public;

side=TWest;

accuracy=0.7;

displayName="Soldier (Gun)";

weapons[]={"JAM_M16","Throw","Put"};

magazines[]={"JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","JAM_W556_30Bmag","HandGrenade","HandGrenade","HandGrenade","HandGrenade"};

cost=40000;

};

};

Here's the things that I would still love to learn...

1.) Civillian p3d names...

2.) How to configure units to cars...

3.) If I screwd anything up, please tell me...

yay.gif AgentJonathan yay.gif

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  

×