Jump to content

Is there a way to move the camera without moving the player?


Scruffy Fren

Recommended Posts

I've been pouring over the code and found the IsoDummyCameraCharacter class and the IsoCamera class, but I don't know if that's right or how to put it together.  I'd like to make a mod that allows the player to "peek" around a corner if a mirror is equipped.  I thought maybe make an IsoDummyCameraCharacter one IsoSquare away and then set IsoCamera to it, but is that right? How? I'm stuck.

 

Thanks,

 

Scruffy Fren

Link to comment
Share on other sites

I'm fairly certain this is not possible through conventional modding atm.  In the future I might be able to add a dummy coop character and prevent it from rendering.

 

My workaround will be this:  If a mirror is equipped AND the player is not targeted by any zombies, the player can click on an adjacent square, become invisible to zombies and teleport to that square. In one or two seconds the player is teleported back and rendered visible to zombies again.  If the player moves at all during those one or two seconds they are also immediately teleported back and made visible to zombies again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...