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: 345
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,833
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
Old 30-10-23, 08:13   #205
Caesum
Tomb Raider
 
Caesum's Avatar
 
Join Date: Aug 2008
Location: Poland, Warsaw Gender: Male
Posts: 12,064
Default

Pardon me for this monologue I'll be writing now but primo I need to vent secundo it's related to the questions I will ask later, anyway I recently bought a GaMinG KeyBoaRd Apex 3 and found out it's as bad as the cheapest office keyboards if not worse because while all the keys around WASD seem to work okay Steelseries randomly decided to make CTRL, ALT, Space and directional keys a complete ghosting galore which obviously makes Tomb Raider practically unplayable with default controls.

Because of that I started using gamepad more and I have noticed that there are a few issues with gamepad functionality in TRLE (and possible other TR games). Therefore I have two questions:

1. Would it be possible to fix CANCEL and PAUSE buttons on the PC version? In some areas of the game (mainly inventory and pause menu) neither START nor B/Circle seems to do anything, forcing player to occasionally use keyboard anyway just to get out of the menu screens. Meanwhile PAUSE doesn't seem to work at all on gamepads. Tbh there's a lot more to unpack with how botched gamepad functionality is compared to PSX (idk maybe that's all because I use xbox controller and not some dualshock copycat) but these two issues are the most annoying I think.

2. I was wondering if there was a way to make a plugin/patch that adds xinput into the game? It'd make recent gamepads work with TRLE out of the box.

Last edited by Caesum; 30-10-23 at 10:33.
Caesum is offline   Reply With Quote
Old 30-10-23, 09:53   #206
mizuno_suisei
Relic Hunter
 
mizuno_suisei's Avatar
 
Join Date: Jan 2006
Posts: 6,949
Default

Quote:
Originally Posted by Caesum View Post
Pardon me for this monologue I'll be writing now but primo I need to vent secundo it's related to the questions I will ask later, anyway I recently bought a GaMinG KeyBoaRd Apex 3 and found out it's as bad as the cheapest office keyboards if not worse because while all the keys around WASD seem to work okay Steelseries randomly decided to make CTRL, ALT, Space and directional keys a complete ghosting galore which obviously makes Tomb Raider practically unplayable with default controls.

Because of that I started using gamepad more and I have noticed that there are a few issues with gamepad functionality in TRLE (and possible other TR games). Therefore I have three questions:

1. Would it be possible to fix CANCEL and PAUSE buttons on the PC version? In some areas of the game (mainly inventory and pause menu) neither START nor B/Circle seems to do anything, forcing player to occasionally use keyboard anyway just to get out of the menu screens. Meanwhile PAUSE doesn't seem to work at all on gamepads. Tbh there's a lot more to unpack with how botched gamepad functionality is compared to PSX (idk maybe that's all because I use xbox controller and not some dualshock copycat) but these two issues are the most annoying I think.

3. Lastly I was wondering if there was a way to make a plugin/patch that adds xinput into the game? It'd make recent gamepads work with TRLE out of the box.
Great thinking there! Joy2key can intermittently solve both issues, but would he great for out of the box indeed <3
mizuno_suisei is online now   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 10:48.


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.