Jump to content

[A17b240] Allow Complex Rotation for Garage Door


infal

Recommended Posts

This mod isn't working for me. I tried the download from here and nexusmods but the ration remains the same. I'm guessing im probably not suppose to just drop it into the mod folder, lol.

 

Open the zip file - Windows has built in support for zip files but if you want a better program get 7-Zip (http://www.7-zip.org/) - then extract the folder in the zip file into your mods directory.

Link to comment
Share on other sites

That's what iv done. I've tried it a few times now and it just wont work for me which is odd considering i have 20+ mods working which i installed exactly as you described. Must be some sort of issue on my end i guess.

 

https://gyazo.com/634af61699be407226b38c9dbc85a33e

Check the console when you load your world. (F1 key)

Scroll to the top and you should see a bunch of messages about loading the various mods

It should say:

Trying to load from infalGarageDoorRotate

Loaded Mod: infalGarageDoorRotate (A17b240)

 

also, look for any text in yellow or red on the console. A yellow message might say something along the lines of "could not apply line from mod infalGarageDoorRotate"

 

Other than that, I'd say it could just be an incompatibility with another mod. You could test by temporarily removing all the other mods and starting a new world with creative enabled and see if the garage door rotation works then.

 

The fact that it doesn't work with mine and the other mod from nexus, and that you do know how to install mods etc, I'm leaning towards incompatible with another mod.

Link to comment
Share on other sites

Hmmm, yeah so its definitely loading that mod just fine.

 

''Trying to load from infalGarageDoorRotate

Loaded Mod: infalGarageDoorRotate (A17b240)''

 

It must be a conflict with another mod then. I'll try running it without my other mods a little later to see if that fixes it.

Link to comment
Share on other sites

The xpath code in this is all messed up so it still needs work mate.

Could you be more specific? What about it messed up?

 

The code is:

<set xpath="/blocks/block[starts-with(@name, 'garageDoorMetal')]/property[@name=OnlySimpleRotations]/@value">false</set>

 

Which works fine for me an A17 b240

20190105200606_1.jpg.8c4c29d7fdb0c09ae2768331d7fcc1bf.jpg

Link to comment
Share on other sites

Notepads tellin me this works -

 

<config>

<set xpath="/blocks/block[@name=garageDoorMetal]/property[@name=OnlySimpleRotations]/@value">false</set>

 

</configs>

 

Sorry it didn't work for me so i assumed it was the code, maybe yours works as well, it just didn't for me. I wasn't meaning to be critical I just had to work out how else to put it before elaborating.

Link to comment
Share on other sites

Notepads tellin me this works -

 

<config>

<set xpath="/blocks/block[@name=garageDoorMetal]/property[@name=OnlySimpleRotations]/@value">false</set>

 

</configs>

 

Sorry it didn't work for me so i assumed it was the code, maybe yours works as well, it just didn't for me. I wasn't meaning to be critical I just had to work out how else to put it before elaborating.

 

That's okay, I'm just trying to fix a problem if one exists but that's difficult when the modlet is working fine for me.

 

Your code above would need to use the full names and have a line for each variant garageDoorMetal_v1, garageDoorMetal_v2, garageDoorMetal_v3 though, since you can only place v2 and v3 in creative, you may only need the line for v1.

 

The starts-with property is explained in sphereii's post about xpath, it just lets you modify multiple objects with a single line.

 

https://7daystodie.com/forums/showthread.php?93816-XPath-Modding-Explanation-Thread&p=868117&viewfull=1#post868117

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...