aaronkirkham / jc4-console-thingy

Spawn vehicles, characters, animals, props and mess with the game in Just Cause 4.
MIT License
71 stars 19 forks source link

BUG: Skin changer immediately reverts back to Rico #19

Open jas0n098 opened 4 years ago

jas0n098 commented 4 years ago

Trying the skin command with any model seems to just work for 1 second before reverting back to Rico. Also worth mentioning is if I use Rico's Hero of Solis skin (default), the skin command has no effect at all.

Compiled from commit 85b0a39 (latest as of now) with MSVC 2017 and Windows 8.1 SDK

aaronkirkham commented 4 years ago

Interesting - have not had anyone report any issues with that during testing.

The only thing I can think of right now would be to comment out Character.cpp line 52 to 67, recompile and give it another try.

https://github.com/aaronkirkham/jc4-console-thingy/blob/433917fae850c7d7e0d4d4c2087e9851a0e670c7/src/game/character.cpp#L52-L67

jas0n098 commented 4 years ago

Nice! That did the trick. It no longer reverts to Rico after this change

aaronkirkham commented 4 years ago

Ok, thanks for testing that. I will leave this issue open for now and will take another look at that part later and try to figure out what is going on there/how to reproduce what you experienced.