Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 24-05-23, 21:54   #1
ColeMoles
Student
 
ColeMoles's Avatar
 
Join Date: May 2021
Location: England
Posts: 113
Default Puzzle item floats in circles in inventory and when picked up

Hi Guys,

So i have Puzzle_Item 3 - Golden Star in my level and its one of the pivotal pickups. I also have the classic Ring Inventory plugin for NGLE which i dont know, may be causing this, or it may just be some simple code that needs changing or need a simple change in my script.

Basically when i pickup any other item, it shows the item in the bottom right to show what i picked up, works fine for everything except this puzzle item. When i use the crowbar to get it off the wall and pick it up, the star appears at the top right, going round in circles on and off the screen. It also does this in my inventory when im on it, see the below screenshot of it floating in my inventory, it kind of does a 3d rotation. in the inventory its also nearly above offscreen instead of where the other items are just above the text

Can anyone help suggest how i fix this or provide a solution? - Sorry for all the questions over the last few weeks btw, first proper level im working on.

Inventory Issue - What it should look like normally


Inventory Issue - What the star looks like


Pickup Issue - What it should look like normally


Pickup Issue - What the star looks like


Heres what my script is showing currently for the level:
Quote:
;--------------------------------------
; Platform Definitions
;--------------------------------------

[PSXExtensions]
Level= .PSX
Cut= .CUT
FMV= .FMV

[PCExtensions]
Level= .TR4
Cut= .TR4
FMV= .BIK

;--------------------------------------
; Language Filenames
;--------------------------------------

[Language]
File= 0, ENGLISH.TXT

;--------------------------------------
; Options
;--------------------------------------

[Options]
Plugin= 1, Plugin_FLEP, IGNORE
Plugin= 2, Plugin_ClassicInventory, IGNORE
CRS= DISABLED
LoadSave= ENABLED
Title= ENABLED
PlayAnyLevel= DISABLED
FlyCheat= DISABLED
Security= $55
Diagnostic= DISABLED
ShowLaraInTitle= ENABLED

;--------------------------------------
; Title
;--------------------------------------

[Title]
LoadCamera= 84246, -533, 78233, 81622, -1514, 78208, 40
Level= DATA\TITLE, 098

;--------------------------------------
; Levels
;--------------------------------------

