Raised This Month: $51 Target: $400
 12% 

sprite not working with TE_SetupBeamPoints?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 10:53.


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