Search found 229 matches

by asmo
23 Nov 2015, 15:45
Forum: General
Topic: OSG on steroids
Replies: 37
Views: 21724

Re: OSG on steroids

Maybe something that has to do with stability can be bundled w/ the other improvements … intrinsically tied of course. ;)
by asmo
21 Nov 2015, 12:30
Forum: General
Topic: scripting stacked items in container/inventory is a bad idea
Replies: 5
Views: 2666

Re: script isn't exec for items 2nd instance taken from cont

Looking at the code, it seems that stacking is avoided if the enchantment does not match, the owner does not match, it is a soul gem with non-matching soul, the remaining usage time dose not match (e.g. torch) or the health does not match. Not sure if a workaround could be constructed from that. Lo...
by asmo
20 Nov 2015, 13:28
Forum: General
Topic: scripting stacked items in container/inventory is a bad idea
Replies: 5
Views: 2666

Re: script isn't exec for items 2nd instance taken from cont

I presume the objects are stacked in the inventory. A stack is handled as if it was a single object. If that were not the case a stack of 10 000 coins (with scripts) would execute 10 000 scripts each frame. Obviously that is a no go (not to mentioned that individual objects within a stack do not ha...
by asmo
20 Nov 2015, 05:19
Forum: General
Topic: scripting stacked items in container/inventory is a bad idea
Replies: 5
Views: 2666

Re: script problem with OnPCAdd and OnPCDrop

I tried to find out which item executes what and found out that the script is not executed for the second instance taken from the container. It's easiest to explain by showing the source code Begin asmo_ondrop_global short s_last_id End asmo_ondrop_globa the script of the instances have this added a...
by asmo
19 Nov 2015, 22:10
Forum: General
Topic: scripting stacked items in container/inventory is a bad idea
Replies: 5
Views: 2666

scripting stacked items in container/inventory is a bad idea

Hello, I want to make sure that only one instance of an item can be taken. I use OnActivate and OnPCAdd in an if-elseif-endif statement If OnActivate is not true OnPCAdd is checked. In the latter case the item is dropped (instead of taken to the inventory). The last elseif checks if an item was drop...
by asmo
18 Nov 2015, 21:51
Forum: General
Topic: OpenMW and Levelled Lists
Replies: 2
Views: 2287

Re: OpenMW and Levelled Lists

I'd like to know that, too.
by asmo
18 Nov 2015, 21:34
Forum: General
Topic: containers using levelled lists
Replies: 5
Views: 3146

Re: containers using levelled lists

qqqbbb wrote:You can do it with tes3cmd

Code: Select all

tes3cmd dump  --type cont --match  "l_n_amulet" "morrowind.esm" > tes3cmddump.txt
How do I get that program, does it run on Linux?

Code: Select all

$> locate tes3cmd
$>
What I found was tes3cmd.exe as part of MGSO, clearly not Linux. :?
by asmo
16 Nov 2015, 23:21
Forum: General
Topic: containers using levelled lists
Replies: 5
Views: 3146

Re: containers using levelled lists

./esmtool dump <ESM file> -t CONT | grep -C 20 -i levelled_item_id I guess a "find references to object" tool would be handy for OpenCS. Or make the global search function search through item lists as well. I probably did something wrong. Because there are only two occurances. I still don...
by asmo
16 Nov 2015, 22:10
Forum: General
Topic: containers using levelled lists
Replies: 5
Views: 3146

containers using levelled lists

Hello, I'd like to know which containers/… use which levelled list. A request could be: show all containers that "use" list_items_01 OR anything that uses list_weapons_b I need to check if I adding something to (list_item_02.)list_amulets_01 would affect list_items_99 and list_amulets_b as...
by asmo
12 Nov 2015, 17:10
Forum: General
Topic: Functions and gamefiles uncoupled?
Replies: 2
Views: 1730

Re: Functions and gamefiles uncoupled?

Great. Thanks!