bbautista Posted May 26, 2016 Report Posted May 26, 2016 Random Mob Templates Group Mob Templates Day Spawn or Night Spawn A way on enter region it will display a name of the region you are entering on the screen again... footsteps sounds on your players.. more attacks for mobs.. instead of the standard attack (hard to make bosses seem more real) Quote
oldnag Posted May 26, 2016 Report Posted May 26, 2016 + 1 i totaly agree with these especially the attacks for mobs. Quote
Rotation Posted June 10, 2016 Report Posted June 10, 2016 Sorry this is late. I never check the Feedback forum. But I can help with #4 for now. Hope this is helpful to someone. 1. Add a 3d object > Cube to your game. 2. Set the cube size to fit the town, or location of your needs. 3. Turn off the cube's mesh renderer 4. Make sure "is Trigger" is checked. (My settings are in the image below) https://i.imgsafe.org/a2ad44f78a.png[/img] 5. Go to your "Resources" folder and Set the tag for "HumanMale" and "HumanFemale" to Player 6. Create a script using my code below and drag and drop it on the 3d object cube you made. using UnityEngine; using System.Collections; //Make sure you change EnterAnnounce to the name of the C# Script you made public class EnterAnnounce : MonoBehaviour { public string enterMessage; public string exitMessage; void OnTriggerEnter(Collider other) { //check if player walks in zone if (other.tag == "Player") { // Display message string[] args = new string[1]; args [0] = enterMessage; AtavismEventSystem.DispatchEvent ("ERROR_MESSAGE", args); } } void OnTriggerExit(Collider other) { //check if player walks in zone if (other.tag == "Player") { // Display message string[] args = new string[1]; args [0] = exitMessage; AtavismEventSystem.DispatchEvent ("ERROR_MESSAGE", args); } } } 7. Set the Enter Message and Exit Message however you'd like. That's it. It's not the best and i haven't figured out how to change font colors yet but it should do what your looking for. Quote
bbautista Posted June 10, 2016 Author Report Posted June 10, 2016 this is great! thank you.. btw can you use the same effect spawning mobs from the database? is that possible? Quote
Rotation Posted June 10, 2016 Report Posted June 10, 2016 Honestly, I haven't looked that far into it. But I'll certainly check it out tomorrow and see what I can find. Quote
bbautista Posted June 10, 2016 Author Report Posted June 10, 2016 question on the above setup you have.. if i put this around a town.. it will be an invisible wall.. because it has a collider on it.. right? Quote
Rotation Posted June 10, 2016 Report Posted June 10, 2016 It will be invisible when you uncheck the "mesh renderer" Quote
bbautista Posted June 10, 2016 Author Report Posted June 10, 2016 but I need to go through it.. i dont want an invisible wall.. and i have tried this.. and its not giving me a message either Quote
bbautista Posted June 10, 2016 Author Report Posted June 10, 2016 Nevermind got it working.. just took the check mark off the collider and kept the trigger on.. as far as changing the fonts.. you can change the fonts on the canvas in the error part Quote
Rotation Posted June 10, 2016 Report Posted June 10, 2016 It should be a big box surrounding your town so when you enter that invisible box it displays a message. Also, make sure your player has the "Player" tag. Otherwise the script won't recognize the trigger and won't fire Quote
Rotation Posted June 10, 2016 Report Posted June 10, 2016 Ok, Cool. Glad you got it working. It only matches the error message tho. Would be nice to customize it more Quote
bbautista Posted June 10, 2016 Author Report Posted June 10, 2016 yeah it matches the error message fonts.. but it will work for now thanks so much for this.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.