Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 12-10-22, 15:57   #281
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by KlokBier View Post
Speaking of Rollingballs, did anyone get classic rollingball to work? When TE beta was just released it worked. Now it just seems to dissapear when I trigger it. (Same applies to Temple of Puna giant rollingball)
Happens to me as well.

I can make an issue on github, but let's see at first if it isn't already known.
__________________
TE - the place to unleash your creativity.

Last edited by Die Basis; 12-10-22 at 16:00.
Die Basis is offline   Reply With Quote
Old 24-10-22, 13:10   #282
Motormouth
Hobbyist
 
Join Date: Mar 2022
Posts: 4
Default

i'm pretty noob when it comes to trle, i haven't used it in many years, and that was the original TRLE that came with Chronicles
i downloaded and fired up Tomb Editor, and went to try out one of the example levels (karnak), and i see that lara by default has absolutely nothing in her inventory, not even pistols or anything
clearly it would seem there's a lot of extra parameters these days in the editor, such as altering the default inventory, so i'm wondering is there any documentation anywhere i can look to read and learn about stuff like inventory?
Motormouth is offline   Reply With Quote
Old 25-10-22, 07:13   #283
l.m.
Historian
 
Join Date: Feb 2009
Location: Iserlohn
Posts: 405
Default

Quote:
Originally Posted by Motormouth View Post
i'm pretty noob when it comes to trle, i haven't used it in many years, and that was the original TRLE that came with Chronicles
i downloaded and fired up Tomb Editor, and went to try out one of the example levels (karnak), and i see that lara by default has absolutely nothing in her inventory, not even pistols or anything
clearly it would seem there's a lot of extra parameters these days in the editor, such as altering the default inventory, so i'm wondering is there any documentation anywhere i can look to read and learn about stuff like inventory?
for TEN you can refer to this LUA Api for Scripting:

https://lwmte.github.io/

Beginner Guide for scripting you can find here:

https://github.com/Stranger1992/Tomb...a-Basics-Guide

Also you can find many tutorials in german about TEN and TE here:

TE: http://www.trlevel.de/lexicon/index....omb-editor-te/
TEN: http://www.trlevel.de/lexicon/index....mb-engine-ten/
__________________
Greetings, :-) l.m. :-)
l.m. is offline   Reply With Quote
Old 26-10-22, 04:02   #284
Motormouth
Hobbyist
 
Join Date: Mar 2022
Posts: 4
Default

thankyou, i will look into this stuff!
Motormouth is offline   Reply With Quote
Old 27-10-22, 20:27   #285
tiskmod
Hobbyist
 
Join Date: Nov 2020
Posts: 20
Talking Another TOMB ENGINE AKA TEN: Video LARA's HOME

https://www.youtube.com/watch?v=3TL4a7jdUuE
Level BY:
ShadowXJaw724
tiskmod is offline   Reply With Quote
Old 29-10-22, 17:18   #286
DaviDM
Hobbyist
 
DaviDM's Avatar
 
Join Date: Apr 2013
Posts: 39
Default

I have a question: is there a LUA command to keep Lara from moving? Like Flyby Camera Sequence.
I tried the command :SetAnim (103) but Lara walks anyway
I tried :SetState (2) but nothing happens
DaviDM is offline   Reply With Quote
Old 30-10-22, 16:15   #287
l.m.
Historian
 
Join Date: Feb 2009
Location: Iserlohn
Posts: 405
Default

perhaps you can disable key inputs?

https://lwmte.github.io/1%20modules/Misc.html#KeyClear

The key assignment:


Forward = 0,
Back = 1,
Left = 2,
Right = 3,
Crouch = 4,
Sprint = 5,
Walk = 6,
Jump = 7,
Action = 8,
Draw = 9,
Flare = 10,
Look = 11,
Roll = 12,
Inventory = 13,
Pause = 14,
StepLeft = 15,
StepRight = 16

Like this (example)

KeyClear(0)
KeyClear(1)
KeyClear(2)
KeyClear(3)
...

In Future there will be other commands like

DisableAllKeys() and so on.
__________________
Greetings, :-) l.m. :-)
l.m. is offline   Reply With Quote
Old 30-10-22, 17:43   #288
DaviDM
Hobbyist
 
DaviDM's Avatar
 
Join Date: Apr 2013
Posts: 39
Default

the controls are necessary active for the function I create.
I gave it a try anyway, but it does not work
Code:
LevelFuncs.test = function()
	if (KeyIsHit(8)) then
		TEN.Misc.KeyClear(0)
		TEN.Misc.KeyClear(1)
		TEN.Misc.KeyClear(2)
		TEN.Misc.KeyClear(3)
	end
end
DaviDM is offline   Reply With Quote
Old 30-10-22, 17:45   #289
l.m.
Historian
 
Join Date: Feb 2009
Location: Iserlohn
Posts: 405
Default

Quote:
Originally Posted by DaviDM View Post
the controls are necessary active for the function I create.
I gave it a try anyway, but it does not work
Code:
LevelFuncs.test = function()
	if (KeyIsHit(8)) then
		TEN.Misc.KeyClear(0)
		TEN.Misc.KeyClear(1)
		TEN.Misc.KeyClear(2)
		TEN.Misc.KeyClear(3)
	end
end
Try this

Code:
LevelFuncs.test = function(triggerer)
      if (KeyIsHit(8)) then
		KeyClear(0)
		KeyClear(1)
		KeyClear(2)
		KeyClear(3)
	end
end
__________________
Greetings, :-) l.m. :-)
l.m. is offline   Reply With Quote
Old 30-10-22, 17:55   #290
DaviDM
Hobbyist
 
DaviDM's Avatar
 
Join Date: Apr 2013
Posts: 39
Default

Quote:
Originally Posted by l.m. View Post
Try this

Code:
LevelFuncs.test = function(triggerer)
      if (KeyIsHit(8)) then
		KeyClear(0)
		KeyClear(1)
		KeyClear(2)
		KeyClear(3)
	end
end
it does not work

I tried to change when to run but it doesn't change

I am using the latest version of TEN 1.0.2
DaviDM 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 23:27.


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.