Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't handle file extensions #31

Open
xDShot opened this issue Feb 10, 2018 · 0 comments
Open

Doesn't handle file extensions #31

xDShot opened this issue Feb 10, 2018 · 0 comments

Comments

@xDShot
Copy link

xDShot commented Feb 10, 2018

If func_instance entity has parameter pointed into vmf file without .vmf at end, it fails to insert.

For example, it doesn't work:

entity
{
	"id" "9"
	"classname" "func_instance"
	"angles" "0 0 0"
	"file" "instances/kasbah/kasbah_visuals"
	"fixup_style" "0"
	"origin" "1486.92 2133.41 -1.33851"
	editor
	{
		"color" "220 30 220"
		"visgroupshown" "1"
		"visgroupautoshown" "1"
		"logicalpos" "[0 0]"
	}
}

This one works:

entity
{
	"id" "9"
	"classname" "func_instance"
	"angles" "0 0 0"
	"file" "instances/kasbah/kasbah_visuals.vmf"
	"fixup_style" "0"
	"origin" "1486.92 2133.41 -1.33851"
	editor
	{
		"color" "220 30 220"
		"visgroupshown" "1"
		"visgroupautoshown" "1"
		"logicalpos" "[0 0]"
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant