Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 08-09-23, 23:27   #201
Stryke
Historian
 
Stryke's Avatar
 
Join Date: May 2019
Posts: 340
Default

Thank you LCEF & Titak. I'm using the Equipment = script yes for the beginning of the level. But some reason the flare amount was bumped up from TR3 to TR4. I want to lower the pickup amount. Titak strategy would work perfectly for my situation, thank you. I was reading in the FLEP manual that somehow small medipacks and flares are tied together. Kind of interesting.
Stryke is offline   Reply With Quote
Old 09-09-23, 08:22   #202
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by Titak View Post
^


I have a setup in one of my levels where Lara uses an axe to get crystals from a rock wall. But in that case she does not actually pick up flares, she picks up another item which I then remove from the inventory and then the flares get added (custom amount).
So perhaps that setup can work for you as well, in case there's no option anywhere to set to amount of flares per pickup.
I have written a similar setup tutorial about how to pick up "fake" flares and then add them manually. It's in German, but I guess you can translate it with any online translator into English or your mother tongue.

https://www.trlevel.de/lexicon/index...im-aufsammeln/
__________________
TE - the place to unleash your creativity.
Die Basis is offline   Reply With Quote
Old 09-09-23, 09:55   #203
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 4,819
Default

Once ChocolateFan sent a post about customizing flare amount in flare packs. Not fake. Really short, just a few rows.
Was it scripting? Or a plugin code? I can't remember...

@ChocolateFan:
Can you find it and re-share it with us, please?
AkyV is offline   Reply With Quote
Old 10-09-23, 14:42   #204
ChocolateFan
Explorer
 
Join Date: Dec 2017
Location: I am female
Posts: 524
Default

Code:
#DEFINE FLARES_PER_BOX 3

#define @Plugin_AkyVMix02 1
GlobalTrigger=	1,FGT_SINGLE_SHOT,GT_ALWAYS,IGNORE,IGNORE,1,IGNORE
TriggerGroup=	1,$012000,587,$1
GlobalTrigger=	2,IGNORE,GT_ALWAYS,IGNORE,IGNORE,2,IGNORE
TriggerGroup=	2,$018000,2,$72,$012000,587,$3,$012000,587,$4,$012000,587,$1
GlobalTrigger=	3,IGNORE,GT_ALWAYS,IGNORE,IGNORE,3,IGNORE
TriggerGroup=	3,$018000,5,$72,$012000,587,$1
#define @plugins CLEAR

Parameters=	PARAM_VAR_MASTER,1,NVAR_OPR_SET,NVAR_TPE_GMZ,60,IGNORE,IGNORE,IGNORE,NVAR_TPE_LIN,1,IGNORE,IGNORE,IGNORE
Parameters=	PARAM_VAR_MASTER,2,NVAR_OPR_BIG,NVAR_TPE_LIN,1,IGNORE,IGNORE,IGNORE,NVAR_TPE_GMZ,60,IGNORE,IGNORE,IGNORE
Parameters=	PARAM_VAR_MASTER,3,NVAR_OPR_SUB,NVAR_TPE_NMB,12,IGNORE,IGNORE,IGNORE,NVAR_TPE_GMZ,60,IGNORE,IGNORE,IGNORE
Parameters=	PARAM_VAR_MASTER,4,NVAR_OPR_ADD,NVAR_TPE_NMB,FLARES_PER_BOX,IGNORE,IGNORE,IGNORE,NVAR_TPE_GMZ,60,IGNORE,IGNORE,IGNORE
Parameters=	PARAM_VAR_MASTER,5,NVAR_OPR_SML,NVAR_TPE_LIN,1,IGNORE,IGNORE,IGNORE,NVAR_TPE_GMZ,60,IGNORE,IGNORE,IGNORE
This script can be used as a workaround, unless Stryke uses the Classic Inventory plugin, in which case I recommend the use of CUST_CINV_ITEM_QUANTITY instead.
ChocolateFan is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.