Raised This Month: $32 Target: $400
 8% 

TE_SetupExplosion: Sprite is not loaded correctly


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 02-24-2012 , 19:19   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #11

Code:
g_sprite = PrecacheModel("sprites/sprite_fire01.vmt");
Still the same issue. oO
Dr. Greg House is offline
mcpan313
Senior Member
Join Date: Mar 2010
Old 02-25-2012 , 01:55   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #12



why did you not have?
Attached Thumbnails
Click image for larger version

Name:	20120225145226.png
Views:	465
Size:	74.9 KB
ID:	99807  
__________________
sorry, for my poor english.
mcpan313 is offline
Send a message via MSN to mcpan313
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 02-25-2012 , 12:47   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #13

Oh it's definately in there. Game verification on both server and client returned no errors. This seems to be some kind of sourcemod related issue.
Any ideas?
Dr. Greg House is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 03-01-2012 , 13:48   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #14

No suggestions whatsoever?
Dr. Greg House is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 03-01-2012 , 13:58   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #15

Try with PrecacheDecal?
Also set the preload bool to true and see what happens.
__________________

Last edited by napalm00; 03-01-2012 at 14:00.
napalm00 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-01-2012 , 19:23   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #16

Those who have L4d2, could you show temp ent list.

sm_print_telist

*edit
sm_dump_teprops teprops.txt

Last edited by Bacardi; 03-02-2012 at 08:38.
Bacardi is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 03-02-2012 , 19:03   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #17

@napalm00:
I'll try that tomorrow after a full night of sleep.

