Jump to content
Sign in to follow this  
Architeuthis

How to add.....

Recommended Posts

Description.ext

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

{

class soldierOne

{

name = soldierOne;

face = face7;

glasses = sunglasses;

speaker = Jonah;

pitch = 1.05;

};

In soldierOne's initfield:

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

Share this post


Link to post
Share on other sites

When I try that it doesn't work sad_o.gif Can't type something directly into the soldiers init line?

Anyway thanks for your help.

Arch.

Share this post


Link to post
Share on other sites

I guess the word "sunglasses" should be something else... Sorry, I don't know confused.gif

Share this post


Link to post
Share on other sites

Try :

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

{

Identities[] = {};

class SoldierOne

{

name = "SoldierOne";

face = "face24";

glasses = "sunglasses";

speaker="Adam";

pitch = 1.10;

};

};

in your description.ext with the same in the soldiers init. Works for me ( its Gastovski ).

Share this post


Link to post
Share on other sites

What if i change the classname in otherwords the soldiers name and have it according to my wish will it still work or OFP wont recognize the newboy? rock.gif

Share this post


Link to post
Share on other sites

As long as the "setidentiy" name is the same as the class name it should be fine.

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  

×