[pre release] Turret Behavior

Post your completed addons to share with the community

Post » Thu Jan 19, 2012 8:53 pm

Fixed.Fimbul2012-01-19 21:20:58
B
35
S
8
G
8
Posts: 532
Reputation: 6,868

Post » Mon Jan 23, 2012 4:05 pm

Thanks!!!

Downloading.. and testing..

You great!
B
22
S
2
G
5
Posts: 49
Reputation: 4,827

Post » Wed Feb 01, 2012 11:04 pm

Can somebody give a example capx how it (turret) works?
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Thu Feb 02, 2012 1:06 am

The example didn't work out for you?
The point marked as target is the current target
Black points are within range and angle
White points are outside range and/or angle

The dotted line represents valid angle and range
Blue area is where targets can be considered valid - that is, the firing range.

Tell me what you need and I'll whip something together for you.
B
35
S
8
G
8
Posts: 532
Reputation: 6,868

Post » Thu Feb 02, 2012 1:05 pm

I dont quite get how to set the target since there seems to be no action for that (beside target point).
B
3
G
1
Posts: 2
Reputation: 979

Post » Thu Feb 02, 2012 1:52 pm

You either target a point or you target the closest object. I could make it target by something else, what do you guys want?
Target by UID?
B
35
S
8
G
8
Posts: 532
Reputation: 6,868

Post » Thu Feb 02, 2012 2:42 pm

Mind you, there are some features in the Classic version of the behavior that isn't in this plugin. Maybe you could work on implementing those. Predictive aiming, especially, that would be extremely handy for, say, tower defense games.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Thu Feb 02, 2012 2:49 pm

Could you please list them here? I am unable to install CC in this machine.
Also, does the classic version implement predictive aiming?
B
35
S
8
G
8
Posts: 532
Reputation: 6,868

Post » Thu Feb 02, 2012 3:25 pm

Oh, yeah, it does. That's why I suggested it. Lemme list the features that are in the Classic version but not in this one...

General Features:
- Predictive aiming
- Being able to have a list of objects as targets
- A reload timer to make it easier to allow for a short amount of time between bullets
- Targeting options: "Follow first in range", or "Always the nearest".

Behaviour settings:
- Reload time
- Target Method (Two options: "Follow first in range", or "Always the nearest")
- Turret Rotation toggle
- Predictive aiming toggle
- Bullet Speed (Used for predictive aiming)

Conditions:
- Is always picking nearest
- Is always picking first in range
- Is using predictive aim
- On Shoot

Actions:
- Acquire Target
- Add Object to target
- Clear targets (clear the whole list, not just one target)
- Set Base Object
- Unaquire Target
- Set Activated
- Set Range
- Set Reload Time
- Set Rotation Enabled
- Set target method
- Set use predictive aimCandescence2012-02-02 15:27:49
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Tue Feb 14, 2012 3:15 pm

You are a genious! *-*
B
203
S
37
G
13
Posts: 136
Reputation: 29,523

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: Bitmichael and 2 guests