www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 08-03-18, 17:32   #21
matrix54
Tomb Raider
 
matrix54's Avatar
 
Join Date: May 2007
Location: N/A
Posts: 19,767
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).
__________________
Check out "Checkout: Journey to Employee of the Month!"
matrix54 is offline   Reply With Quote
Old 12-03-18, 17:36   #22
DJ Full
Professor
 
DJ Full's Avatar
 
Join Date: Jul 2007
Location: Poland (CET)
Posts: 4,034
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
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 31,758
Default

Can't you check with folder NG-Center uses for the files?
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is offline   Reply With Quote
Old 12-03-18, 18:29   #24
DJ Full
Professor
 
DJ Full's Avatar
 
Join Date: Jul 2007
Location: Poland (CET)
Posts: 4,034
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
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,334
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
Professor
 
DJ Full's Avatar
 
Join Date: Jul 2007
Location: Poland (CET)
Posts: 4,034
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
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,334
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
Professor
 
DJ Full's Avatar
 
Join Date: Jul 2007
Location: Poland (CET)
Posts: 4,034
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
 
Join Date: Dec 2011
Location: Hungary
Posts: 3,334
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
Professor
 
DJ Full's Avatar
 
Join Date: Jul 2007
Location: Poland (CET)
Posts: 4,034
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

Bookmarks

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 13:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.