Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
AshwinTheGammer

Need help with Tactical Shooter AI.(Damage from Player of AU_FPS)

Question

Here is the code of Health Script of my Player and the name of my player health script is HealthingScript my AU_FPS Kitv1.5 and another code is of my AI`s bullet script. I don`t know how to receive Damage from AI, Please help me I want to upload my #1 Fps update on Youtube. My player tag is "Player"

 

 

Please login or register to see this code. Please login or register to see this code.

 in code there is word(FPSPlayer) i don`t what is that? How to give damage to player?

Any help and answer is appreciated here. Thanks :)

 

 

 

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

you should use c# version of FPS Kit.

 

rename damageMethodName from

Please login or register to see this code.

to

Please login or register to see this code.

 

 

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

How do u means like this

Please login or register to see this code.

 

 

And I renamed my player Health Script to HealthingScript and in there is method called Applydamage I don`t how to do this?

 

 

I tried to do this like this 

Please login or register to see this code.

 but i don`t know how to declear variable like this

private HealthingScript hs;

 

 

I HOPE U UNDERSTAND :)

Share this post


Link to post
Share on other sites
  • 0

you don't see?

Please login or register to see this code.

you can change to:

private string damageMethodName = "PlayerDamage";

but undo changes in your script.

 

you are planning to make a game, when you can't even read/modify code?

you are not ready to use FPS Kit.

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

I think you don`t know that I am using Unity 3d for 2 months. And I am noob. :)

Edited by AshwinTheGammer

Share this post


Link to post
Share on other sites
  • 0

and you don't think that you are trying to jump higher than you can?
kits are for developers who already know basics (editor, programming).

 

P.S. i hope we will not find your "game" on steam after few months...

  • Haha 1

Share this post


Link to post
Share on other sites
  • 0

ok would u like to join my discord   Please login or register to see this link.

 

Ok keep this thing beside tell me have u ever used TacticalShooter AI or Ufps?

Share this post


Link to post
Share on other sites
  • 0

no and no.

stop wasting time (not only your time, but also other developer time) and learn basics. Yes, it will take some time, but it is required if you plan to make a game.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×