- Posts: 774
- Thank you received: 15
Spam Prevention - PLEASE READ !! (23 Apr 2021)
Due to a problem with spammers the rules for posting in the forums have changed for new users.
Newly registered users won't have their posts published until a moderator approves them.
How to make characters appear randomly in a mission/scenario?
- Slippery Jim
-
- Administrator
-
With a custom app you could then load that template and it would generate many different random versions of this scenario. The only difference between each scenario would be the random number of suspects/hostages.
I may be able to talk my son into making a Python app that does this. He sounded interested when I mentioned it the other day. Just let me know if you want it done.
Please Log in or Create an account to join the conversation.
- mobiuscenturion
-
Topic Author
- New Member
-
- Posts: 17
- Thank you received: 0
I may be able to talk my son into making a Python app that does this. He sounded interested when I mentioned it the other day. Just let me know if you want it done.
Dang, I'd really appreciate that. Second time this website is willing to work with a relatively big request (1st was Copy Cat remodeling hostages for me).
Please Log in or Create an account to join the conversation.
- Slippery Jim
-
- Administrator
-
- Posts: 774
- Thank you received: 15
Objectives
Hostage Rescue 1
Suspect Neutralize 2
TRACI_B Arrest 1
Characters
There are 5 different types of characters in this section:
Primary suspect - action is "Arrest"
Primary hostage - action is "Primary"
Suspect - action is "Neutralize"
Civilian - action is "None"
Hostage - action is "Rescue"
I can see the amount of suspects, civilians, and hostages to be randomized but should the primary suspects be randomized also? It can be done but you would have to be careful not to mention the primary in the mission description (since they might not be there if randomized).
Updated: forgot to include one type of character action
Please Log in or Create an account to join the conversation.
- Slippery Jim
-
- Administrator
-
- Posts: 774
- Thank you received: 15
Please Log in or Create an account to join the conversation.
- Slippery Jim
-
- Administrator
-
- Posts: 774
- Thank you received: 15
Please Log in or Create an account to join the conversation.
- mobiuscenturion
-
Topic Author
- New Member
-
- Posts: 17
- Thank you received: 0
You know, I should have mentioned this earlier: if you played SWAT 4, the Quick Mission Maker has something very close to what you are making, except you can restrict the suspect or hostages to certain type. So if you want only mechanics in the repair shop, the game will put a random number but restricted to that type.
EDIT: There also something else: whenever you use the in-game randomizer for custom maps, sometimes most (if not all) characters spawn where SWAT does. Of course this doesn't happen with the vanilla maps. So if it's not too late, could you also define the spawn points for the characters so they don't spawn in the same place as SWAT?
Please Log in or Create an account to join the conversation.