24-01-15, 22:15 | #8621 |
Member
Joined: Nov 2011
Posts: 4,882
|
^ Hmm, I think TestPosition= command will come in handy to set precise position for Lara to preform certain animation. You can also use ENV_ITEM_TEST_POSITION in Animation= field to preform animation in front of X object with TestPosition command assigned to it.. All the info is in Reference bar of TRNG Center. (I assume you use TRNG as you're doing custom animation...)
Last edited by Raider99; 24-01-15 at 22:16. |
25-01-15, 00:42 | #8622 |
Unverified
Joined: Jan 2008
Posts: 5,140
|
I got LARAs Animation to work, but how do I play the Animation of the door?
Code:
Testposition= 1,IGNORE,ANIMATING6,-835,135,0,0,0,250,-6000,6000,0,0,0,0 ;Door Front; Animation= 445,KEY1_ACTION,IGNORE,FAN_ALIGN_TO_ENV_POS,ENV_ITEM_TEST_POSITION,1,IGNORE,2 AnimationSlot= ANIMATING6,IGNORE,-1,KEY1_ACTION,IGNORE,IGNORE,ENV_CONDITION_TRIGGER_GROUP,3,-0 Triggergroup= 3,$5000+TGROUP_USE_FOUND_ITEM_INDEX,143,$10F ; Set Trigger Type - ACTION 15 ; Exporting: TRIGGER(271:0) for ACTION(143) ; <#> : ANIMATING6 ID 143 in sector (1,1) of Room16 ; <&> : Force (E) animation (0-31) for <#>object ; (E) : 1 Animation ; Values to add in script command: $5000, 143, $10F |
25-01-15, 00:51 | #8623 |
Member
Joined: May 2010
Posts: 1,187
|
Animatings have to be triggered first. So export an "activation of <#> movable" action trigger, which will be followed by the force animation trigger.
|
25-01-15, 08:08 | #8624 | |
Unverified
Joined: Jan 2008
Posts: 5,140
|
Quote:
Nvm. the Bits weren't set. But the animation of the door plays, whenever I press the Action Button. Last edited by TR-Freak; 25-01-15 at 08:25. |
|
25-01-15, 10:35 | #8625 |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Hmmm... I've never used that AnimationSlot= before.
I've now checked it in NG-Center and read about the so-called ASF_*** commands that can be used in the second field. There are no ASF_*** entries in my mnemonic constants list. |
25-01-15, 11:00 | #8626 |
Unverified
Joined: Jan 2008
Posts: 5,140
|
|
25-01-15, 11:08 | #8627 |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Oh, so they are also missing on your end then?
If so, I'm not worried anymore. I was thinking something must have gone wrong when installing the latest update. Last edited by Titak; 25-01-15 at 13:55. |
25-01-15, 11:31 | #8628 |
Member
Joined: May 2010
Posts: 1,187
|
As far as I know, Paolone added that script command without adding proper code for it, so it's not functional yet. It's shame though, it would've been really awesome if it worked.
I believe this next version of TRNG will have it, though. |
25-01-15, 14:06 | #8629 |
Member
Joined: Dec 2013
Posts: 4,380
|
I'm having a problem with lighting, there just seems to be a random glow on Lara even when there is no light that omits such a glow.
Any help? |
25-01-15, 23:38 | #8630 |
Member
Joined: Dec 2012
Posts: 1,924
|
Anyone else know what this error causes:
http://imgur.com/eKtMy5T I had it today but there's nothing wrong with my level. |
Thread Tools | |
|
|