Prisons
8 posts
• Page 1 of 1
PrisonsSo I have started working on my expansion again, and I decided to make a prison. The problem is, I have no idea how to make the game recognize the prison Map as a prison, so if I commit a crime and speak to a guard, it tries to send me to jail, but I just get a message saying that there is no prison nearby. So how do I make it recognize the prison?
Hail Mersant!
Re: PrisonsLook the identifier of the prison maps in the original game. Select the maps and check them in the editor. They have an id like this:
base_s1108_jail So this means that in the upper world this prison is connected to the 1108 map (the village of Phryn's center is this map). Then for example if you put a guard in the map 1108 and give him a command like player.movetojail(); with the condition of having some crime level for the player, he will put the player right in that cell. Of course on the prison map you have to have a destination place for the player with an unique id, like base_s1108_jailentry in this case.
Re: PrisonsThat's what I tried, but I think I might have forgotten the s before the numbers. I won't know for sure until I get my computer back
Hail Mersant!
Re: PrisonsOf course 's' refers to 'surface'.
Re: Prisonsso I can't have the player sent to prison from other surface map sectors, or dungeon maps?
Hail Mersant!
Re: PrisonsI don't know, try it out.
I think the player.movetojail(); script line works also on the maps right beside the 'center map' of the current jail. But from dungeons... I don't know. Check the main game's world with the editor and you can see how it works (or not works) on different maps.
Re: PrisonsMaybe a more flexible prison system would be a good feature in tq2, like the ability to have just one or two prisons per world, which could be accessed from anywhere, even dungeons. On The surface, the nearest prison would be used, and in a dungeon map, a random prison would be selected.
Hail Mersant!
Re: PrisonsOK, the more flexible prison system is now in our "to do" list for TQ2. : )
8 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 6 guests |
||