-
Notifications
You must be signed in to change notification settings - Fork 1
Map making Tutorial
I recommend using unity package available here
I don't recommend downloading the source code for map making, because it has some unnecessary stuff and is using old Meatkit version.
Start from the ExampleScene.
When creating a map, You need to set few things:
Sosigs will spawn in those places mostly randomly. Use as many as You need, but it will not affect the numbers of sosigs.
Reference them in MGR/SosigBehavior component.
It also contains some customization options for sosigs:
- How many sosigs can exist at once.
- By default, the 2 closest spawners to the players are ignored when spawning, to make sure enemies will not spawn where the player is standing.
- If using bigger maps, You can also exclude spawners that are the furthest from the player.
- You can toggle the option to despawn sosigs that are further that specified distance. They will be respawned back.
- If You need, You can set multipliers for hearing and sight range.
These are the positions where sosigs will travel to when not engaging with the player.
Use to set rough patrol points.
Reference them in the same SosigBehavior script as SosigSpawners
Sosig will travel to random waypoint every 12-25 seconds.
Those are the positions where player will randomly spawn/respawn in.
Remember to reference those objects in MGR and StartArea/InitialSpawn.
Buttons in the game are created automatically if the mod detects json files.
Weapon pools are not tied to the map, but if You want some default pools, place json files inside the zip folder of the mod.
(The same place where manifest.json, icon.png and Readme.md are stored)
- BufferWeaponsSpawnPos - It's a place where next weapon in line along 2 magazines will spawn. No need to move, it needs to lay somewhere where player will not see it.
- MusicPlayer - You can customize the optional music here.
- Pause - Move PauseLever object where You want pause point to be.
- PlayerFollower - This object follows the player, position in the scene doesn't matter.