Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 08-03-18, 17:32   #21
matrix54
Member
 
matrix54's Avatar
 
Joined: May 2007
Posts: 20,454
Default

Both of those are a yes, but require some engine tricks.

-

To preset the crossbow, you have to change the crossbow's inventory flags with scripting and trigger groups. This causes the lasersight to remake active, but you don't see the word "Separate" beneath it.

-

To give the shotgun a single box of ammo, you need to remove the uzis or the revolver from you level, and (with inventory flags) force the shotgun to display uzi ammo or revovler ammo beneath the shotgun (while just picking up the shotgun shells you want, with either wideshot or normal shot). Then, you tell the game to make the uzi ammo equal to whatever shotgun shells you're using.

What will happen is you'll end up with uzi or revolver ammo in your inventory, so you can default the uzi or the revovler some other random object (like a timer), and hide the ammo with inventory item flags. You would (of course) force the gun to show the the statistics when clicked.

-

Complicated stuff without plugins (which I don't believe we have).
matrix54 is offline   Reply With Quote
Old 12-03-18, 17:36   #22
DJ Full
Member
 
DJ Full's Avatar
 
Joined: Jul 2007
Posts: 4,183
Default

I got your mix plugin 1 Akyv, NG_Center asked me where to unpack it to.
But instead of extracting to my trle root folder, all working files got duplicated.
So I have one copy in root and another in internal /Plugin_AkyVMix01 folder.
I didn't notice that and compiled the script, now the newest is in the root...

Is this normal? Maybe it is, but doesn't look like it. Do I need both copies?
If not, which files do I need and which I can delete to avoid data loss?

Last edited by DJ Full; 12-03-18 at 17:37.
DJ Full is offline   Reply With Quote
Old 12-03-18, 18:07   #23
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Can't you check with folder NG-Center uses for the files?
Titak is offline   Reply With Quote
Old 12-03-18, 18:29   #24
DJ Full
Member
 
DJ Full's Avatar
 
Joined: Jul 2007
Posts: 4,183
Default

Not really.

NG_Center says the plugin files are used by the internal folder.

Of script.dat, now I have:
- in root folder: probably last compilation, 17:38
- but in subfolder: version from 15:30 when I didn't even yet have the plugin.
But that version in plugin folder wasn't shipped with plugin files.
I assume it was created and bound with them but the date is wrong.

The script.txt is only one, in the root folder.
But when I mounted the plugin, this file was auto-updated with plugin info.

So I cannot really be sure what changed and where...

Last edited by DJ Full; 12-03-18 at 18:32.
DJ Full is offline   Reply With Quote
Old 12-03-18, 18:53   #25
AkyV
Moderator
 
Joined: Dec 2011
Posts: 4,881
Default

I recommend to unpack first (anywhere), before installing it. Not only mine, it seems general about plugins.
Anway (should be automatical by the installation):

BTN: NG Center root
SCRIPT: NG Center root
OCB: NG Center root
DLL: TRLE root
TRG: TRLE root
TXT: with Plugin name, transformed into a Properties TXT, in NG Center root
Other TXT: made only for the plugin install folder
AkyV is online now   Reply With Quote
Old 12-03-18, 19:06   #26
DJ Full
Member
 
DJ Full's Avatar
 
Joined: Jul 2007
Posts: 4,183
Default

This is precisely what I did. Unpacked and selected "install from folder".
Then I did the same but "install from zip file" and there was no change.
My major concern is all the duped files - is this error, backup or update...
DJ Full is offline   Reply With Quote
Old 12-03-18, 19:24   #27
AkyV
Moderator
 
Joined: Dec 2011
Posts: 4,881
Default

You don't need to install it from folder/ZIP/RAR. Those are only options.
And only one DLL was uploaded. There are no othere versions. DLL was compiled at 24-12-2017 1:33 AM. No backup, no update.
I hope you used the official link.

http://www.tombraiderforums.com/show...90&postcount=2

If you can still enter the test forum, then perhaps there can be WIP links there. I hope you didn't choose them...
AkyV is online now   Reply With Quote
Old 12-03-18, 19:40   #28
DJ Full
Member
 
DJ Full's Avatar
 
Joined: Jul 2007
Posts: 4,183
Default

I guess I know what happened.
I unpacked to the root folder. Not installed but just unpacked.
Then I clicked on "install", but the files were already in correct places...
so the installer didn't know what to do and duped them into a subfolder.

Does it make sense?

But it doesn't explain why it duped ALL files together with plugin ones...
I mean load, english, script, projects, exes, even the exported trigger txts.

So...
I'm gonna compare those 150MB file by file, and check the size differences...
I think this is the safest, if not the only option...
DJ Full is offline   Reply With Quote
Old 12-03-18, 19:52   #29
AkyV
Moderator
 
Joined: Dec 2011
Posts: 4,881
Default

Honestly, a plugin installation should be very easy:
1. Unpack anywhere. (No, this custom folder is not the correct place.)
2. Choose "install from folder".
3. Installing...
4. As the warning message says, restart NG Center before doing anything else in the script.

Project, english etc. - these have nothing to do with plugins.
NG Center never did anything like that to me.... (Is it TRNG 1.3.0.7?)

But duped files (not Tomb Raider, though) also happened to me, a few times (I mean, not when doing anything with plugins). I don't know what caused that, I needed a so-called "consistence check" (or what the proper English term is) to fix them. (fsutil dirty query c:, chkdsk c)

Last edited by AkyV; 12-03-18 at 19:59.
AkyV is online now   Reply With Quote
Old 12-03-18, 20:41   #30
DJ Full
Member
 
DJ Full's Avatar
 
Joined: Jul 2007
Posts: 4,183
Default

Yep. I just unpacked to the only folder I shouldn't have unpacked to
De-duplicated... I mean unified the folder.... ready to test the plugin
Let's see.....
DJ Full 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 11:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, 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.