• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.

Archived

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

heroine

Possible to make stock clothing replacers ''player-only'' ?

27 posts in this topic

I was wondering if it'd be possible to create a mod that allows stock clothing replacers to be player-only, it gets kind of annoying when you see grannies running around in skimpy wear ; just to segregate your player from the the majority, allowing the player to have a unique body, different than the NPCs.


 


This would turn out great for most replacers - but if I were to point to one singular replacer, it would have to be the one I use, http://oblivion.nexusmods.com/mods/42033/? - I love stock replacers, it fits well with the body you choose beforehand so your player's body doesn't switch around when clothing is put on. Though it frustrates me that everyone has the same body shape now.


 


So is this a simple thing to do? I looked around the comments of the stock replacer linked above, and found this comment :


 


3BEwF.png


 


Showing it's possibility, but denying devotion to actually processing such a modification. So I am wondering if it's hard or not, and if not would anyone be willing to make such a thing?


0

Share this post


Link to post

The only way I know of to do it is put the clothes\armors you want to use in an esp and load them into a chest in the game world or in the testing hall.  That would be the simplest way to do it for sure.  Any other way gets complicated really fast.


0

Share this post


Link to post

I guess it's possible with (maybe) various ways. The first thing jumps into my head is the break armor system. it's a very simple condition check that someone who is wearing a specific cloth is the player or not. But no I won't do that because I have no idea how to resolve compatibility issues with break armor framework itself. I've experienced many incompatibilities while I'm working on TamagoSetbody(which was a pseudo break armor) and some of them are hard to solve without cooperation with the author. And most of all, I forgot many things about oblivion modding.. I've been modding diablo 2 past few months.

.

There got to be another way though. If you're not planning to release it public, other quite imperfect ways are out there. Using OnActorEquip event handler and if the player wears it you'll swap the equipment and.. that sort of things. That kind of stuff could hammer the cpu or cause unexpectable havoc, but it's always ok as long as nobody other than you uses it.

0

Share this post


Link to post

Already existing, i made one. or you can just use this.


http://oblivion.nexusmods.com/mods/39236//?


 


its very easy to make but very time consuming, you'll need to make a script that when you pick up an armor or clothing, what you picked up gets removed then you get a player only version instead. problem is you will need to remake it depending on the replacers you use. or just mix and match.


0

Share this post


Link to post

I can do this but I will have to contact Nephenee13 though as in order to do it I would have to completely restructure all the files in his mod.


 


I do have to wonder though why he is using a ESPs for a stock clothing and armor replacer, surely just placing the meshes and textures in the data would overwrite the vanilla ones.


 


At the moment can't do any other projects as I am waiting for replies so I need something kill the time, No one seems to want to look or answer their PMs. Besides  Waiting for technical support to get back to me on a FPS issue and no one is currently on Steam to do some gaming.


 


Hence I am bored :/


 


 


0

Share this post


Link to post

Yes. It is possible with a simple script.


 




scn UpperPants01Add
Begin OnAdd Player


if player.getitemcount UpperPants01 >= 1
player.additem UpperPants01DMRA 1
message " "
message " "
endif


End




Above script adds piece of DMRA clothing (pants) to your inventory when you get the item of that specific ID - UpperPants01.



scn UpperPants01Remove
Begin OnAdd Player


if player.getitemcount UpperPants01 >= 1
player.removeitem UpperPants01 1
message " "
message " "
endif


End

Above script removes the vanilla item you get so you don't get duplicates of the vanilla and DMRA clothing in your inventory. This script is always attached to DMRA version of the clothing. 


 


Long story short. I made meself such replacer but it lacks many pieces of armor though many of them are ready for player. One thing is I didn't bother to remove duplicates because it takes more time so you will have to dump yourself duplicates.


 


Download Nenpheene's DMRA BBB replacer and drop it in folder Meshes\A_Nephs DMRA Stock


You will have to create yourself folder A_Nephs DMRA Stock inside the Meshes folder.


 


So for example the pathing to the DMRA fur armor looks like this 


 


Meshes\A_Nephs DMRA Stock\meshes\Armor\fur\f


 


Here is the esp I made. Use it wisely and hope nobody will whine about it to be removed.


 


 



