Raised This Month: $120 Target: $400
 30% 

sprite not working with TE_SetupBeamPoints?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
heroicpower7613
Member
Join Date: Nov 2016
Old 12-06-2018 , 19: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 15:52.
heroicpower7613 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:10.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode