Jump to content
Sign in to follow this  
5133p39

soldier is stuck in ground, custom config

Recommended Posts

I made my own custom config based on the original BIS one (Resistance 1.96)

Everything works well, except for a policeman which is half buried in the ground, and cannot move.

There is also another thing - they are probably related - when i switch my rifle for a pistol (now i am talking about soldier, not policeman), i cannot move, and even switch back to the rifle, only switching to RPG works and then i can move again.

This is not first time, i ran into this long ago, but i can't remember what was the cause.

I haven't changed any animations, just added/replaced some weapons.

I tried to find answer in the forum, but with no succes (which doesn't mean it is not here somewhere, maybe i just used wrong keywords).

I forgot to mention i am using a mod directory, inside which is a 'bin' dir with the config, and 'addons' dir with some weapons, and altered O_WP.pbo (i tried to remove all addons, but it is still the same, so it must be something in @my_modfolder/bin/config.cpp)

Share this post


Link to post
Share on other sites

ooops? sorry, i thought i have posted into 'addon config & scripting' ...apparently not smile_o.gif sorry

Share this post


Link to post
Share on other sites

You have your config in CPP format

You need your config to be in BIN format

Use cpp2bin to convert your config.cpp to config.bin and the problem you describe will disappear

Share this post


Link to post
Share on other sites

Won't help you now, but for everyone who'll try his own custom config it is better to use the commented config from BIS instead decoding the config.bin. You can use the commented config (all files) in the bin-directory without the need to compile it into a config.bin-file (and you won't get the error with the handguns).

Share this post


Link to post
Share on other sites

And to add more about that subject, if you want all the BIS commented config hpp files in 1 config.cpp format, you can check this old thread.

Works too without having to convert into BIN format

Share this post


Link to post
Share on other sites

thanks everyone.

I have converted it to BIN and it works now.

...i don't want to rewrite all the changes again into the commented config, so i think i will stay with the CPP2BIN.

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  

×