[skip all navigation]

Weird Effect, Forceshield

Creator: Bolshevik09
Time: Jan 17 2012, 7:14 am

Post #1     Bolshevik09 Jan 17 2012, 7:14 am

[Avatar]
offlinecontact
Rank: Member
I've duplicated the sentry's force-shield ability and gave it to a marine. I wanted to change that ability so it cast forever til the death of the marine but do not understand how because its a persistent effect with 30 periods at .5 duration = 15 second spell..
How to make a ability constant without having the marine auto-cast?

Another problem is now that anytime i create a marine on the map, the blue hex model creates on him even if no force-shield is nearby. I've attached a picture to explain what i'm talking about. i will PM you the map if you would like to see for yourself.
I've looked in the actor-events and nothing is creating that model at birth..
Attachments:
jpg file
Effect.jpg (520.62 kb)
5 hits.
This post was edited 1 time, last edit by Bolshevik09: Jan 17 2012, 7:25 am.

Top

Post #2     DevliN Jan 17 2012, 7:22 am

[Avatar]
SOMETHING STATUS GO
offlinecontact
Rank: Administrator
Quote from Bolshevik09
I've duplicated the sentry's force-shield ability and gave it to a marine. I wanted to change that ability so it cast forever til the death of the marine but do not understand how because its a persistent effect with 30 periods at .5 duration = 15 second spell..
Tried to get him to auto-cast it as well but could not get him to.
-removed the cost, set the auto-cast range to 5, removed cool down, checked the flags
If you want it to last forever after casting it, I think you can just change the periods and duration to 0. It's been a while since I've looked at that, though. If you want it to show up as soon as the Marine is created, you can bypass the ability altogether and just put the Behavior on the Marines from the start. You don't even need to mess with auto-casting or anything. If I remember correctly, when the Force Field ability is used, it adds a Behavior to all units inside of it. Theoretically you can just put that Behavior around the Marines from the start, and have the shield model appear when the Behavior is on. You can also go as far as to make it add the protective Behavior to other units nearby through the initial Behavior and the Area/Persistent Effect.

Quote from Bolshevik09
Another problem is now that anytime i create a marine on the map, the blue hex model creates on him even if no force-shield is nearby. I've attached a picture to explain what i'm talking about. i will PM you the map if you would like to see for yourself
We'd probably have to see the map for this one. It should only show up if they have the behavior active on them.
This post was edited 1 time, last edit by DevliN: Jan 17 2012, 7:27 am.

:devlin: CURRENTLY WORKING ON :devlin:
Invasion: Ares | OMG TEH ZOMBIES!!!
Summoner | Infection
Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[04:16 am]
Pr0nogo -- wut
[04:16 am]
Pr0nogo -- wait
[11:05 pm]
jjf28 -- haha
[11:04 pm]
RIVE -- Fucking lost me.
[11:04 pm]
RIVE -- "I'm proud to introduce ... Electronic Arts."
[11:04 pm]
RIVE -- "... the real magic happens when you put that power in the hands of the world's greatest creators."
[09:21 pm]
Azrael -- See ya :kame:
Please log in to shout.