-
Notifications
You must be signed in to change notification settings - Fork 3
Entity: Cobra
Adngel edited this page Feb 15, 2023
·
1 revision

Included in TR3, cobra or rattle snakes are enemies that doesn't chase Lara, instead they remains dormant until the player get close, then the cobra rises and try to bite the player. If hit, it causes poison.
- TEN Repo: https://github.com/TombEngine/Resources/blob/main/Wad2%20Objects/tr3_cobra_india_TEN.wad2
- TEN Repo: https://github.com/TombEngine/Resources/blob/main/Wad2%20Objects/tr3_cobra_nevada_TEN.wad2
- TRsearch: https://www.trsearch.org/item/5591
No OCB or AI objects in use.
- HP: 8
- Damage: 80
- Poison power: 8
Snake has different states depending of Lara's distance.
- If Lara is further than 2 sectors and half, the snake goes to sleep.
- If Lara is closer than 1 sectors and half, the snake rises up.
- If Lara is closer than 1 sectors, the snake attacks.
If the cobra is rising up or attacking, it rotates facing to Lara, as long as there were not obstacles between it and the target.
- Itemflags[2] - temporal space for the health during "Not Targetable" phase (on sleep state).
- Cobra can be taken from TR3 games, Temple ruins and Nevada desert.
- To correct the death animation: please change the STATE ID of ANIMATION 5: "COBRA_ANIM_DEATH" from 0 to 4