How to use Form Lists wit (Un)equipItem

Post » Sat May 28, 2011 12:48 pm

There is a script on "Crippled Unequip" that makes weapon droppable when health condition is low.

It looks like:

...
Player. UnequipItem
...

The script causes to list name by name every weapon that is intended in, so while you have a lot of weapons and variations script goes very big and even gets stuck when there is too many lines (is that normal?).
I wonder to replace this naming manner with Form List including all the names, but have no idea how.

The game uses OnEnter.IsInWeaponList in scripts with traps, however dunno if it would work with the script above and how to use it correctly in such a specific way.

Any help, please?



PS. Is there a tool/command that allows to modify directly Fallout3.ESM without converting or depending it on itself? Nor with GECK or FO3edit can you edit primal masterfile, while I'm desperate to do so (specific regional/language version). I know, it can be easily overwritten with ESP, but that's not satisfying my this time.
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Sat May 28, 2011 8:32 am

You can probably just give it a form list, and it'll unequip anything on the form list. It works for a lot of the functions.
User avatar
kitten maciver
 
Posts: 3472
Joined: Fri Jun 30, 2006 2:36 pm

Post » Sat May 28, 2011 11:32 am

You can probably just give it a form list, and it'll unequip anything on the form list. It works for a lot of the functions.

Nope, typing a form list name doesn't work. It pops up syntax error or so.
User avatar
Christine
 
Posts: 3442
Joined: Thu Dec 14, 2006 12:52 am

Post » Sat May 28, 2011 12:56 pm

Well, I guess you'd have to loop through it with FOSE.
short indexref itemset index to 0label 10set item to listGetNthForm EquipList indexif(item)   player.unequip item   set index to index +1   goto 10endif

User avatar
meghan lock
 
Posts: 3451
Joined: Thu Jan 11, 2007 10:26 pm

Post » Sat May 28, 2011 10:28 am

Well, I guess you'd have to loop through it with FOSE.

Can't use FOSE, language platform, unfortunatelly. Nor even would like to. that's just mostly additional problem for module's potential users.
User avatar
Add Meeh
 
Posts: 3326
Joined: Sat Jan 06, 2007 8:09 am

Post » Sat May 28, 2011 6:01 am

Nor even would like to. that's just mostly additional problem for module's potential users.


Not really. Most players use FOSE anyway, and those that don't should. As for editing the Fallout.esm, you really don't want to do that. If you screw something up there's nothing you can do to correct the problem, short of reinstalling your game. At least when you're using an esp you can simply delete it to get rid of any issues that might occur.
User avatar
Latisha Fry
 
Posts: 3399
Joined: Sat Jun 24, 2006 6:42 am

Post » Sat May 28, 2011 7:35 am

Not really. Most players use FOSE anyway, and those that don't should. As for editing the Fallout.esm, you really don't want to do that. If you screw something up there's nothing you can do to correct the problem, short of reinstalling your game. At least when you're using an esp you can simply delete it to get rid of any issues that might occur.

Most of polish users don't use FOSE that's just impossible without illegal stuff anyhow.

The must for editing ESM comes from that polish developer released two different versions of the game with different IDs for the content that forces me to create separate modules simultaneously. Yes, it can be resolved other way, but if i need to include in the module one of the versions of ESM (to avoid doubling module) then why not to correct some basic/not harming mistakes, that make my job a little easier as well.

Still my main question is to ask you ppl how to use Form Lists in scripts without FOSE. I thought to use LVI instead, like "condAllgunsToDrop" but i believe script would check if player uses that conditioned item not the inside content (that means all guns and their versions to be droppable listed as conditioned item).
User avatar
Gavin boyce
 
Posts: 3436
Joined: Sat Jul 28, 2007 11:19 pm

Post » Sat May 28, 2011 10:41 am

The alternative would be to equip a 'dummy' weapon (forcing the player to unequip their existing one) then unequip the dummy rapidly.
User avatar
Pat RiMsey
 
Posts: 3306
Joined: Fri Oct 19, 2007 1:22 am

Post » Sat May 28, 2011 9:05 am

The alternative would be to equip a 'dummy' weapon (forcing the player to unequip their existing one) then unequip the dummy rapidly.

Right, might work. I need to look closer how beth did the trick with Operation Anchorage unequiping stuff while in simulation state. There is used Form List as well.
User avatar
luis dejesus
 
Posts: 3451
Joined: Sun Aug 19, 2007 7:40 am


Return to Fallout 3