Architeuthis 9 Posted October 10, 2003 How do you add sun glasses to a unit in the mission editor? Arch. Share this post Link to post Share on other sites
iNeo 0 Posted October 10, 2003 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
Architeuthis 9 Posted October 10, 2003 When I try that it doesn't work 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
iNeo 0 Posted October 10, 2003 I guess the word "sunglasses" should be something else... Sorry, I don't know Share this post Link to post Share on other sites
Poet 0 Posted October 10, 2003 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
Acecombat 0 Posted October 10, 2003 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? Share this post Link to post Share on other sites
iNeo 0 Posted October 10, 2003 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
Tobi-Wan Kenobi 0 Posted October 22, 2003 There must be a way in the init. field. Download the comref from flashpoint1985.com. Share this post Link to post Share on other sites