Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 30-11-07, 11:55   #1621
Pyuaumch
Member
 
Joined: Dec 2005
Posts: 491
Default

@aktrekker: Thanks, now i understand. I've found this article about force feedback at Microsoft site. Aside from it, i can't find any info about DirectX 6 force feedback implementation (Heh... Even Google returns this forum thread in the most relevant results for "DirectX 6" "force feedback" request... ).

This article at Microsoft contains code example, but i can't use it, because there's no any C++ compiler installed on my PC, plus i've never coded anything in C++. Can you compile it and then send it to me? I will appreciate this!

@Active Man: writing it now . By the way, you also now can create genuine savegame crystal with SECRET_MAP objects by entering negative number in its OCB and then creating custom flipeffect with same number (but not negative) with SAVE_GAME command. You may also make it disappear after using with KILL_ITEM and MOVE_ITEM commands, as i explained earlier in this thread. Also note that flipeffect that is called by SECRET_MAP object won't stop flipeffect that was triggered in usual way.
Pyuaumch is offline   Reply With Quote
Old 30-11-07, 12:22   #1622
Mr. Tomb Raider
Member
 
Mr. Tomb Raider's Avatar
 
Joined: Oct 2006
Posts: 47
Default

Hi, prblem:

DRAW_ITEM 231 150
IF_PRESSED ACTION
PLAY_SOUNDTRACK 008

it doesn't work... the item will be draw but the sound isnt play if i press action....
is it posslible to disable rotation of DRAW_ITEM?????
Mr. Tomb Raider is offline   Reply With Quote
Old 30-11-07, 12:58   #1623
ggctuk
Member
 
ggctuk's Avatar
 
Joined: Mar 2005
Posts: 9,405
Default

Quote:
Originally Posted by Active Man View Post
You can easily achieve the 'IF_SECRETS' command by adding DWORD_IF= 7F7744 X to your Flip Effect, X meaning the number of secrets you want to use.
After that, use the LOAD_LEVEL command, which already exists.

Save Crystals are easy to make.
Just take some Save Crystal mesh and put it in your level, and below it, put a trigger for a Flip Effect where you should put:
SAVE_GAME, and make it One Shot.
Thank you for this! I never really understood those DWORD flipeffect calls all that well.
ggctuk is online now   Reply With Quote
Old 30-11-07, 16:53   #1624
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Quote:
@Titak: i don't know, everything works on my side - both vertical and horizontal mirrors. Check latest patches.rar file from TREP webpage.
I have those now, so the problem might be fixed already. I'll check.

Another problem I'm having:
I've created a flipeffect with the following command: HOLSTER_WEAPONS.

I wantto use it so Lara won't be able to draw guns in a certain area.
When Lara steps onto the trigger, she holsters her guns right away, like she is supposed to be.
According to the TREP user guide Lara should be able to draw her guns again when she leaves the triggertile(s). But my Lara refuses to do so...
Titak is offline   Reply With Quote
Old 30-11-07, 17:09   #1625
nowid50
Member
 
nowid50's Avatar
 
Joined: Oct 2006
Posts: 1,380
Default

@ ggctuk : Active Man mad a small mistakes Here is the correct code : BYTE_IF= 7F7744 X

Why BYTE ? Because a byte is a value which can "grow up" until 2 to the power of 8 (256 - but 0 is like 1 for the computer so you can set value in range of 0 to 255)
nowid50 is offline   Reply With Quote
Old 30-11-07, 17:11   #1626
Nausinous
Member
 
Nausinous's Avatar
 
Joined: Nov 2007
Posts: 8,474
Default

Hey Ensi

I have a request, an interesting one too! Could you try possibly recreating a weapons slot and change some code to accomidate the TR4 engine so that a grapple gun such as that out of TR5 is possible?
Nausinous is offline   Reply With Quote
Old 30-11-07, 17:22   #1627
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

I feel so stupid...
What's that program you can check objectID's with?

I need it to find the objectID of a specific object I want to use with the SWAP_LARA_MESH flipeffectcommand.
Titak is offline   Reply With Quote
Old 30-11-07, 17:30   #1628
kaufi-lc
Member
 
kaufi-lc's Avatar
 
Joined: Oct 2007
Posts: 532
Default

It's called "Fexinspect"

http://dxtre3d.com/programs/fexinspect.zip

Last edited by kaufi-lc; 30-11-07 at 17:31.
kaufi-lc is offline   Reply With Quote
Old 30-11-07, 17:33   #1629
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Thank you!!!
Titak is offline   Reply With Quote
Old 30-11-07, 19:16   #1630
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Question Leikkuri question

I have created the font.tga and have converted it to a new font.pc.
So far so good...

I opened Leikkuri and I assigned the coordinates to each symbol.
But when I press the PATCH button an error pops up:
Quote:
Erros when modifying .exe!
Make sure you have access rights and all parameters are correct.
When I load a default preset or another custom preset, the patching works fine.

What am I missing/doing wrong?

*EDIT*
I have no idea what I did, but it works now.
If anyone has any idea abotu what I could have been doing wrong the first time, I'd still like to know.
So I can avoid the mistake in the future.

Last edited by Titak; 30-11-07 at 19:27.
Titak 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 13:55.


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.