Jump to content
Sign in to follow this  
Jagermeisters

RPGs Taking Pistol Ammo Slots (Crash)

Recommended Posts

I have my own custom config. One of the things I thought was brilliant was LAW/RPG/AT/M203 ammo taking up pistol ammo slots instead of main ones. It worked perfectly for every mission and campaign I played; no problems. Then I re-played the Resistance campaign.

Crash.

Basically, if I end any mission with my men carrying RPG ammo, the game crashes as soon as I hit the next mission briefing (before I actually get to the briefing; but after the cutscene). If I tell them to drop the ammo before the mission ends, it works fine.

I'm guessing this has something to do with Resistance's ammo pool feature. My question...what can I do to fix it? Obviously, regular pistol ammo doesn't cause the game to crash. I really enjoy grenadiers and LAW men being able to carry the same ammo load regular soldiers do, while carring LAWs and M203s. I don't want to give that up.

Some solutions I tried:

- I also tried making LAW ammo magazinetype=0 (instead of magazinetype=32), so it doesn't take up a slot at all. But now soldiers can carry unlimited amounts. Is there a way to limit it?

- Here's my edited RPGLauncher config:

class RPGLauncher:LAWLauncher

{

initSpeed=115;

model="\rhs_rpg22\rpg22e.p3d";

modelspecial="\rhs_rpg22\rpg22.p3d";

modelOptics="optika_RPG";

ammo="RPG22";

magazines[]={"RPGRocket","RPGLauncher"};

displayName="RPG-22 Launcher";

displayNameMagazine="RPG-22 Rocket";

shortNameMagazine="RPG-22 Rocket";

magazineType="4 * 32";

magazineReloadTime=12;

reloadTime=0.5;

opticsZoomMin=0.18;

opticsZoomMax=0.18;

distanceZoomMin=100;

distanceZoomMax=100;

};

class RPGRocket:RPGLauncher

{

};

Edited by Jagermeisters
Added example

Share this post


Link to post
Share on other sites

You might have to delete your saved games. Weapons info is stored there and if there is a change it could crash.

Share this post


Link to post
Share on other sites

Even if it's a reverted campaign? I started over and played from the beginning. Do the saves still effect it? I guess I could delete the Saved folder and try again. I'll get back to you.

Edit: I tried deleting the Saved folder, but after a false alarm, it still doesn't work. :(

What caused the false alarm was I deleted magazines= from the config. Now RPGLauncher would use only "RPGLauncher" as its magazine - instead of "RPGRocket." I did that and the game didn't crash... but it caused bigger problems.

- There's problems with RPGLauncher with magazinetype=32. For some reason, I can't select the magazine in the weapon selection screen. It's just not there; it's gone. But SoldierGLAW comes with the ammo and it's there. But if I get get rid of his weapon, then I try to add it back -- it's gone again! Why does it work OK with RPGRocket, but not RPGLauncher as the magazine?

If I can figure that out, it'll also solve the Resistance crash.

Edited by Jagermeisters

Share this post


Link to post
Share on other sites

I SOLVED IT! :D I put this into LAWLauncher config:

weaponType="16 + 4096";

For some reason, that works. Everything works perfectly now.

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  

×