View Single Post
Author Message
heroicpower7613
Member
Join Date: Nov 2016
Old 12-06-2018 , 18:00   sprite not working with TE_SetupBeamPoints?
Reply With Quote #1

hey, can you use custom text decals/sprites with this?

Spoiler


cuz I tried it and my game crashed (segmentation fault), the model is precached and everything.

here is the .VMT:
Code:
LightmappedGeneric
{
	"$basetexture"	"decals\custom\beampoint\c_text2"
	"$translucent" "1"
	"$decal" "1"
	"$decalscale" "0.23"
}
is there something wrong?

it works fine with
PHP Code:
g_BeamSprite PrecacheModel("materials/sprites/laserbeam.vmt"true); 
but if I try it with my custom model the game crashes.

Last edited by heroicpower7613; 12-07-2018 at 14:52.
heroicpower7613 is offline