Jump to content

Welcome to LoversLab
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Player Clothing Replacer

replacer player

  • Please log in to reply
37 replies to this topic

#1
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts

File Name: Player Clothing Replacer

File Submitter: movomo

File Submitted: 02 Oct 2014

File Category: Other


This is an incredibly small plugin I had written some time ago that lets your pc equip a different version of clothings/armors than npcs.

Sorry no screenshot.

requirement:
Oblivion script extender v20 or higher (obse.silverlock.org)

how to use:
1. drop the plugin into your data folder and enable it via mod manager.

2. if you want some armor look different for the player, copy that nif file to the original armor location.
for example, female fur armors are located at \data\meshes\armor\fur\f\ folder.
there you will find the nif files names 'cuirass.nif' or something similar.
copy 'your_cool_armor.nif' to there and rename it to 'cuirass_pconly.nif'.

3. now your pc will equip the 'your_cool_armor.nif' instead of typical fur cuirass, while the other npcs will still equip the normal fur cuirass.

* this mod is load order independent.


WARNING:
- Do not use this plugin with Break Armor or TamagoSetBody. Very old TamagoSetBody versions (before revised - that is, original unmodified versions) are ok.
- I repeat, do not invent any reason that you should enable them together with this plugin.


Posted Image
Click here to download this file


  • 6

AdBot

AdBot
  • Advert

#2
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

Seems that the file-path isn't always being reset after being set the the pc specific one, some npcs show up with the player meshes if update3d is called on them.


  • 0

#3
lollol

lollol

    Member

  • Members
  • PipPipPip
  • 126 posts

Cool idea, I like this. Perfect for players with EBE but don't want all the NPCs using EBE


  • 0

#4
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts
Ok, I didn't intend to maintain this plugin too seriously, but see if the new version fixes that problem.

Also note that there always an one frame interval of vulnerability. If an npc equips the same armor as you right after you but in the same frame, mesh path or hers is same as yours.
  • 0

#5
Mailamea

Mailamea

    Kind Hearted :3

  • Contributor
  • PipPipPipPipPip
  • 2,970 posts

Ok, I didn't intend to maintain this plugin too seriously, but see if the new version fixes that problem.

Also note that there always an one frame interval of vulnerability. If an npc equips the same armor as you right after you but in the same frame, mesh path or hers is same as yours.

movomo, did you look at player only armors at the nexus?

 

it isnt streamlined like yours and takes alot of time to setup, i know i did i coverted the OOO set to it.

 

but it fixes the compatibility with break armor and npc using your custom nif.


  • 0

#6
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts

movomo, did you look at player only armors at the nexus?
 
it isnt streamlined like yours and takes alot of time to setup, i know i did i coverted the OOO set to it.
 
but it fixes the compatibility with break armor and npc using your custom nif.


Great. Well, no, I didn't know that! Thanks.
Could you give me the link to it? or, the exact search keyword of it?
How exactly does that work?
  • 0

#7
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

This might be of interest in relation to developing this plugin

 

http://www.nexusmods...on/mods/36324/?

 

It's an older mod, but it uses a mesh swapping principal the same.

 

Some of the features look interesting, like being able to use a wig as an actual hair.

 

I still have the non-reversion mesh bug unfortunately.


  • 0

#8
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts
Crap.
That would mean I have to actually load this up and see what's happening in game.
I don't have much time these days. Will take some time.

One bad thing about events is that you never know when exactly it is because you were sleeping.
Which is the best thing of event handler at the same time.

One know issue in this is that I'm assuming the user un/equip items with reasonably slow frequency.
Once any "scripted" fast armor equip/unequip call is involved, it is possible that this forgets about older tasks and processes only the latest item. Back when I was writing this plugin I was too lazy to think about it.

There's also a couple of things to be fixed. I'll do that too soon

*Edit*
try this.
Attached File  PlayerClothingReplacer_v_1_0_2.7z   2.34KB   18 downloads
  • 0

#9
Mailamea

Mailamea

    Kind Hearted :3

  • Contributor
  • PipPipPipPipPip
  • 2,970 posts

 

movomo, did you look at player only armors at the nexus?
 
it isnt streamlined like yours and takes alot of time to setup, i know i did i coverted the OOO set to it.
 
but it fixes the compatibility with break armor and npc using your custom nif.


Great. Well, no, I didn't know that! Thanks.
Could you give me the link to it? or, the exact search keyword of it?
How exactly does that work?

 

http://www.nexusmods...on/mods/39236/?

 

I did the SI , OOO, MMM, FCOM versions. Never got around to releasing due to hardisk wipe.

 

Heres the explanation.

 

What it does is use the minimalist way possible, whenever you get a clothing or an armor you simple get the version of the armor/clothing that is skimpyfied or your own custom meshes.

 

But how?

Super minimalist script - when a player picks up for example chainmail, it removes it to the player then adds a chainmail custom mesh to the player.

The beauty of this is that the player is the only one that will have the unique versions, and when you give the unique versions to other npc it applies the same effect but reverse.


  • 0

#10
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts
I see.
Well I guess that's a very good way. except that it directly modifies so many stock items to attach scripts on them.
Hmm but, what about the npcs?
In this original plugin I only see OnAdd Player blocks. I think they will do precisely nothing on npcs.. You have corrected them?
  • 0

