This is my first mod and its fairly simple.
Link: https://github.com/MattyMcain/TheMutatedModder
Any thoughts about it apreciated!
Wait a sec. Mod dont work.
nevermind about all this, imma neeD to learn how to use github some more.
It looks like you were trying to upload the zip file to Github.
Instead, go to the repository (where your files are/will go) and click āupload filesā. Then select the json that are in your mod and hit ācommit changesā.
Donāt use the zip, just select the actual files.
If the mod doesnāt āworkā at all, thatās a different discussion.
Oh, ok! Hsgahsgsghhxjahw
It works! Ghesbbbhwhdhsh
So what does this actually do? Whatās the difference between regular and civilian power armor? Is this armor more common? Iām a bit curious.
Itās a slightly less pricey and more common version of power armor, i just dont know how to edit item spawn groups.
Lil' example:
{
"type": "item_group",
"id": "shirts",
"items": [
[ "tshirt", 80 ],
[ "longshirt", 80 ],
[ "polo_shirt", 65 ],
[ "dress_shirt", 60 ],
[ "tank_top", 50 ],
[ "sweatshirt", 75 ],
[ "sweater", 75 ],
[ "hoodie", 65 ],
[ "under_armor", 20 ],
[ "jersey", 40 ],
[ "camisole", 60 ],
[ "tie_clipon", 10 ],
[ "tie_necktie", 10 ],
[ "tie_skinny", 10 ],
[ "tieclip", 5 ],
[ "collarpin", 5 ],
[ "postman_shirt", 5 ],
[ "halter_top", 50 ],
[ "linuxtshirt", 10 ],
[ "sleeveless_tunic", 5 ],
[ "poncho", 20 ],
[ "Civilian_depower_armor", 2 ]
]
}
You can add your power armor as part of the normal house clothing
Thank you, iāll do that right away!
Done, Civilian power armor now spawns as a suit!
How rare is the power armour?
You might want to add
ācategoryā: āitemsā
to your modinfo.json.
Also, from what Iāve experienced when making my own minor modifications, if you add an item group with the same ID as an already existing one your data is appended to the existing item group instead of replacing it. If Iām wrong hopefully someone who learned how the actual source code works will correct me.
Thanks! Iāll fix that!
Doneā¦ goddamn 20 chars.
It has a 2% chance to spawn in areas where suits spawn.
hi i found a typo in your mod unallowing Civilian depower armor to spawn, i have fixed it in my mod compilation
[āCivillian_depower_armorā, 3],
[āpower_armor_Civillianā, 2]
i changed them to (correct spelling for civilian)
before ["Civillian_depower_armor", 3],
before ["power_armor_Civillian", 2]
after ["Civilian_depower_armor", 3],
after ["power_armor_Civilian", 2]
and
before = "id": "power_armor_Civillian",
after = "id": "power_armor_Civilian",