Jump to content
Ghost Recon.net Forums

Recommended Posts

So I searched the forums and found out that changing class names is tricky. But they said you can switch class names with others and u can change them as long as they have the same or less letters than before. But how do you do this? I think it has to do with 'strings.res' but what exactly do u change? I keep getting a CTD right before GR actually loads. I want to change all riflemen to snipers and everyone else to spotter (SPOT is fine, or just change sniper to rifleman)

Link to post
Share on other sites

I don't think you can change class names or create more classes in SP.

In MP it can be done. Look at the MP Actor Files in either the 9MS or Alpha Squad mod to see how they did it.

Example classes for Platoon 1 (Black can not change. Red is the variable)

mp_plt1_9ms_sniper.atr

mp_plt1_swatdemo.atr

mp_plt1_9ms_spotter.atr

9MS mod has 22 different classes in Platoon 1

Example MP .atr file:

<ActorFile>

<VersionNumber>1.000000</VersionNumber>

<ArmorLevel>1</ArmorLevel>

<ActorName>9MS Spotter</ActorName>

<ClassName>sniper</ClassName>

<ModelFace>9ms-spotter-head.rsb</ModelFace>

<BlinkFaceName>9ms-spotter-head-blink.rsb</BlinkFaceName>

<DesertModelFace>9ms-spotter-head-desert.rsb</DesertModelFace>

<DesertBlinkFace>9ms-spotter-head-desert-blink.rsb</DesertBlinkFace>

<JungleModelFace>9ms-spotter-head.rsb</JungleModelFace>

<JungleBlinkFace>9ms-spotter-head-blink.rsb</JungleBlinkFace>

<KitPath>spotter</KitPath> //note this is the name of the kit folder for this class

<ModelName>ica_us_sniper.chr</ModelName>

<LOD2>ica_us_sniper_a.chr</LOD2>

<LOD3>ica_us_sniper_b.chr</LOD3>

<DesertLOD1>ica_us_sniper_desert.chr</DesertLOD1>

<DesertLOD2>ica_us_sniper_a_desert.chr</DesertLOD2>

<DesertLOD3>ica_us_sniper_b_desert.chr</DesertLOD3>

<JungleLOD1>ica_us_sniper_cuba.chr</JungleLOD1>

<JungleLOD2>ica_us_sniper_a_cuba.chr</JungleLOD2>

<JungleLOD3>ica_us_sniper_b_cuba.chr</JungleLOD3>

<Weapon>5</Weapon>

<Stamina>4</Stamina>

<Stealth>4</Stealth>

<Leadership>1</Leadership>

</ActorFile>

Link to post
Share on other sites
  • 3 months later...

Yes, it can be done, but you were right on the limitations. You'll need to edit the strings.res file - preferably with a hex editor in overwrite mode. Locate the strings for each class and overwrite them with the new values while maintaining the same number of characters (you can use blank characters to "fill" shorter names). There should (theoretically) even be a way to change the strings for longer ones but that involves a more complex approach.

Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...