Jump to content

Tech Tree extension icons and hover text not working


Recommended Posts

I am creating a tech tree extension for a mod I'm making. When I load up KSP and go to R&D, the hover text says "No text", while the green gear hover is working, see this image https://imgur.com/a/xhAnok4. Also, the arrows linking nodes are missing as well. The image src in the patch cfg exist, but they won't get loaded (Path TechTree/Icons/foo). The other parameters look correct, help is appreciated.

 

The source for the tech tree can be found here: https://www.filemail.com/d/euslkerwqqumkob. Help is appreciated.

 

Edit: Source code cfg here:

@TechTree
{
	RDNode
	{
		id = giganticRocketry
		title = Gigantic Rocketry
		description = Who needs size limits? Just make the VAB bigger!
		cost = 1500
		hideEmpty = False
		nodeName = wp_giganticRocketry
		anyToUnlock = True
		icon = TechTree/Icons/giganticRocketry
		pos = -956,1716,0
		scale = 0.6
		Parent
		{
			parentID = veryHeavyRocketry
			lineFrom = RIGHT
			lineTo = LEFT
		}
	}

	// High Risk Rocketry Branch

	RDNode
	{
		id = dangerousRocketry
		title = High-Risk Rocketry I
		description = New, untested parts, ready for explosion! Use at your own risk.
		cost = 1500
		hideEmpty = False
		nodeName = wp_danger
		anyToUnlock = True
		icon = TechTree/Icons/dangerousRocketry
		pos = -956,1635,0
		scale = 0.6
		Parent
		{
			parentId = veryHeavyRocketry
			lineFrom = RIGHT
			lineTo = LEFT
		}
	}
	RDNode
	{
		id = veryDangerousRocketry
		title = High-Risk Rocketry II
		description = Have some fun by testing manufacturers' newest parts!
		cost = 2000
		hideEmpty = False
		nodeName = wp_verydanger
		anyToUnlock = True
		icon = TechTree/Icons/veryDangerousRocketry
		pos = -776,1635,0
		scale = 0.6
		Parent
		{
			parentId = dangerousRocketry
			lineFrom = RIGHT
			lineTo = LEFT
		}
	}
	RDNode
	{
		id = defenseSystems
		title = Defense Systems
		description = You can never be too safe, research this tech to ensure the beloved space program doesn't get destroyed!
		cost = 2000
		hideEmpty = False
		nodeName = wp_defense
		anyToUnlock = True
		icon = TechTree/Icons/defenseSystems
		pos = -776,1716,0
		scale = 0.6
		Parent
		{
			parentId = dangerousRocketry
			lineFrom = RIGHT
			lineTo = LEFT
		}
	}
}

 

Edited by WarpPrime
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...