That actually looks kind of handy. I need to play with how to remove the tank's turret.
Ok the mechanics of it are something like this:
There is turret attached to the unit in the units tab.
So it goes like this:
Turret link in units tab >> turret in turrets tab >> turret in actors tab >> turret model
Normally the event is "turret enable"
Another thing you can try in the model is instead of it being "implicit" or "actor find" make it be "creation".
it didnt help... turret actor creates separately from body in point of death via unit.revive event... and it doesnt rotates to target but shoots!!! looks very funny =)
also why revive though 15 seconds breaks turret but through 5 seconds not? how it can ever be connected? Agrrrhhh.....
Preparations:
Create an empty map (32x32), add 2 campaign dependencies.
Modify some data: set marine "armor" to 100, set "death time" of next units to "-1": siege tank, goliath, diamondback.
Create simple trigger:
Events
Unit - Any Unit dies
Conditions
(Owner of (Triggering unit)) == 1
Actions
General - Wait 5.0 Game Time seconds
Unit - Revive (Triggering unit)
Unit - Move (Triggering unit) instantly to (Center of (Entire map)) (No Blend)
Unit - Set (Triggering unit) Life (Percent) to 100.0
create some marines for player 2 in one corner of map and diamonback, siege tank and goliath in another corner.
Now let the siege tank, diamondback and goliath die and be revived one by one at second player marines. Try to attack Marines again. The turret of the tank will be okay, but the turrets of goliath and diamondback will be broken (they still can hit targets in 360 degrees, but the turret looks only at the direction of motion).
I tried to find differences in the turrets of the tank and diamonback: they differ only in "turret`s actor" in field
"Attachment: Pitch Query +". Tank`s turret actor has "e_attachKeyIGNORE: Ignored" in this field!!! This value can`t be copied and being lost when duplicating. Next, I tried to give diamondback weapon and turret of the tank - nothing changes - turret of diamondback breaks after reviving.
Next step: change in trigger actions timeout to 15 seconds: General - Wait 15.0 Game Time seconds.
As a result, even the tank`s turret become broken after reviving!!!!!!!!!!!!!!!!!!!!!
Does anyone have any ideas what affects turrets after reviving?? Is it model`s bug?? or what?
P.S. sorry for bad english.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
don't understand u. in first post i wrote how to create map i talking about. it takes 10 minutes to create and test it.
ok its map
so i think ill post it like bug report to official blizz forum. maybe they will fix it in future
offtop: did someone post report about third person view camera bug in 1.4.0? it breaking my camera system =(
it didnt help... turret actor creates separately from body in point of death via unit.revive event... and it doesnt rotates to target but shoots!!! looks very funny =)
also why revive though 15 seconds breaks turret but through 5 seconds not? how it can ever be connected? Agrrrhhh.....
@FockeWulf: Go
Try to add UnitRevive.SiegeTank -Create and you will get something like this:
Wonder??? =P lol blown off the tower
turret actor doesnt has unit.birth event. so why it should has unit.revive ?
another ideas?
Preparations: Create an empty map (32x32), add 2 campaign dependencies.
Modify some data: set marine "armor" to 100, set "death time" of next units to "-1": siege tank, goliath, diamondback.
Create simple trigger:
Events
Conditions
Actions
create some marines for player 2 in one corner of map and diamonback, siege tank and goliath in another corner.
Now let the siege tank, diamondback and goliath die and be revived one by one at second player marines. Try to attack Marines again. The turret of the tank will be okay, but the turrets of goliath and diamondback will be broken (they still can hit targets in 360 degrees, but the turret looks only at the direction of motion).
I tried to find differences in the turrets of the tank and diamonback: they differ only in "turret`s actor" in field "Attachment: Pitch Query +". Tank`s turret actor has "e_attachKeyIGNORE: Ignored" in this field!!! This value can`t be copied and being lost when duplicating. Next, I tried to give diamondback weapon and turret of the tank - nothing changes - turret of diamondback breaks after reviving.
Next step: change in trigger actions timeout to 15 seconds: General - Wait 15.0 Game Time seconds. As a result, even the tank`s turret become broken after reviving!!!!!!!!!!!!!!!!!!!!!
Does anyone have any ideas what affects turrets after reviving?? Is it model`s bug?? or what?
P.S. sorry for bad english.