[Level]
Name= The Twin Stars
Level= DATA\THE_TWIN_STARS, 108
LoadCamera= 0, 0, 0, 0, 0, 0, 0
Horizon= ENABLED
Layer1= 128,96,64,7
ColAddHorizon= ENABLED
UVRotate= 1
ForceVolumetricFX= ENABLED
Fog= 0,128,128
FogRange= 2, 38
LevelFarView= 42
Triggergroup= 4, $5000,91,$011A, $5000,91,$0134
Animation= 477, KEY1_JUMP, IGNORE , FAN_SET_FREE_HANDS, ENV_FRAME_NUMBER, 21, IGNORE, -96
Animation= 476, KEY1_DOWN, IGNORE , FAN_SET_FREE_HANDS, ENV_MULT_CONDITION, 1, IGNORE, -96 ;ledge jump backwards
MultEnvCondition= 1 ,ENV_DISTANCE_CEILING, $800, IGNORE, ENV_FRAME_NUMBER, 21, IGNORE ;ledge jump backwards
Animation= 463, 1, -1, 2, 40, 19, 16, -474
Animation= 474, 1 + 32768, -1, 2, 40, 14, 19, -463
Animation= 462, 1, -1, -1, -1, -1, -1, -461
Animation= 463, 1, -1, -1, -1, -1, -1, -471
Animation= 28, 64 + 32768, -1, 64, -1, -1, -1, -471
Animation= 464, 2, -1, -1, -1, -1, -1, -471
Animation= 466, 2, -1, -1, 40, 23, -1, -462
Animation= 472, 2, -1, -1, 40, 7, -1, -462
Animation= 468, 16, -1, -1, 40, 8, -1, -462
Animation= 421, KEY1_JUMP, IGNORE, FAN_SET_NEUTRAL_STATE_ID + FAN_SET_FREE_HANDS, ENV_POS_HORTOGONAL + ENV_HOLE_FLOOR_IN_FRONT + ENV_POS_STRIP_1, IGNORE, IGNORE, 80
Animation= 500, KEY1_ACTION + KEY1_UP, IGNORE, IGNORE, ENV_MONKEY_CEILING, 1027, IGNORE, 56
Animation= 597, KEY1_ACTION + KEY1_UP, IGNORE, FAN_SET_LARA_PLACE+FAN_ALIGN_TO_ENV_POS, ENV_MULT_CONDITION, 8, PLACE_GROUND, -110, -116, -118
MultEnvCondition= 8, ENV_CLIMB_WALL_IN_FRONT, IGNORE, IGNORE, ENV_POS_HORTOGONAL + ENV_FLOATING, IGNORE, IGNORE, ENV_CONDITION_TRIGGER_GROUP, 9, IGNORE
Triggergroup= 9, $8000, 7, $110
MultEnvCondition= 7, ENV_DISTANCE_WEST_WALL, 102, IGNORE, ENV_DISTANCE_SOUTH_WALL, 102, IGNORE, ENV_DISTANCE_NORTH_WALL, 102, IGNORE, ENV_DISTANCE_EAST_WALL, 102, IGNORE
Animation= 246, KEY1_UP, IGNORE, IGNORE, ENV_FRAME_RANGE, 1024, IGNORE, -71 ; Slide to Run
Animation= 399, KEY1_UP, IGNORE, IGNORE, ENV_FRAME_NUMBER, 8, IGNORE, -151 ; Run after swan dive
ColorRGB= 1, 154, 125, 55
ColorRGB= 2, 88, 57, 11
Customize= CUST_BAR, BAR_HEALTH, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, 1, 2, IGNORE
ColorRGB= 3, 55, 151, 154
ColorRGB= 4, 11, 83, 88
Customize= CUST_BAR, BAR_AIR, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, 3, 4, IGNORE
ColorRGB= 5, 109, 154, 55
ColorRGB= 6, 60, 88, 11
Customize= CUST_CINV_LIGHTING, 130, 3584, -0, 18944, 2000
Customize= CUST_CINV_ITEM_ACTION, CINV_ITEM_PISTOLS, CINV_FACTION_DISABLE, CINV_ACTION_CHOOSE_AMMO, IGNORE, IGNORE, IGNORE, 1, IGNORE
TriggerGroup= 1, $018000, 0, $64 ; always false
Customize= CUST_CINV_ITEM_ACTION, CINV_ITEM_REVOLVER, CINV_FACTION_DISABLE, CINV_ACTION_CHOOSE_AMMO+CINV_ACTION_EQUIP, IGNORE, IGNORE, IGNORE, 2, IGNORE
TriggerGroup= 2, $018000, 0, $64 ; always false
Customize= CUST_CINV_ITEM_ACTION, CINV_ITEM_UZI, CINV_FACTION_DISABLE, CINV_ACTION_CHOOSE_AMMO, IGNORE, IGNORE, IGNORE, 3, IGNORE
TriggerGroup= 3, $018000, 0, $64 ; always false
Customize= CUST_BAR, BAR_DASH, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, 5, 6, IGNORE
Customize= CUST_PARALLEL_BARS, PB_LARA_CAN_SLIDE, IGNORE, IGNORE
Customize= CUST_SET_STILL_COLLISION, COLL_STATICS, IGNORE, IGNORE
Customize= CUST_LOOK_TRASPARENT, DISABLED
Customize= CUST_TR5_UNDERWATER_COLLISIONS
Customize= CUST_FIX_WATER_FOG_BUG, ENABLED
Customize= CUST_FLARE, FFL_ADD_GLOW_LIGHT, IGNORE, 37, 148 , 221, IGNORE
Customize= CUST_SHOW_AMMO_COUNTER, CL_RED, FT_TOP_LEFT+FT_UNDER_LEFT_BARS, IGNORE, SC_HALF_HEIGHT,SHOWC_OMIT_AMMO_NAME
Customize= CUST_TEXT_ON_FLY_SCREEN, ENABLED
Customize= CUST_CAMERA, IGNORE, IGNORE, IGNORE, IGNORE, $800, IGNORE, -1536, IGNORE, IGNORE
TextFormat= CL_GOLD, FT_BOTTOM_CENTER+FT_SIZE_HALF_HEIGHT, IGNORE, IGNORE
Puzzle= 3,Golden Star, $0000,$0500,$0000,$0000,$0000,$000a
__________________
"Observations not only disturb what is to be measured, they produce it."

Last edited by ColeMoles; 24-05-23 at 21:55.
ColeMoles is offline   Reply With Quote
Old 27-05-23, 16:30   #2
ColeMoles
Student
 
ColeMoles's Avatar
 
Join Date: May 2021
Location: England
Posts: 113
Default

Bump & an update.

Did a bit more testing, this issue is only happening with items i pry off the wall with a crowbar, all other item pickups from the ground and on pedestals work fine but for some reason the wall items for the crowbar are doing these weird things in the inventory and on pickup, any help would be appreciated!
__________________
"Observations not only disturb what is to be measured, they produce it."
ColeMoles is offline   Reply With Quote
Old 29-05-23, 03:14   #3
Uzi master
Relic Hunter
 
Uzi master's Avatar
 
Join Date: Jul 2009
Location: Canada
Posts: 7,285
Default

All those numbers after the name of the item affect it's position and rotation in the inventory. Use the original values from the Library script to fix it. Might not work properly with the plugin, not sure, but those values don't look like the proper ones.
Uzi master 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 02:03.


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.