Jump to content

Home

Trigger trouble in custom modules - help!


Darth InSidious

Recommended Posts

I've been trying to use two triggers - a generic one to start a dialogue, and a transition as a module exit.

 

Unfortunately, neither is working, and I don't know why. I have the latest version of KT, and I've tried everything in the tutorials, the game files, etc.

 

The basic map is 711KOR, which isn't supported by the module editor, hence the problems.

 

Whenever I set the trigger to a faction other than 13, it won't work, but if I set it to 13 and make it detectable, I get a mine that trips script, rather than a transition or generic...:roll:

 

If someone could take a look at the files/offer some advice now, I would greatly appreciate it.

Link to comment
Share on other sites

I've been trying to use two triggers - a generic one to start a dialogue, and a transition as a module exit.

 

A few random suggestions:

As far as I know the trigger must be "Hostile" to anyone that should be able to trigger it, so it's probably best to set its faction to 1 if you haven't already if the player should be able to trip it. The type should also be set to 0 if you want a "normal" trigger, or 1 if you want a transition.

 

Also, make sure that the trigger area is a proper polygon that covers the area you wish to have as trigger zone. Don't know how important the Z coordinate is, but make sure it's above the floor just in case.

Link to comment
Share on other sites

I tried each of those, to no effect :(

 

Hmm, hard to say what it could be then, I've never had any problems adding triggers. Some more random thoughts:

 

Make sure you've set the Template Resref to the UTT filename properly in the area's GIT file, so there are no typos or such.

 

Also make sure the trigger script is correctly written and assigned to the ScriptOnEnter in the UTT file.

Link to comment
Share on other sites

Both done...I fear one of the files is corrupted, but they all seem fine...

 

Also make sure the name of the UTT file is a valid ResRef (max 16 chars, alphanumerical and underscore only), just in case. :)

 

Other than that I have no idea. Try creating another trigger from scratch in a separate location with just a simple "Hello World" script attached and see if it has the same problems. If not you are probably right about the other one getting messed up.

Link to comment
Share on other sites

I've tried it with three...In different locations in the modules, replacing the files completely, etc etc...No change. The ResRef is valid, too...I am completely at a loss...

 

Perhaps you could take a look at the files yourself?

 

Sure, send them and I'll have a look and see if I can spot anything. Not likely, but sometimes (often, in my case) you can get blind to your own mistakes. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...