fodev.net
FOnline Development => Questions and Answers => Topic started by: Demenise on August 06, 2015, 07:41:56 pm
-
I have a perk that I want to change the player into a super mutant if they have it. How would I go about doing this?
also how do I limit a critters armor so they can use only specified armor? as in he can wear metal armor but not power armor.
-
Just change crType to mutant on perk up and revert it on perk down; as for armor [and any other item] you can add own tests to critter_item_movement.fos
-
Thanks Wipe.
But I have a problem when trying to change the skin on perk up it only turns my player into a turret and only after restarting the server.
-
Sounds like you're passing wrong crType argument somewhere; mutant have value ~20 while turret is >100 [with standard config].
While you're on it, try ChangeCrTypeSafe (https://github.com/rotators/fo2238/blob/master/Server/scripts/utils.fos#L2428-L2440) from 2238 to change skins; it should take care of most things needed to smoothly change critters animation.
-
Alright will do thank you for helping me.