*Scripts thanks to generosity of falloutsurvivor and stricken from the nexus. 


DMRA Stock Player Only.esp

0

Share this post


Link to post

I'm sure Mailamea just said that....


 


I have already started converting it all and "time consuming" doesn't even begin to cover it. Your talking at least a few hundred record need to be changed to pull this off.


0

Share this post


Link to post

Yes. It is possible with a simple script.

 

scn UpperPants01Add

Begin OnAdd Player

if player.getitemcount UpperPants01 >= 1

player.additem UpperPants01DMRA 1

message " "

message " "

endif

End

Above script adds piece of DMRA clothing (pants) to your inventory when you get the item of that specific ID - UpperPants01.

scn UpperPants01Remove

Begin OnAdd Player

if player.getitemcount UpperPants01 >= 1

player.removeitem UpperPants01 1

message " "

message " "

endif

End

Above script removes the vanilla item you get so you don't get duplicates of the vanilla and DMRA clothing in your inventory. This script is always attached to DMRA version of the clothing. 

 

Long story short. I made meself such replacer but it lacks many pieces of armor though many of them are ready for player. One thing is I didn't bother to remove duplicates because it takes more time so you will have to dump yourself duplicates.

 

Download Nenpheene's DMRA BBB replacer and drop it in folder Meshes\A_Nephs DMRA Stock

You will have to create yourself folder A_Nephs DMRA Stock inside the Meshes folder.

 

So for example the pathing to the DMRA fur armor looks like this 

 

Meshes\A_Nephs DMRA Stock\meshes\Armor\fur\f

 

Here is the esp I made. Use it wisely and hope nobody will whine about it to be removed.

 

 

*Scripts thanks to generosity of falloutsurvivor and stricken from the nexus. 

 

Awesome, I'll make sure to try this out.

0

Share this post


Link to post

I bet you change your mind when you see how many edits your going to have to make :P


0

Share this post


Link to post

I bet you change your mind when you see how many edits your going to have to make :P

Exactly. I created only as many DMRA armors/robes for player  as I acquired/had will to do. 

 

Though most of the unchanted armors are done. 

0

Share this post


Link to post

I've finished :)

100% fully converted, I have got permission from the author so I will upload it as soon as I can :D

0

Share this post


Link to post

I've finished :)

100% fully converted, I have got permission from the author so I will upload it as soon as I can :D

:OOOOOOOOOO :DDDDDDDDD

 

That's great news!

 

Looking forward to this, cannot wait.

0

Share this post


Link to post

I've already finished this also with neph's stock clothing/armor replacer, remember the old loverslab? i had a thread about this even got permission from neph. Only problem is where the heck is the .esp. lol


 


There's also a better way to do this, so compatability issues are harder to solve, because if your run OOO or FCOM, or deadlyreflex more damage, when you pick up the armor the stats the player only version gives you is the vanilla stats and vanilla non scripted. I also made something that when you rather give it to a companion they will swap it for the non player version.


 


Just study the stock clothing script and you'll get it.


0

Share this post


Link to post

I've already finished this also with neph's stock clothing/armor replacer, remember the old loverslab? i had a thread about this even got permission from neph. Only problem is where the heck is the .esp. lol

There's also a better way to do this, so compatability issues are harder to solve, because if your run OOO or FCOM, or deadlyreflex more damage, when you pick up the armor the stats the player only version gives you is the vanilla stats and vanilla non scripted. I also made something that when you rather give it to a companion they will swap it for the non player version.

Just study the stock clothing script and you'll get it.

Can't be asked with all that. Not in a good mood at the moment and I have to be in a good mood for something like that.

 

Well if you finsihed it you never released it :) After all I would of known if you did as I have all your mods in a folder on my computer :P

0

Share this post


Link to post

 

I've finished :)

100% fully converted, I have got permission from the author so I will upload it as soon as I can :D

:OOOOOOOOOO :DDDDDDDDD

 

That's great news!

 

Looking forward to this, cannot wait.

 

 

I didn't touch the arena stuff as that already had scripts on it and I didn't want to mess with them just in case it caused something to break.

0

Share this post


Link to post

Yes. It is possible with a simple script.

 

 

 

is it possible just to change the folder meshes  with a script?     instead of  data/meshes/.....

    to data /meshes02/.......

 

