Hi all. I just played around with modding for the first time, I know that there are many limitations in terms of what can be done with mods, and I guess I have read pretty much all modding guides and tried quite some things now. However, I have some questions about certain limitations. Is there really no way to get around them?
1. Name of a prisoner: Can't be set, can't be read, right?
2. Needs of a prisoner: Used to be possible to get/set them before, but is not possible any more in V2.0, or am I just too stupid?
3. Reputation/traits of a prisoner: Can't get them either, right? And I cannot reveal them to the player, like CIs etc. do?
4. Tooltips: Text can be added, but existing text cannot be altered, right?
5. Manned objects (like CCTV Monitor, Door Control System): Cannot be added, right? (a job for guards could be defined in production.txt to turn object a into object b, but that does not fit in my mod idea, nor was I able to actually achieve it)
6. While it is possible to find out what a prisoner is carrying, I cannot find out what he is hiding in his cell, right?
7. Neither can I find out what he is planning to do, e.g. tunnels he is going to dig, or contraband throw-ins he arranged, right?
8. I also cannot access the names (forenames/surnames) defined in biographies.txt?
9. I have no better thing than Game.Time() to initialise math.randomseed(), do I?
Thanks for any answer. Especiallxy I'd like to receive those ones pointing me to things I missed or got wrong. :)
Modding limitation questions
Moderator: NBJeff
Re: Modding limitation questions
1) Nope
2) Too stupid
3) Nope
4) Just set it again? What's the problem? Also see the tooltips topic about setting them with variables inside
5) Depends on what you want to do I guess. Could create a job taking hours to complete.
6) Nope
7) Nope
Did I say nope yet?
9) There is also World.TimeIndex
2) Too stupid
3) Nope
4) Just set it again? What's the problem? Also see the tooltips topic about setting them with variables inside
5) Depends on what you want to do I guess. Could create a job taking hours to complete.
6) Nope
7) Nope
Did I say nope yet?
9) There is also World.TimeIndex
Re: Modding limitation questions
YMS wrote:9. I have no better thing than Game.Time() to initialise math.randomseed(), do I?
There is always 3.
xander
Re: Modding limitation questions
I published my "Read Mails" mod now (http://steamcommunity.com/sharedfiles/f ... =762749999), though it's doing much less than I imagined when I started playing around with the modding system. There are some things that I might extended, though. Anyway, thanks for your answers! I guess they saved me quite some time trying to figure things out which are simply not possible.
Re: Modding limitation questions
Did you try to get the name of the prisoner by checking the tooltip of the unopened mail in his cell? Perhaps it can be grabbed that way. Haven't looked at it, but this idea just came into my mind. Would be awesome if that trick works
Who is online
Users browsing this forum: No registered users and 11 guests