Desblat Posted December 3, 2014 Share Posted December 3, 2014 I want to port my mod Hallucinations to DST.http://steamcommunity.com/sharedfiles/filedetails/?id=255213910As far as I know, sanity monsters are not synced with host, so I will not need to change anything in code, do I?Sanitymonsterspawner.lua stayed the same in DST. Do I need some additional tweaks to make my hallucinatios / sanity monsters be spawned correctly and be seen only be mad man they belong to? Link to comment Share on other sites More sharing options...
Sindex Posted December 3, 2014 Share Posted December 3, 2014 Good luck on trying to get get ported to DS:T. I love this mod for the way delves in expanding sanity issues beyond just a few shadow monsters/annoyances. Link to comment Share on other sites More sharing options...
rezecib Posted December 3, 2014 Share Posted December 3, 2014 @Desblat, All sanity monsters are on the server, and networked to clients. Every entity in the game has to be networked. I'm not familiar with your mod, but my guess is that there would be a lot of changes you'd have to make in the code, particularly making sure certain code doesn't run on clients, and adding networking. Link to comment Share on other sites More sharing options...
Desblat Posted December 4, 2014 Author Share Posted December 4, 2014 Good luck on trying to get get ported to DS:T. I love this mod for the way delves in expanding sanity issues beyond just a few shadow monsters/annoyances.TY Link to comment Share on other sites More sharing options...
Desblat Posted December 4, 2014 Author Share Posted December 4, 2014 @Desblat, All sanity monsters are on the server, and networked to clients. Every entity in the game has to be networked. I'm not familiar with your mod, but my guess is that there would be a lot of changes you'd have to make in the code, particularly making sure certain code doesn't run on clients, and adding networking.The only thing my does is creates mobs every N time depending on sanity. (also changes their stats, so they act like hallucinations) Is there any mods around what spawn mobs? Would be so much helpful. (I don't want you to spend your time writing essay about how spawning mobs in DST works) Link to comment Share on other sites More sharing options...
rezecib Posted December 4, 2014 Share Posted December 4, 2014 @Desblat, Spawning mobs in the same in DST as it is in DS, but I guess then the main thing you'll have to address is how to handle multiple players in place of any GetPlayer() calls you might have. You can look at the worldsanitymonsterspawner component to see how the way the game handles sanity monsters has changed. Link to comment Share on other sites More sharing options...
Desblat Posted December 4, 2014 Author Share Posted December 4, 2014 @Desblat, Spawning mobs in the same in DST as it is in DS, but I guess then the main thing you'll have to address is how to handle multiple players in place of any GetPlayer() calls you might have. You can look at the worldsanitymonsterspawner component to see how the way the game handles sanity monsters has changed.Thanks. This will help greatly. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now