playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gearedgeek

Pages: 1 [2]
16
Playmaker Help / Re: Projectile Collision
« on: November 19, 2016, 10:06:39 PM »
I finally figured out what the problem was. I'm using the Third Person Controller from Opsive. The projectile script adds the option to destroy the projectile on collision. That option was checked so the FSM was not able to run because the projectile was destroyed.

Anyway, the FSM is now working correctly. Thank you for the help.

17
Playmaker Help / Re: Projectile Collision
« on: November 19, 2016, 05:26:07 AM »
Here is the FSM. I have also added the Collision Enter as a global transition and it sends the event per the FSM Log. But the crate doesn't receive the command it seems.

https://postimg.org/image/bz4iunhjj

https://postimg.org/image/r94e1ud1r

18
Playmaker Help / Re: Projectile Collision
« on: November 17, 2016, 01:59:30 AM »
I'll start a new scene and see what happens.

I know the collision is working because I have a melee weapon using the on collision enter and it works fine.

https://postimg.org/image/tori7pt3j/

Since the collision wasn't working I was going to try making a FSM on the pistol to send the event when the player fires the pistol. Just in case, how would I go about doing that?


19
Playmaker Help / Re: Projectile Collision
« on: November 17, 2016, 01:20:31 AM »
Yes, both GameObjects have the RigidBody component attached.

20
Playmaker Help / Re: Projectile Collision
« on: November 17, 2016, 01:03:11 AM »
I see. I have changed it around to look like what you posted. I have also been watching the FSM Log when testing. When the projectile prefab collides with the crate the FSM doesn't move out of State 1.

21
Playmaker Help / Re: Projectile Collision
« on: November 16, 2016, 02:26:00 AM »
The "MeleeHit" has the box checked in the event tab of the crate prefab. When the Katana enters the collision it sends the MeleeHit event to the crate prefab. I have the bullet prefab set up the same way but it seems like the send event isn't working or the collision isn't happening.

22
Playmaker Help / Projectile Collision[SOLVED]
« on: November 15, 2016, 12:10:13 PM »
I have followed this tutorial to set up the collisions for the projectiles in my project. I'm using the weapons from Third Person Controller by Opsive. I have added the Exploder asset to make GameObjects to explode into pieces. I have managed to get the melee collisions working like from the video. Here are screenshots of what I have done.

https://postimg.org/image/wrs8b3827/

https://postimg.org/image/9rlkyra8f/

https://postimg.org/image/bxfvt9dov

https://postimg.org/image/tori7pt3j/


From what I can tell is that the bullet projectile is spawned when the weapon fires. I can view in the editor the bullet projectile flying through the scene. The collision is working because I can push a game object such as a crate with the bullet projectile. I can't get the playmaker actions working when the bullet projectile is spawned.

23
Playmaker Help / Re: Help with prototype
« on: July 20, 2016, 10:56:49 AM »
I changed the "Format" to none in the Convert Float to String and that fixed the text displaying multiple numbers when it updates.

Now I just need to figure how to get playmaker to end/restart level when the game object (game objective [player defends the game object]) reaches zero on that string.

EDIT:
I have figured it out. I just used String compare to restart the level when the game object is destroyed. Thanks for the help!  :D

24
Playmaker Help / Re: Help with prototype
« on: July 20, 2016, 09:33:11 AM »
Awesome, I got it working some what. It displays the number but it just adds the new number after the old one. I'm not sure how to fix that.

Also once that game object reaches zero how can I tell playmaker to ask the player to end or restart the level?

25
Playmaker Help / Re: Help with prototype
« on: July 20, 2016, 07:40:26 AM »
Yea, I need to have playmaker update when that game object takes damage. I don't know how to do that. Any help would be appreciated.

26
Playmaker Help / Re: Help with prototype
« on: July 20, 2016, 12:10:59 AM »
I have playmaker retrieve the health from the game object and set text for the health. I'm not sure how to update that text when the game object takes damage.

https://postimg.org/image/b9768xggf/

27
Playmaker Help / Re: Help with prototype
« on: July 11, 2016, 11:53:23 AM »
So I have a GameObject that has a variable for its health. I was working on adding this health bar to that GameObject using the Unity Tank tutorial. How can I get this working?

28
Playmaker Help / Re: Help with prototype
« on: July 10, 2016, 05:22:07 AM »
I'm currently using the Third Person Controller to control the health of my game objects. I have AI attacking a game object that the player is defending. I would like to use playmaker to restart the game when the game object is destroyed.

How do I get the health of the game object in playmaker and when that game object reaches zero health then the game ends and the play can choose to restart the game?


EDIT:

I just figured out a quick way. I just send event from the AI (from Behavior Designer) to do damage to game  object. Once the game object reaches zero health I have playmaker restart level.

29
Playmaker Help / Help with prototype
« on: July 06, 2016, 08:11:58 PM »
Please note that I'm very new to playmaker. I'm trying to put together a simple defense game where the player must survive waves of enemies to win. I have looked through youtube, tutorials, and other places for examples but came up with nothing.

I'm looking to have a GameObject in the leve that the enemies are trying to destroy and that the player is protecting. I need help with figuring out how to set up that GameObject to take damage from the enemies (if enemies reaches the GameObject) and if it dies then the player loses and must restart the level.

Any help would be appreciated. Thanks

Pages: 1 [2]