View Single Post
  #1  
Old 12-30-2017, 08:47 AM
Hoodoo Hoodoo is offline
Amateur
 
Join Date: Jun 2012
Location: Alaska
Posts: 7
Post Custom class -Help needed

G'day everyone

I've read through various threads on custom classes and with some tinkering cobbled together a custom class, or rather a partial one, consists of two tabs to be used in conjunction with hybrid.

I know the class does work as is since i did override demonhunter skilltrees via .gdb to test, skills didn't work though.. When i purchased a skill it told me i didn't have it, I suspect it's because commands didn't get called.

Now.. Problem one is that i'm not sure how to add a button linking to my class amongst all the others. I tried but it didn't show up, Probably have to make room for it but really don't know how, Here's what i've got.

ModNewCharacter.mnu
Code:
mergeWith NewCharacter

Button
{
	text "Custom"
	textAlignment center
	position 70.0 225.0
	size 120.0 25.0
	draworder 4.0
	color White
	canClick 1
	addCommand "updateNewCharacterClass ClassCustom"
	addCommand "setUserVar HybridClass 0"
	addCommand "setuservar NewCharActionAnim newCharCustom"

	selectedCondition UserVarMatchesDefault
	UserVar PlayerClassBase ClassCustom
}
ModPickSkillTree.mnu
Code:
mergeWith PickSkillTree

Widget
{
	position 370.0 305.0
	texture Textures/UI/marbleborder.tga
	drawOrder -0.5
	size 105.0 20.0
	userVar FakePlayerClass ClassCustom
	hideCondition UserVarMatchesDefault
	color "0.75 0.75 0.75"
}

Widget
{
	position 370.0 305.0
	texture Textures/UI/marbleborder_selected.tga
	drawOrder -0.5
	size 105.0 20.0
	userVar FakePlayerClass ClassCustom
	showCondition UserVarMatchesDefault
}

Widget
{
	position 370.0 305.0
	size 105.0 20.0
	text "Custom"
	textAlignment center
	canClick 1
	addCommand "setFakePlayerClass ClassCustom"
	addCommand "setUserVar FakePlayerClass ClassCustom"
}
Problem two, I'd like to use a non-human model for my player, Is there a way to add human animations to a model? Would also like for armor to still show up over the model.

Problem three, i made a pet summon skill that i also made a skin for but didn't find a way to convert .tga to .skn


Tried consulting sdk but documentation on many fuctions is not in there


~Thanks for your time
Reply With Quote