16-06-22, 14:14 | #1 |
Member
Joined: Feb 2004
Posts: 173
|
TR2-Type Secret Rewards
I've found a tutorial that shows how to add Tomb Raider 2-type secrets, e.g. dragons or whatever I decide to use.
The only thing I'm not sure about is how to add more pickups when Lara finds all three secrets. Here is the code that adds a large medipack as a reward: Code:
; Set Trigger Type - FLIPEFFECT 48 ; Exporting: TRIGGER(365:0) for FLIPEFFECT(48) ; <#> : Inventory-Item. Increase (+1) in (E)way the number of <&>inventory-item in inventory ; <&> : BIGMEDI_ITEM Slot=368 ; (E) : Show animation of item (like it was picked up) ; Values to add in script command: $2000, 48, $16D |
16-06-22, 14:38 | #2 |
Member
Joined: Apr 2012
Posts: 10,346
|
You would have to import this trigger in the trigger panel, change the item you want it to give and export it back to the script
|
16-06-22, 17:31 | #3 | ||
Moderator
Joined: Dec 2011
Posts: 4,881
|
@angeljs, are you talking about this, right?
Then here is an example: Original, from the tutorial: Quote:
Quote:
So no problem, 0 digit like that is just a "dummy zero", an unnecessary TE addendum.) ; Trigger for FlipEffect ; <#> Inventory-Item. Increase (+1) in (E)way the number of <&>inventory-item in inventory (F48) ; <&> BIGMEDI_ITEM Slot=368 ; <E> Show animation of item (like it was picked up) ; Copy following values to your script: ; $2000,48,$016D ; Trigger for FlipEffect ; <#> Inventory-Item. Increase (+1) in (E)way the number of <&>inventory-item in inventory (F48) ; <&> SHOTGUN_ITEM Slot=353 ; <E> Show animation of item (like it was picked up) ; Copy following values to your script: ; $2000,48,$0160 So your rewards now are two big medipacks and the shotgun. Note: If you want to add eg. 100 bullets, then you don't need to type the trigger 100 times, but you can also use eg. F249, like I say at the bottom of the tutorial. However, it has no animation at the bottom right corner of the screen, so alternative solutions: - my Plugin#1 has extended inventory triggers, or - ring inventory plugin also has inventory triggers. Last edited by AkyV; 16-06-22 at 17:33. |
||
Thread Tools | |
|
|