Hi, I hate to post on here with something that I should be able to get working properly, but I'm really stuck with this.
I've been working through the game tutorials and have reached the point where I add the first battle to a scene. Having set up everything word-for-word (I've checked and re-checked several times not to ensure that I've not missed anything), my character runs straight through the sphere collider of the battle starter without anything happening.
Is there anything I might have hit in the editor that would prevent the battle from starting? I've tried everything I can think of...
// www.newrealitygames.co.uk \\
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Another thing that I noticed was a 'battle scene' scene in the tutorial assets. Does this have any purpose at all?
But as soon as I try to spawn any of the real enemy combatants, the battle starter stops working again.
So what could be wrong with the enemy combatants? I've tried using groups as well, to no avail. I really have backtracked so many times and can't think of anything else to try, short of importing the demo and using that as a project foundation :/
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thanks for the support!
One quick question- when creating prefabs to be used as weapons, is there anything in particular that would stop it from showing in battle? For that matter, when selecting it as an equipped item, the name shows in the list but disappears when selected.
I've used the longsword prefab as an example. I created a box collider and attached a cylinder to it (with a toon shader and bark material). It seems to mimic everything on the sword, and yet, I can't get the damn prefab I made to appear in game.
Unless your combatant can't equip the weapon :)
So, check your combatant's class if the weapon is enabled.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I have set the collider to Enemies and Evil Pants and triple checked the tutorial, nothing happens.
When changing Evil Pants to Brown Pants, battle starts..
Once I switched back to Evil *anything* it now crashes.
With this error in console
NullReferenceException: Object reference not set to an instance of an object
ORKFramework.Battle.EnemyDefeated (ORKFramework.Combatant e)
ORKFramework.Combatant.Died ()
ORKFramework.DeathAction.ActionEndSetup ()
ORKFramework.BaseAction.EventEnded ()
ORKFramework.BaseAction.PerformAction ()
ORKFramework.Battle.UnshiftAction (ORKFramework.BaseAction action)
ORKFramework.Combatant.Death ()
ORKFramework.Combatant.CheckDeath ()
ORKFramework.StatusValue.CheckBounds (Boolean checkDeath, Boolean checkLevelUp)
ORKFramework.CombatantStatus.ResetStatus ()
ORKFramework.Combatant.Init (Int32 level, Int32 classLevel, Int32 classID)
ORKFramework.CombatantGroupMember.Create (ORKFramework.Group g)
ORKFramework.BattleCombatant.GetGroup (ORKFramework.Behaviours.BaseSpawner spawner, Int32 spawnerIndex)
ORKFramework.Behaviours.BattleComponent.AddTeamToBattle (Int32 index)
ORKFramework.Behaviours.BattleComponent.StartBattle ()
ORKFramework.Behaviours.BattleComponent.StartEvent ()
ORKFramework.Behaviours.BaseInteraction.OnTriggerEnter (UnityEngine.Collider other)
If you could send me your events and ORK project (found at Assets/ORK Framewor/ORKProject.asset) I may be able to figure out what's wrong ...
Also, I'll give the game tutorials another try tomorrow, maybe there is something wrong :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sent to contact email in your About.
*note Ive changed the name of Brown Pants to Survivor for my own project*
This caused a problem when removing them before everything was correctly initialized for battle.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!