#11
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

Works fine now thanks :)

 

PS - If you do decide to go down the route of creating entirely new items (base form IDs) so that the original item mesh paths are left untouched, remember that some mods compatibility may be broken as they scan for items by form ID. It would be a lot more robust otherwise though.


  • 0

#12
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts

Works fine now thanks :)


That's very good to hear. Thanks for testing it.
I realized that I can't get away from this now that I released it.
:)

anyway, I seriously think that Mailamea's DMRA replacer approach is very good. Because it's compatible with the other mesh-swap frameworks. Unless you are using any plugin that attaches script to stock clotings/armors (and you don't care about armor health), you may want to use hers instead of mine.
 

PS - If you do decide to go down the route of creating entirely new items (base form IDs) so that the original item mesh paths are left untouched, remember that some mods compatibility may be broken as they scan for items by form ID. It would be a lot more robust otherwise though.

No, I won't, because I don't know any way to properly delete cloned items. Unless it is cloned, I won't be able to handle enchanted dynamic refs.
Once a new item is created, it must be destroyed at some point. That's an unwritten rule. But I don't know how.
And I.. don't like doing CS work. creating new items in CS is not fun.
not fun I say. I respect Mailamea for that...
  • 0

#13
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

 

Works fine now thanks :)


That's very good to here. Thanks for testing it.
I realized that I can't get away from this now that I released it.
:)

anyway, I seriously think that Mailamea's DMRA replacer approach is very good. Because it's compatible with the other mesh-swap frameworks. Unless you are using any plugin that attaches script to stock clotings/armors (and you don't care about armor health), you may want to use hers instead of mine.

 

If you get time, you may want to take a look at this older mod http://www.nexusmods...on/mods/36324/?

 

as it has some interesting features.


  • 0

#14
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

I can't find it now on the nexus unfortunately, but at some point there was also a setbody mod that also dealt with clothing/armor by adding a new item every time an item was equipped.

 

I think it was called setbody extended.


  • 0

#15
movomo

movomo

    maniac

  • Contributor
  • PipPipPipPipPip
  • 2,199 posts
Yes, I had noticed that mod before, but hadn't actually tried.
I'll look into what it's doing later.

In the mean time, the OP updated to 1.02.

I can't find it now on the nexus unfortunately, but at some point there was also a setbody mod that also dealt with clothing/armor by adding a new item every time an item was equipped.

I think it was called setbody extended.

That's bad. No idea why it is not accessable. But I remember that mod... You can configure the mod by categorizing npcs by faction.
But if I remember correctly, it was achieving it by "cloning" items.
And couldn't delete them.
"clothing fitted by body type" isn't my goal at the moment. It isn't impossible, but that would require quite a lot or work.
  • 0

#16
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

Yes, I had noticed that mod before, but hadn't actually tried.
I'll look into what it's doing later.

In the mean time, the OP updated to 1.02.
 

I can't find it now on the nexus unfortunately, but at some point there was also a setbody mod that also dealt with clothing/armor by adding a new item every time an item was equipped.

I think it was called setbody extended.

That's bad. No idea why it is not accessable. But I remember that mod... You can configure the mod by categorizing npcs by faction.
But if I remember correctly, it was achieving it by "cloning" items.
And couldn't delete them.
"clothing fitted by body type" isn't my goal at the moment. It isn't impossible, but that would require quite a lot or work.

 

On deleting cloned forms....

 

I believe this plugin has a command for that, although it is experimental.

 

http://www.zenthough...roject/refstuff

 

Last command on the page.


  • 0

#17
Mailamea

Mailamea

    Kind Hearted :3

  • Contributor
  • PipPipPipPipPip
  • 2,970 posts
I rooting for you movomo! Not only this will make creating custom variants of armors, the process time would be greatly improved. Just the little compatibility to make break armor work.
  • 0

#18
sroro

sroro

    Mega Poster

  • Members
  • PipPipPipPipPip
  • 779 posts

Awesome work! There was another mod on nexus that did something similar to this but it ate a few fps (and also seems to conflict with blockhead).


  • 0

#19
ger4

ger4

    Doing Stuff

  • Members
  • PipPipPipPipPip
  • 962 posts

Yes, I had noticed that mod before, but hadn't actually tried.
I'll look into what it's doing later.

In the mean time, the OP updated to 1.02.
 

I can't find it now on the nexus unfortunately, but at some point there was also a setbody mod that also dealt with clothing/armor by adding a new item every time an item was equipped.

I think it was called setbody extended.

That's bad. No idea why it is not accessable. But I remember that mod... You can configure the mod by categorizing npcs by faction.
But if I remember correctly, it was achieving it by "cloning" items.
And couldn't delete them.
"clothing fitted by body type" isn't my goal at the moment. It isn't impossible, but that would require quite a lot or work.

 

Ah, turns out it was called set body expanded not extended.

 

Found it here http://www.nexusmods...vion/mods/39371

 

Perhaps a clone form approach would be viable if restuff could be used to delete cloned refs.


  • 0

#20
cobme

cobme

    Senior Member

  • Members
  • PipPipPipPip
  • 319 posts

Wow. This mod sounds simply great, but that's a shame that I can't run it with Tamago and BA. I can see why, though.


  • 0



Also tagged with one or more of these keywords: replacer, player