def effect135(decal, position): """ est_effect_35 <player filter> <delay> <Decal> <Position x y z> """ if not isinstance(decal, Decal): decal = Decal(decal) if not isinstance(position, Vector): position = Vector(*position) te = TempEntity('World Decal') te.decal = decal te.position = position return te
def effect113(decal, origin, index): """ est_effect_13 <player filter> <delay> <decal> <origin x y z> <target entity index> """ if not isinstance(decal, Decal): decal = Decal(decal) if not isinstance(origin, Vector): origin = Vector(*origin) te = TempEntity('BSP Decal') te.decal = decal te.origin = origin te.entity_index = index return te
def effect129(decal, position, angle, distance): """ est_effect_29 <player filter> <delay> <decal> <position x y z> <angle p y r> <distance> """ if not isinstance(decal, Decal): decal = Decal(*decal) if not isinstance(position, Vector): position = Vector(*position) if not isinstance(angle, QAngle): angle = QAngle(*angle) te = TempEntity('Player Decal') te.decal = decal te.origin = position te.rotation = angle te.distance = distance return te
def effect116(decal, position, start, index, hitbox): """ est_effect_16 <player filter> <delay> <model> <position x y z> <start x y z> <entity index> <hitbox> """ if not isinstance(decal, Decal): decal = Decal(decal) if not isinstance(position, Vector): position = Vector(*position) if not isinstance(start, Vector): start = Vector(*start) te = TempEntity('Entity Decal') te.decal = decal te.origin = position te.start = start te.entity_index = index te.hitbox = hitbox return te