Here's the output of the command:
Code:
"TempEnts"
{
    "CTEBullets"
    {
        "name"        "Bullets"
        "index"        "0"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecAngles[0]"        "float"
            "m_vecAngles[1]"        "float"
            "m_iWeaponID"        "int"
            "m_iMode"        "int"
            "m_iSeed"        "int"
            "m_iPlayer"        "int"
            "m_flSoundTime"        "float"
        }
    }
    "CTutorLesson"
    {
        "name"        "TutorLesson"
        "index"        "1"
        "SendTable"
        {
            "m_lesson"        "int"
            "m_subject"        "int"
        }
    }
    "CTEPlayerAnimEvent"
    {
        "name"        "PlayerAnimEvent"
        "index"        "2"
        "SendTable"
        {
            "m_hPlayer"        "int"
            "m_iEvent"        "int"
            "m_nData"        "int"
        }
    }
    "CTEFoundryHelpers"
    {
        "name"        "FoundryHelpers"
        "index"        "3"
        "SendTable"
        {
            "m_iEntity"        "int"
        }
    }
    "CTEDust"
    {
        "name"        "Dust"
        "index"        "4"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_flSize"        "float"
            "m_flSpeed"        "float"
            "m_vecDirection"        "vector"
        }
    }
    "CTEGaussExplosion"
    {
        "name"        "GaussExplosion"
        "index"        "5"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_nType"        "int"
            "m_vecDirection"        "vector"
        }
    }
    "CTEArmorRicochet"
    {
        "name"        "Armor Ricochet"
        "index"        "6"
        "SendTable"
        {
            "m_vecPos"        "vector"
            "m_vecDir"        "vector"
        }
    }
    "CTEMetalSparks"
    {
        "name"        "Metal Sparks"
        "index"        "7"
        "SendTable"
        {
            "m_vecPos"        "vector"
            "m_vecDir"        "vector"
        }
    }
    "CTEBeamEntPoint"
    {
        "name"        "BeamEntPoint"
        "index"        "8"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_nStartEntity"        "int"
            "m_nEndEntity"        "int"
            "m_vecStartPoint"        "vector"
            "m_vecEndPoint"        "vector"
        }
    }
    "CTEBeamEnts"
    {
        "name"        "BeamEnts"
        "index"        "9"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_nStartEntity"        "int"
            "m_nEndEntity"        "int"
        }
    }
    "CTEBeamFollow"
    {
        "name"        "BeamFollow"
        "index"        "10"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_iEntIndex"        "int"
        }
    }
    "CTEBeamLaser"
    {
        "name"        "BeamLaser"
        "index"        "11"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_nStartEntity"        "int"
            "m_nEndEntity"        "int"
        }
    }
    "CTEBeamPoints"
    {
        "name"        "BeamPoints"
        "index"        "12"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_vecStartPoint"        "vector"
            "m_vecEndPoint"        "vector"
        }
    }
    "CTEBeamRing"
    {
        "name"        "BeamRing"
        "index"        "13"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_nStartEntity"        "int"
            "m_nEndEntity"        "int"
        }
    }
    "CTEBeamRingPoint"
    {
        "name"        "BeamRingPoint"
        "index"        "14"
        "SendTable"
        {
            "m_nModelIndex"        "int"
            "m_nHaloIndex"        "int"
            "m_nStartFrame"        "int"
            "m_nFrameRate"        "int"
            "m_fLife"        "float"
            "m_fWidth"        "float"
            "m_fEndWidth"        "float"
            "m_nFadeLength"        "int"
            "m_fAmplitude"        "float"
            "m_nSpeed"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nFlags"        "int"
            "m_vecCenter"        "vector"
            "m_flStartRadius"        "float"
            "m_flEndRadius"        "float"
        }
    }
    "CTEBeamSpline"
    {
        "name"        "BeamSpline"
        "index"        "15"
        "SendTable"
        {
            "m_nPoints"        "int"
            "m_vecPoints"        "vector"
            "m_vecPoints"        "array"
        }
    }
    "CTEBloodSprite"
    {
        "name"        "Blood Sprite"
        "index"        "16"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecDirection"        "vector"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nSprayModel"        "int"
            "m_nDropModel"        "int"
            "m_nSize"        "int"
        }
    }
    "CTEBloodStream"
    {
        "name"        "Blood Stream"
        "index"        "17"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_vecDirection"        "vector"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "a"        "int"
            "m_nAmount"        "int"
        }
    }
    "CTEBreakModel"
    {
        "name"        "breakmodel"
        "index"        "18"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_angRotation[0]"        "float"
            "m_angRotation[1]"        "float"
            "m_angRotation[2]"        "float"
            "m_vecSize"        "vector"
            "m_vecVelocity"        "vector"
            "m_nModelIndex"        "int"
            "m_nRandomization"        "int"
            "m_nCount"        "int"
            "m_fTime"        "float"
            "m_nFlags"        "int"
        }
    }
    "CTEBSPDecal"
    {
        "name"        "BSP Decal"
        "index"        "19"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nEntity"        "int"
            "m_nIndex"        "int"
        }
    }
    "CTEBubbles"
    {
        "name"        "Bubbles"
        "index"        "20"
        "SendTable"
        {
            "m_vecMins"        "vector"
            "m_vecMaxs"        "vector"
            "m_nModelIndex"        "int"
            "m_fHeight"        "float"
            "m_nCount"        "int"
            "m_fSpeed"        "float"
        }
    }
    "CTEBubbleTrail"
    {
        "name"        "Bubble Trail"
        "index"        "21"
        "SendTable"
        {
            "m_vecMins"        "vector"
            "m_vecMaxs"        "vector"
            "m_nModelIndex"        "int"
            "m_flWaterZ"        "float"
            "m_nCount"        "int"
            "m_fSpeed"        "float"
        }
    }
    "CTEClientProjectile"
    {
        "name"        "Client Projectile"
        "index"        "22"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecVelocity"        "vector"
            "m_nModelIndex"        "int"
            "m_nLifeTime"        "int"
            "m_hOwner"        "int"
        }
    }
    "CTEDecal"
    {
        "name"        "Entity Decal"
        "index"        "23"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecStart"        "vector"
            "m_nEntity"        "int"
            "m_nHitbox"        "int"
            "m_nIndex"        "int"
        }
    }
    "CTEDynamicLight"
    {
        "name"        "Dynamic Light"
        "index"        "24"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "r"        "int"
            "g"        "int"
            "b"        "int"
            "exponent"        "int"
            "m_fRadius"        "float"
            "m_fTime"        "float"
            "m_fDecay"        "float"
        }
    }
    "CTEEffectDispatch"
    {
        "name"        "EffectDispatch"
        "index"        "25"
        "SendTable"
        {
            "m_vOrigin.x"        "float"
            "m_vOrigin.y"        "float"
            "m_vOrigin.z"        "float"
            "m_vStart.x"        "float"
            "m_vStart.y"        "float"
            "m_vStart.z"        "float"
            "m_vAngles"        "vector"
            "m_vNormal"        "vector"
            "m_fFlags"        "int"
            "m_flMagnitude"        "float"
            "m_flScale"        "float"
            "m_nAttachmentIndex"        "int"
            "m_nSurfaceProp"        "int"
            "m_iEffectName"        "int"
            "m_nMaterial"        "int"
            "m_nDamageType"        "int"
            "m_nHitBox"        "int"
            "entindex"        "int"
            "m_nColor"        "int"
            "m_flRadius"        "float"
        }
    }
    "CTEEnergySplash"
    {
        "name"        "Energy Splash"
        "index"        "26"
        "SendTable"
        {
            "m_vecPos"        "vector"
            "m_vecDir"        "vector"
            "m_bExplosive"        "int"
        }
    }
    "CTEExplosion"
    {
        "name"        "Explosion"
        "index"        "27"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_nModelIndex"        "int"
            "m_fScale"        "float"
            "m_nFrameRate"        "int"
            "m_nFlags"        "int"
            "m_vecNormal"        "vector"
            "m_chMaterialType"        "int"
            "m_nRadius"        "int"
            "m_nMagnitude"        "int"
        }
    }
    "CTEFizz"
    {
        "name"        "Fizz"
        "index"        "28"
        "SendTable"
        {
            "m_nEntity"        "int"
            "m_nModelIndex"        "int"
            "m_nDensity"        "int"
            "m_nCurrent"        "int"
        }
    }
    "CTEFootprintDecal"
    {
        "name"        "Footprint Decal"
        "index"        "29"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecDirection"        "vector"
            "m_nEntity"        "int"
            "m_nIndex"        "int"
            "m_chMaterialType"        "int"
        }
    }
    "CTEShatterSurface"
    {
        "name"        "Surface Shatter"
        "index"        "30"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecAngles"        "vector"
            "m_vecForce"        "vector"
            "m_vecForcePos"        "vector"
            "m_flWidth"        "float"
            "m_flHeight"        "float"
            "m_flShardSize"        "float"
            "m_nSurfaceType"        "int"
            "m_uchFrontColor[0]"        "int"
            "m_uchFrontColor[1]"        "int"
            "m_uchFrontColor[2]"        "int"
            "m_uchBackColor[0]"        "int"
            "m_uchBackColor[1]"        "int"
            "m_uchBackColor[2]"        "int"
        }
    }
    "CTEGlowSprite"
    {
        "name"        "GlowSprite"
        "index"        "31"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nModelIndex"        "int"
            "m_fScale"        "float"
            "m_fLife"        "float"
            "m_nBrightness"        "int"
        }
    }
    "CTEImpact"
    {
        "name"        "Impact"
        "index"        "32"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecNormal"        "vector"
            "m_iType"        "int"
        }
    }
    "CTEKillPlayerAttachments"
    {
        "name"        "KillPlayerAttachments"
        "index"        "33"
        "SendTable"
        {
            "m_nPlayer"        "int"
        }
    }
    "CTELargeFunnel"
    {
        "name"        "Large Funnel"
        "index"        "34"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_nModelIndex"        "int"
            "m_nReversed"        "int"
        }
    }
    "CTEMuzzleFlash"
    {
        "name"        "MuzzleFlash"
        "index"        "35"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecAngles"        "vector"
            "m_flScale"        "float"
            "m_nType"        "int"
        }
    }
    "CTEPhysicsProp"
    {
        "name"        "physicsprop"
        "index"        "36"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_angRotation[0]"        "float"
            "m_angRotation[1]"        "float"
            "m_angRotation[2]"        "float"
            "m_vecVelocity"        "vector"
            "m_nModelIndex"        "int"
            "m_nSkin"        "int"
            "m_nFlags"        "int"
            "m_nEffects"        "int"
            "r"        "int"
            "g"        "int"
            "b"        "int"
        }
    }
    "CTEPlayerDecal"
    {
        "name"        "Player Decal"
        "index"        "37"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nEntity"        "int"
            "m_nPlayer"        "int"
        }
    }
    "CTEProjectedDecal"
    {
        "name"        "Projected Decal"
        "index"        "38"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_angRotation"        "vector"
            "m_flDistance"        "float"
            "m_nIndex"        "int"
        }
    }
    "CTEShowLine"
    {
        "name"        "Show Line"
        "index"        "39"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_vecEnd"        "vector"
        }
    }
    "CTESmoke"
    {
        "name"        "Smoke"
        "index"        "40"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nModelIndex"        "int"
            "m_fScale"        "float"
            "m_nFrameRate"        "int"
        }
    }
    "CTESparks"
    {
        "name"        "Sparks"
        "index"        "41"
        "SendTable"
        {
            "m_vecOrigin[0]"        "float"
            "m_vecOrigin[1]"        "float"
            "m_vecOrigin[2]"        "float"
            "m_nMagnitude"        "int"
            "m_nTrailLength"        "int"
            "m_vecDir"        "vector"
        }
    }
    "CTESprite"
    {
        "name"        "Sprite"
        "index"        "42"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nModelIndex"        "int"
            "m_fScale"        "float"
            "m_nBrightness"        "int"
        }
    }
    "CTESpriteSpray"
    {
        "name"        "Sprite Spray"
        "index"        "43"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_vecDirection"        "vector"
            "m_nModelIndex"        "int"
            "m_fNoise"        "float"
            "m_nSpeed"        "int"
            "m_nCount"        "int"
        }
    }
    "CTEWorldDecal"
    {
        "name"        "World Decal"
        "index"        "44"
        "SendTable"
        {
            "m_vecOrigin"        "vector"
            "m_nIndex"        "int"
        }
    }
}
Dr. Greg House is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 03-02-2012 , 19:20   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #18

try an env_explosion as it uses the explosion tempent to see if it works, then you just have to track down what sprite it uses. type "listmodels" in the client console to see what models/materials are cached and look for any in the sprites/effects directory.
blodia is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 03-02-2012 , 19:55   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #19

But wouldn't the explosion-entity be visible to every client (which I don't want to have, it should only be visible to certain clients/admins)?
Dr. Greg House is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 03-03-2012 , 16:01   Re: TE_SetupExplosion: Sprite is not loaded correctly
Reply With Quote #20

i think you misunderstood, you're only creating the env_explosion to see if you get the checkerboard material on it, if not then you want to find out which material it uses.
blodia is offline
Reply



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 15:24.


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