WB Coding Activate Deathcam when Alive

正在查看此主题的用户

Yuda

Recruit
Hello, I am looking for a way to activate the deathcam during battles when the main character is still alive. I sometimes use ctrl+f5 for AI to take control of the main character and watch the battle develop.

I use Diplomacy as a base and can use a bit module system.

Eventually, I am planning to create an option to join the battles in 'spectator mode'.

thanks :smile:

EDIT: incidentally if anyone has got a better code-based alternative to pressing ctrl+f5 every single time that would be most appreciated!
 
It is not easy but possible. I have tryed easy ways and they don't work: removing troop player from party, changing set_player_troop to trp_temp_troop before battle. Player will always spawn. Even if you set troop to -1. So what you can do is fade_out player agent, change troop to trp_temp_troop and spawn new trp_player. But you need to adjust a lot of scripts like count casualties after battle and others. It is very hard.
 
点赞 0
后退
顶部 底部