Jump to content

Home

A bunch of ramdom problems


Xavier2

Recommended Posts

Before anyone questions why i opened another thread for questions, let me explain. My last post in the "a bunch of ramdom questions" is still waiting for an answer. Besides that thread is to pose questions on "how to do". This one is rather for "what am i doing wrong" kind of questions. Now lets cut to the chase or should i say the cheesy...Here it goes:

 

We are making a new area. I spawned an npc there, after dantooine mandalorian boss, sherruk. We equipped him with a custom made weapon and mask.

 

The mask has a disguise property that turns your character into a custom made model (new head and body in app.2da #509 row).

 

When i warp to the new area sherruk is there, using the weapon, with the app.2da #509 appearence, but the mask doesn't show.

 

Weird...The mask isn't there and yet it's effects are present.

 

I tried to use other npc .utc file, standard masks of Kotor but the result is the same. No mask appear.

 

As far as i know, npc's are able to use masks. Other new area mods like Exar Kun tomb had a npc, Exar Kun himself, using a mask.

 

So, my question is: What a hell is wrong?

 

Some more info: the new area i am doing uses the Javiar's cantina from Taris Lower city.

 

I am having trouble to make a mask show in a npc placed in a new area

Link to comment
Share on other sites

Hello,

 

Not all of the models in kotor have the "hooks" for a mask.

 

Extract the model you are using get it into gmax and look for a "maskhook" dummy object. If there isn't one then the mask will never show up on the model in the game.

 

Same goes for goggles, look for a "gogglehook" dummy object.

 

Hope that helps.

Link to comment
Share on other sites

Xavier2,

I know these types of threads are especially convenient for your developments. However, before others choose to copy you in this way, I should ask on behalf of future readers that you (and everyone else) please try to focus a thread to a single topic with a descriptive title. The last point is especially important with the search function being disabled.

 

More threads with single topics >> Single thread with multiple topics.

Link to comment
Share on other sites

Originally posted by cchargin

Hello,

 

Not all of the models in kotor have the "hooks" for a mask.

 

Extract the model you are using get it into gmax and look for a "maskhook" dummy object. If there isn't one then the mask will never show up on the model in the game.

 

Same goes for goggles, look for a "gogglehook" dummy object.

 

Hope that helps.

Nope cchargin. That is not the problem the head for the npc is a PC head hex edited to become a unique one. I tested the same thing with Exar Kun npc of that Exar Kun tomb mod and no mask shows, neither mine, Exar Kun's or any standard mask. Could it be a problem with the area files?

Link to comment
Share on other sites

I second what TK102 stated above, we need to keep the boards as clutter free as possible, especially with the Search function off.

 

Now on to your problem Xavier2, you say you have a discuise property on a mask, and if you place the mask on an NPC your custom discuise shows up right? But your custom discuise isn't wearing the mask in the game, they have it equipped but it doesn't show?

 

A discuise property shows only what the proper appearance.2da line specifies should be shown, from what I gather the disguise property overrides all you are wearing to display the discuise's appearance.2da line, subsequently it will not show a worn mask. Like when you wear the Sith Armor on Taris, my Adv. Combat Sensor never shows while I have the discuise on. I could be wrong with this, but I think this is your problem.

 

I hope this helps! :D

Link to comment
Share on other sites

I have to agree with tk102. It is much easier for people to find their way around when there is one topic per thread. This is especially important since the search function is off.

So I just splitted your old thread into three sections:

1- ) twilek colors: http://www.lucasforums.com/showthread.php?s=&threadid=139812

2-) scripting and dialogue...: http://www.lucasforums.com/showthread.php?s=&threadid=140211

3-) sound: http://www.lucasforums.com/showthread.php?s=&threadid=140212

 

Next time when you ask a question, could you make a new thread with a descriptive title if it is a new topic. Like this, the questions and answers can benefit to more than one person ;)

 

Thanks :)

 

...and about your mask, I don't see how it could be an area problem...unless your .utc is not in your override folder or packed in the module.

 

edit: and Redhawke is right about the disguise property.

Link to comment
Share on other sites

Originally posted by RedHawke

I second what TK102 stated above, we need to keep the boards as clutter free as possible, especially with the Search function off.

 

Now on to your problem Xavier2, you say you have a discuise property on a mask, and if you place the mask on an NPC your custom discuise shows up right? But your custom discuise isn't wearing the mask in the game, they have it equipped but it doesn't show?

 

A discuise property shows only what the proper appearance.2da line specifies should be shown, from what I gather the disguise property overrides all you are wearing to display the discuise's appearance.2da line, subsequently it will not show a worn mask. Like when you wear the Sith Armor on Taris, my Adv. Combat Sensor never shows while I have the discuise on. I could be wrong with this, but I think this is your problem.

 

I hope this helps! :D

Well. When my PC uses this mask. The mask shows.

 

Í may be wrong but i don't think the disguise is the problem. No mask is showing. Even the standard ones.

Link to comment
Share on other sites

Just in case i did as follows:

1. Removed the disguise property from the mask

2. Gave the npc the appearence of canderous

 

No mask either.

 

Then i did:

1. Removed my mask

2. Placed the mask01 in the npc

 

No mask yet.:confused:

 

Could it be that npc's can't use masks?

Link to comment
Share on other sites

Originally posted by Darth333

It has very likely something to see with the model...or a problem with your .utc file.

Maybe i am wrong, but if it was a model problem, then using other models, like i did with canderous, should have solved the problem, but it didn't. And as i said no masks are showing...Could you take a look in the utc for me?

Link to comment
Share on other sites

Yep. The unshowing mask problem is definitelly not in the mask.uti or the npc.utc. I spawned the same .utc in another area and the mask shows. It is either the area or the .dlg of that character.

EDIT: Also it is not the dialog. I can't think of anything else rather than the area..,

Link to comment
Share on other sites

Originally posted by stingerhs

make sure that the spawning script and the character's node in the .git file match up. that usually helped for me... ;)

What do you mean? The creature list node only has the tag of the npc and it's spawning coordinates. There are no scripts field.

 

Also, the npc.utc file doesn't have any script attached to OnSpawn script field.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...