Hi All,
I’m making a simulation about a school. there is no PC, only NPCs. The Agents of the simulation are students, teachers and maybe staff. they should go about their business as usual, like being in a class, and while in class go to the board, and back to their desk, maybe take a bathroom break, and maybe on the way they could meet another student from other class so they stop and chat a little…etc. so in short, students will have different events.
I was thinking how to organize the project, since I have made a couple attempts and the project still seems disorganized to me.
what I have is a settings file that have all the major parameters of the simulation like the frequency of events, and stuff like that.
I have an agent controller that control the movement of the agent, I plan to make subclasses of the agent as students/teachers.
I have a file that controls the general events, and here is what I feel a bit lost, right now, all I have scripted is the students going to the bathroom, yet the file is big, and has a lot of instructions, I roll a dice for each student to see if he can go to the bathroom every couple of seconds in real time, then if true, he would go to the bathroom, when he/she goes to the bathroom, the script assigns an unoccupied toilet for him, he stays there a random amount of time , then goes back to his class. And when I tried to add the event of stopping to chat with other students, things pretty much exploded.
tl;dr: I am making a simulation about a school with students that has several events, how do I go about organizing the components and so?
I hope I’m making sense, and sorry for the long post. please let me know your thoughts about this, and /or if you need any information about the setup.