@ignignokt84,
If I wanted to stop damage to foundations only in a zone. How would I need to configure that? do I use shortname or prefab name? or.... ?? lol
"Raid Zone B": {
"Foundation": {
"name": "Zone",
"description": "Foundation Damage",
"prefabs": [foundation.prefab],
"types": [],
"links": {
"player": false
},
"enabled": true
},
This is an example of what it would look like ? Not sure what I would do next. I haven't really messed with mappings too much.
TruePVE
Better PVE/PVP implementation
Total Downloads: 4,637 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018
- 5/5, 26 likes
-
@Krazy J, That's close. If you use the chat command /tpve_prod while looking at a foundation it will tell you the prefab name that should be used for the mapping. Then in the mapping for foundation, you don't need any links. Links define what can and cannot be damaged BY the group, so if you say "foundation" links to "player": false, like above, then you're saying foundations can't hurt players
It should look something like the below mapping, then add "foundation": false to the player links...
Code:"Raid Zone B": { "foundation": { // this is a reference to the name of the group below, so it must be the same "name": "foundation", // must match previous row "description": "Foundation Damage", "prefabs": [ "foundation", // this is your foundation prefab name you get from /tpve_prod "foundation.triangle" // triangle foundations (just guessing at the name), also from /tpve_prod ], "types": [], "links": {}, "enabled": true },
-
-
-
-
"Foundation": {
"name": "Foundation",
"description": "Foundation Damage",
"prefabs": [
"foundation",
"foundation.triangle"
],
"types": [],
"links": {},
"enabled": true
"player": {
"name": "player",
"description": "Foundation damage from player",
"prefabs": [],
"types": [],
"links": {
"foundation": false,
"foundation.triangle": false
},
"enabled": true
},
Something like this im guess. IF I use the data for player on the outside of the zone, wont that make foundations non damageable globably ? even though they are already. Im just trying to keep it all in 1 zone. -
-
-
Yeah, that's what I thought. I'm having a problem with it resetting to default .json again. Cant get the mappings I want in "raid zone B" to stuck. LOL
I don't suppose this is Correct?
Code:"Raid Zone B": { "Foundation": { "name": "Foundation", "description": "Foundation Damage", "prefabs": [ "foundation", "foundation.triangle" ], "types": [], "links": {}, "enabled": true "player": { "name": "player", "description": "Players", "prefabs": [], "types": [ "BasePlayer" ], "links": { "foundation",: false, "foundation.triangle": false }, "enabled": true },
-
-
Last edited by a moderator: Mar 8, 2017
-
Try to validate the entire config at once - I assume that section by itself isn't a valid json.
-
I just put it into the server files, it didn't seem to revert it. now I'm gonna test my work.
[DOUBLEPOST=1489005596][/DOUBLEPOST]
Ok, so the .json is right. but when I reload with this configuration and test it, it still allows damage like theres nothing blocking damage.Attached Files:
-
-
The json format is right, but that has nothing to do with whether it's set up correctly or not. Your raid zones are both incorrectly configured - your player groups need to link to the foundation group name, not the foundation prefabs. Anyway, this will be moot with the next release...
-
This is now how I have that section set: (Which I had it this way a coup times.)
Code:"Raid Zone A": { "Foundation": { "name": "Foundation", "description": "Foundation Damage", "prefabs": [ "foundation", "foundation.triangle" ], "types": [ "BuildingBlock" ], "links": {}, "enabled": true }, "player": { "name": "player", "description": "Players", "prefabs": [], "types": [ "BasePlayer" ], "links": { "Foundation": false << -------- links the Foundation group (My guess is I'm correct.) }, "enabled": true } },
Last edited by a moderator: Mar 9, 2017 -
-
-
@ignignokt84 Do you mind sending me a quick private message? I need some assistance on this plugin, but need to send you the configs and whatnot
-
-
Code:"Mappings": { "default": "default", "mypvpzone": "exclude" // this skips all handling, no RuleSet needed }