it would be easier to change to another folder than to pin each file in cs.

0

Share this post


Link to post

 

 

I've finished :)

100% fully converted, I have got permission from the author so I will upload it as soon as I can :D

:OOOOOOOOOO :DDDDDDDDD

 

That's great news!

 

Looking forward to this, cannot wait.

 

 

I didn't touch the arena stuff as that already had scripts on it and I didn't want to mess with them just in case it caused something to break.

 

 

That's fine, regardless I know it's going to be a great mod.

0

Share this post


Link to post

Just getting some bugs out and I will upload the mod. Should take no more than a day.

0

Share this post


Link to post

Just getting some bugs out and I will upload the mod. Should take no more than a day.

 

Sounds great

0

Share this post


Link to post

 

Yes. It is possible with a simple script.

 

 

 

is it possible just to change the folder meshes  with a script?     instead of  data/meshes/.....

    to data /meshes02/.......

 

it would be easier to change to another folder than to pin each file in cs.

 

 

I said this in another, related thread, but it bears repeating.

The mod Set Body Expanded (terrible name) already does this (and it works on NPCs and Players), but it has a pretty bad bug, if a mesh doesn't exist and it CTDs. So if body type is set to A, and an NPC or player tries to equip an item that doesn't have a mesh in side A it crashes. Or if player/npc is wearing an item w/o a mesh for type A, and you switch them to type A, it crashes.

 

It's based on the same scripts used by SetBody, but it's based on a very old version of SetBody I think, so it doesn't benefit from bugfixes made in newer versions.

 

It wouldn't hurt to look at those scripts to see what's going on, but I think I'd stick with starting from scratch and having it be config file based (instead of storing data in Factions).

0

Share this post


Link to post

 

 

Yes. It is possible with a simple script.

 

 

 

is it possible just to change the folder meshes  with a script?     instead of  data/meshes/.....

    to data /meshes02/.......

 

it would be easier to change to another folder than to pin each file in cs.

 

 

I said this in another, related thread, but it bears repeating.

The mod Set Body Expanded (terrible name) already does this (and it works on NPCs and Players), but it has a pretty bad bug, if a mesh doesn't exist and it CTDs. So if body type is set to A, and an NPC or player tries to equip an item that doesn't have a mesh in side A it crashes. Or if player/npc is wearing an item w/o a mesh for type A, and you switch them to type A, it crashes.

 

It's based on the same scripts used by SetBody, but it's based on a very old version of SetBody I think, so it doesn't benefit from bugfixes made in newer versions.

 

It wouldn't hurt to look at those scripts to see what's going on, but I think I'd stick with starting from scratch and having it be config file based (instead of storing data in Factions).

 

 

i want a more specific script or esp to have multiple folder

 

anyway Thanks  i will download it and see if it suit me .

0

Share this post


Link to post

@kingkong what do you mean "multiple folder"


 


SetBody Reloaded supports as many "body types" (really clothing sets) as you want. It comes with HGEC A-H (no BBB except on the DMRA set), but it can be configured by changing faction values to support an arbitrarily large number of clothing sets.


 


If it wasn't so buggy and was easier to configure and maybe supported better fallback options it sounds like it would be exactly what you want (though perhaps I misunderstand)


0

Share this post


Link to post

What is it with the StarX Vanilla Vampires Revised.esp? I can't make player DMRA only armors for it. I use the code I cited earlier in this topic - see post #6


This monkey code worked for other mods I wanted to create DMRA armors for player only. It worked for Banes Guild United esp for example.



scn STXBloodCraveCuirassAdd
Begin OnAdd Player

if player.getitemcount STXBloodCraveCuirass >= 1
player.additem STXBloodCraveCuirassDMRA 1
message " "
message " "
endif

End

Doesn't work and doesn't produce DMRA armor upon receiving normal Blood Crave Cuirass. I double checked and all IDs matched. 


post-16957-0-48944200-1377229237_thumb.p

0

Share this post


Link to post

Are you sure the DMRA version is set to playable?


0

Share this post


Link to post

Are you sure the DMRA version is set to playable?

 

Yes.

post-16957-0-27296900-1377234316_thumb.p

0

Share this post


Link to post