|
Post by pauloxande26 on Sept 6, 2017 18:20:08 GMT
I've done this
|
|
|
Post by pauloxande26 on Sept 6, 2017 18:36:30 GMT
It worked thanks man
|
|
|
Post by fos1977 on Oct 9, 2017 2:40:25 GMT
//open your vCharacter.cs script from Invector3rdPersonController->Scripts->CharacterController folder. once open navigate to #region Character Variables within there change protected float currentStamina to public float currentStamina. compile. vCharacter.cs isnt in the current Invector3rdPersonController, i get an error straight away after i made the first script: InvectorAddOn Error: Assets/Invector-3rdPersonController/Basic Locomotion LITE/Scripts/Addons/SurvivalAddon/InvectorAddOn.cs(495,73): error CS1061: Type `Invector.CharacterController.vThirdPersonController' does not contain a definition for `maxHealth' and no extension method `maxHealth' of type `Invector.CharacterController.vThirdPersonController' could be found. Are you missing an assembly reference? Is this project too old? Is there a way to fix this?
|
|
|
Post by rv_Christoph on Nov 1, 2017 19:00:17 GMT
Since nobody wrote something to this for quite a while, I just wanted to let you know that this Addon is still working with the latest version if you change the missing references. This saved us a lot of development time, so a big thank you to the creator. If you can't find the references straight away, look trough all the important scripts e.g vCharacter, vThirdPersonController. With a little bit of effort you will be able to setup everything in one or two hours plus you will obtain some important knowledge. This works great, if you understand C#, because for the integration you will have to write some lines of code to make all the impacts of the needs working.
|
|
|
Post by drongophat on Nov 12, 2017 23:21:51 GMT
Hi there, i managed to get this to work on an earlier project. and now trying to implement it into a new one, but im having some issues with the namespace.
followed the original steps, and i still a met with a namespace issue for the -InvectorAIAddOn-
"Assets/Invector-3rdPersonController/InvectorAIAddOn.cs(30,29): error CS0234: The type or namespace name `vCharacter' does not exist in the namespace `Invector'. Are you missing an assembly reference? "
im just confused on what i must change it around too.
|
|
|
Post by tharindu on Nov 13, 2017 0:31:45 GMT
add using Invector.CharacterController to the top of source
|
|
|
Post by rocco on Nov 15, 2017 11:52:55 GMT
Does this addon also work with inventory per interaction from sickscore?
|
|
|
Post by tharindu on Nov 15, 2017 13:29:16 GMT
Only sickscore can answer that actually. This is quite an old addon and isn't actively supported by the original developer.
|
|
|
Post by sickscore on Nov 15, 2017 13:53:49 GMT
Does this addon also work with inventory per interaction from sickscore? Yep, should be working like a charm. My integration basically just handles the equipping of the weapons. All other stuff is still handled by the controller, so you're good to go ;)
|
|
|
Post by rocco on Nov 15, 2017 18:04:28 GMT
Thanks Sickscore
|
|
|
Post by rocco on Nov 26, 2017 18:32:43 GMT
hey guys .. I have a problem .. with me the image files are not accepted .. so no matter what I do with hunger and thirst are always deducted health and stamina ..
|
|
|
Post by rocco on Nov 28, 2017 22:53:42 GMT
How can I give the character food and drink?
|
|
samet
New vMember
Posts: 7
|
Post by samet on Feb 27, 2018 14:40:12 GMT
Hello there,
Level, Xp, PlayerLifetimeXP. The player is dead. The player is in the new scene.
scene 1: xp 5000 scene 2: xp 0 can the player continue to die xp?
sharing really works perfectly.
Thank you very very very much
|
|
haikel
Junior vMember
i wanna be the very best ... like no one ever was.
Posts: 43
|
Post by haikel on Mar 11, 2018 19:35:30 GMT
any help and thanks in advance insert code here Assets/InvectorAIAddon.cs(29,29): error CS0234: The type or namespace name `vCharacter' does not exist in the namespace `Invector'. Are you missing an assembly reference? Assets/InvectorAIAddon.cs(31,42): error CS0234: The type or namespace name `vCharacter' does not exist in the namespace `Invector'. Are you missing an assembly reference? Assets/InvectorAIAddon.cs(31,56): error CS1061: Type `T' does not contain a definition for `currentHealth' and no extension method `currentHealth' of type `T' could be found. Are you missing an assembly reference?
|
|
|
Post by tharindu on Mar 24, 2018 15:11:32 GMT
any help and thanks in advance insert code here Assets/InvectorAIAddon.cs(29,29): error CS0234: The type or namespace name `vCharacter' does not exist in the namespace `Invector'. Are you missing an assembly reference? Assets/InvectorAIAddon.cs(31,42): error CS0234: The type or namespace name `vCharacter' does not exist in the namespace `Invector'. Are you missing an assembly reference? Assets/InvectorAIAddon.cs(31,56): error CS1061: Type `T' does not contain a definition for `currentHealth' and no extension method `currentHealth' of type `T' could be found. Are you missing an assembly reference? Easy. Remove "using Invector.CharacterController;" and add "using Invector.vCharacterController;" The current health property is now replaced by ChangeHealth method. So instead of assigning to player like player.currentHealth = whatever_value; do player.ChangeHealth((int)whatever_value); Similar methods exist for Stamina, MaxHealth and MaxStamina properties. Cheers and have fun!
|
|