Jump to content

Need help debugging a syntax error for my modlet


stompbox108

Recommended Posts

this modlet increases speed of walking and running for players. It's driving me batty trying to figure why it won't work. It's entityclasses.xml

 

<runningmod>

<set xpath="/entity_classes/entity_class/[@name=playerMale]/effect_group/passive_effect[@name=WalkSpeed]/@value">4.0</set>

<set xpath="/entity_classes/entity_class/[@name=playerMale]/effect_group/passive_effect[@name=RunSpeed]/@value">15.0</set>

</runningmod>

 

any help is appreciated

Link to comment
Share on other sites

There are two WalkSpeed and RunSpeed effects, maybe it is modifying the swimming version since you don't specify a value for that tag. Perhaps it would work to add [@tags=''] to yours to indicate the non-swimming version.

 

I also had concerns about that, was wondering how you use those tags to further narrow down or exclude some lines, but for now I have no problem increasing my speed while swimming, LOL.

 

but that wasn't it. I found out what it was. I had to remove the "/" in this portion of the code entity_class/[@name=playerMale]. Syntax can be a "beeeotch"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...