[ad_1]
LIVE PREVIEWBUY FOR $99
The game takes place in an abandoned city full of hordes of zombies. You are armed with a sniper rifle and your job is to survive by shooting the undead at you. For your accuracy you get extra points and a bonus that improves your weapon. Compete with other players using Google Play services.
Features: • High quality 3D graphics • Infinite gameplay with increasing difficulty • Powerful sound effects and music • Ready to publish for iOS and Android • Easy to customize • Google Play services and GameCenter leaderboards • Admob banner and interstitial ads
Requirements: • Unity3D 2019.2.17 or newer
Installation Instructions: To use this project, you must install Unity 2019.2.17f (or newer version) from Unity Hub.
Set up Admob for Android
1) Create a new Android app on the Admob site with interstitial and banner ad unit identifiers.
2) From the main menu of Unity, go to Assets – Google Mobile Ads – Settings. Under Admob ad ID label, place your App ID from the Admob website for Android.
3) Open /Assets/GAME/Scripts/GameUI.cs script. On line 15, put your banner ad ID from the Admob website. On line 16, put your interstitial ad ID from the Admob website.
Set up Admob for iOS
1) Create a new iOS app on the Admob site with interstitial and banner ad unit identifiers.
2) From the main menu of Unity, go to Assets – Google Mobile Ads – Settings. Under Admob ad ID tag, place your App ID from the Admob website for iOS.
3) Open /Assets/GAME/Scripts/GameUI.cs script. On line 18, put your banner ad ID from the Admob website. On line 19, place your interstitial ad ID from the Admob website.
You need to know the basics of Unity to complete the steps below. If you don’t know, upload the game to save it as is.
Player setup
The player character is the player object in the hierarchy view. To modify it, you need to import another 3D model into Unity and change the Rig to Humanoid. Then drag it to the scene and from the main Unity menu, click Tools – Third Person Controller – Character Builder. Assign your model to the Character tab and click Build. Then copy all other components from the original player to your new player and copy weapons from the original player’s right hand to yours. When your player is read, put it in the project (create prefab) in / Assets / GAME / Prefabs / Player. Assign it to MainCamera – CameraController – Drawing Area. Assign it to MAIN – GameController – Player field and Player Center space (player center can be Hips).
Level adjustment
You can create a wave of enemies in each level. For example, open /Assets/GAME/Scenes/Game.scene. It’s the first level. Click MAIN object and look in the Inspector view for the GameController component. You can see the list of waves. You can edit them and add new ones, just getting bigger. There you can put prefabs of enemies to swing.
Set enemies
It is similar to setting the player. You can find enemies Objects / Assets / GAME / Prefabs / Enemy. The other thing is that you need to enable “Is AI Agent” in Character Builder before you start building. Then copy components of existing enemies and weapons from hand. Create a new prefab with your enemy and assign it to one of the level waves.
Set pedestrians
All pedestrians in / Assets / GAME / Prefabs / Humans / map. Just copy all components from an existing pedestrian to your own and put it in prefab. Then assign them to object MAIN – AI Controller – Human Prefabs list. Set up vehicles All vehicles are located in / Assets / GAME / Prefabs / Vehicle / folders. / Empty / subfolder contains empty vehicles, / Traffic / subfolder contains AI vehicles with drivers.
To make a new vehicle you need a car model with four loose wheels. As always, copy all components from an existing vehicle. Copy all child objects of an existing vehicle and assign them to components of the parent object. Assign created vehicles to the MAIN – AI Controller – Vehicle Prefabs list object. How to generate a new city
To generate cities we use the DungeonArchitect plugin. On the game scene there is a DungeonItems object. It contains all city objects. To generate cities quickly: 1) Change the scale of DungeonItems to 1, 1, 1; 2) On the DungeonSimpleCity object, click DestroyDungeon. At the bottom of the WaypointGenerator object, click Clear Waypoints. 3) On SimpleCityDungeonConfig component Bu Seed number to another. 4) Click Build Dungeon. 5) Change the scale of DungeonItems to 3, 3, 3;
[ad_2]
Source