Remember to add the type of Ammunition each weapon uses in the item definition.Do not add any of these scripts to your items: AmmoPickup, WeaponPickup, FoodPickup, DrinkPickup, HealthPickup.Use triggers to make it possible for items to get picked up.You can also call this function for other purposes. Add an action to this method on show and hide for all UIWindows that need mouse interaction. The FPSGame component provide a function that toggles pausing the game (which allows you to use the mouse to interact with the UI).To have this same behavior on a collection, you need to add the WeaponRestrictionBehaviour on your player (next to the creator script), and specify the collection name. RFPSP only allows you to have one weapon of each type. Add the Weapon component to each weapon under FPS Weapons, and link in the appropriate item definition file for that weapon.Add the following components to your FPS Player object, and configure the collections you will need.Also add the following components to the _Managers object: Add the _Managers object to your scene, with all required managers.More details on how to setup items are given below. This is done just like creating normal items through the Main Editor.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |