How to detect weather in indoor cell ?

Post » Sat May 28, 2011 2:09 am

I have making a new town mod , this town made in one indoor cell as exterior cell.

I want my new npc talk about weather in dialouge, and make it in cs, make dialouge for each the weather number 1.2.3......

I found it don't work when my town rain.
User avatar
Meghan Terry
 
Posts: 3414
Joined: Sun Aug 12, 2007 11:53 am

Post » Sat May 28, 2011 7:20 am

Have you looked at how it is handled in tribunal?

There are some dialogue greetings based on the weather machine which has a script attached which depending on the weather sets the global Mournweather
User avatar
R.I.P
 
Posts: 3370
Joined: Sat Dec 01, 2007 8:11 pm

Post » Sat May 28, 2011 12:15 am

Have you looked at how it is handled in tribunal?

There are some dialogue greetings based on the weather machine which has a script attached which depending on the weather sets the global Mournweather

Tribunal keeps track of it using journal entries on the associated quest (though there may be a global variable as well, but I don't think so).

When you set your interior cell to behave as an exterior, you select a region for the cell to mimic. The trick then is use getcurrentweather in a script, then you can set a (global most likely) variable to show what the weather type is and use that as a dialogue filter. At least that's the only way I know to do it without MWSE or MGE.
User avatar
Cat Haines
 
Posts: 3385
Joined: Fri Oct 27, 2006 9:27 am

Post » Sat May 28, 2011 9:33 am

if i had to take a guess id say that you just tell the NPC to look at whatever cell you told the interior cell to get its weather from
User avatar
Queen of Spades
 
Posts: 3383
Joined: Fri Dec 08, 2006 12:06 pm


Return to III - Morrowind