astano 0 Posted March 9, 2006 I've never done any sort of configing or much scripting at all, so please bear with me. I want to change what a soldier is able to carry, the specific slots he has available. In particular, I want to make my RHS Mot. Inf. Artillery Soldiers and Drivers able to carry a full set of gear instead of their current setup of one primary and four magazine slots. I want them to be able to carry the full set of gear like any other soldier. I figure the unit's config is where I'll most likely be able to do this. So, is it possible? If so, could someone sort of walk me through what I need to do and how? Thanks. Share this post Link to post Share on other sites
nindall 0 Posted March 10, 2006 In the .cpp search for 'class Soldier:Man', you should find the code below- <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class Soldier:Man { vehicleClass=""; displayName="$STR_DN_SOLDIER"; nameSound="soldier"; weaponSlots="1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32"; accuracy=0.6; type=0; threat[]={1,0.05,0.05}; }; This is the code to enable all weapon solts- <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weaponSlots = "1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32"; weaponSlots for 'SoldierWMedic'- <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">weaponSlots = "1 + 4 * 256 + 4096 + 2 + 4* 32"; You can - 1. Work out what small changes will do through trial 'n' error! 2. Copy & Paste the default soldiers weaponSlots into the RHS config. Let me know if i've jumped in too deep! Share this post Link to post Share on other sites
astano 0 Posted March 11, 2006 Thanks a million! I'll try it out sometime tomorrow (it's almost 1 a.m. here and I need to get some sleep) and let you know how it works out. Share this post Link to post Share on other sites