[MetaHook] R_SparkShower
By hzqst
void R_SparkShower(float *pos)
{
TEMPENTITY *tent; tent = efx.CL_TempEntAllocNoModel(pos);
if ( tent )
{
tent->entity.baseline.origin[] = RandomFloat(-300.0, 300.0);
tent->entity.baseline.origin[] = RandomFloat(-300.0, 300.0);
tent->flags |= FTENT_SPARKSHOWER | FTENT_COLLIDEWORLD | FTENT_SLOWGRAVITY;
tent->entity.baseline.angles[] = ;
tent->entity.baseline.angles[] = ;
tent->entity.baseline.angles[] = ;
tent->entity.baseline.origin[] = RandomFloat(-200.0, 200.0);
tent->die = cl.time + 0.5;
tent->entity.curstate.framerate = RandomFloat(0.5, 1.5);
tent->entity.curstate.scale = ei.time;
}
}
[MetaHook] R_SparkShower的更多相关文章
- [MetaHook] Event Hook
		
#include <metahook.h> struct event_hook_t { event_hook_t *next; char *name; void (*pfnEvent)(e ...
 - [MetaHook] GameUI hook
		
Hook GameUI function. #include <metahook.h> #include <IGameUI.h> IGameUI *g_pGameUI = ; ...
 - [MetaHook] BaseUI hook
		
Hook IBaseUI function. #include <metahook.h> #include <IBaseUI.h> IBaseUI *g_pBaseUI = ; ...
 - [MetaHook] Surface hook
		
Hook ISurface function. #include <metahook.h> #include <vgui/ISurface.h> using namespace ...
 - [MetaHook] Quake FMOD player demo
		
CFMOD.h #ifndef CFMOD_H #define CFMOD_H #include "qfmod.h" struct Sound_t { char *pszName; ...
 - [MetaHook] Quake FMOD function
		
QFMOD.h #ifndef QFMOD_H #define QFMOD_H #include "fmod.h" extern FMOD_RESULT (F_API *qFMOD ...
 - [MetaHook] Load large texture from model
		
We need hook "GL_LoadTexture" engine function. GL_LOADTEXTURE_SIG from hw.dll(3266) engine ...
 - [MetaHook] Quake Bink function
		
If you want to play Bink video in game, maybe you need this code. QBink.h #ifndef QBINK_H #define QB ...
 - [MetaHook] Quake OpenGL function
		
Quake OpenGL function for MetaHook plugin. Thank hzqst :D QGL.h #ifndef QGL_H #define QGL_H #include ...
 
随机推荐
- 傅里叶:有关FFT,DFT与蝴蝶操作(转 重要!!!!重要!!!!真的很重要!!!!)
			
转载地址:http://blog.renren.com/share/408963653/15068964503(作者 : 徐可扬) 有没有!!! 其实我感觉这个学期算法最难最搞不懂的绝对不是动态规划 ...
 - android基础开发之scrollview
			
scrollView 是android系统提供的一种 特殊的展示view. 其实我们很早就遇到过scrollview的东东,比如listview. 而google官方文档也提出,不要混合使用scrol ...
 - maven问题-"resolution will not be reattempted until the update interval of MyRepo has elapsed"
			
最近在家里写maven程序的时候老是出现问题,有些问题到了公司就突然消失了. 在修改pom文件后保存的反应还是比较明显的,家里的网遇到有些依赖根本下载不了..墙. 但是到了公司,不但速度快,几乎啥都能 ...
 - Asp.net 页面访问模板页的属性
			
首先 页面需要添加下面一段代码 <%@ MasterType VirtualPath="~/User/User.Master" %> 添加的位置如图 这样就可以在这个页 ...
 - jQuery最佳实践(不断更新中...)
			
1. 处理cdn失效 <script type="text/javascript" src="http://xxx.com/jquery.min.js " ...
 - Python开发之【简单计算器】
			
开发一个简单的python计算器 1.实现加减乘除及括号优先级解析 2.用户输入 1 - 2 * ( (60-30 +(-40/5) * (9-2*5/3 + 7 /3*99/4*2998 +10 * ...
 - MPP 架构数据库
			
Greenplum是一种基于postgresql的分布式数据库.其采用shared nothing架构(MPP),主机,操作系统,内存,存储都是自我控制的,不存在共享.也就是每个节点都是一个单独的数据 ...
 - C自学笔记-递归与迭代的使用方法笔记与两者的使用场合
			
递归和迭代在刚开始学C语言的时候就学过,但是不知道怎么使用.今天遇到一个题目分析过后 我瞬间想起来之前学过递归的方法,做完题后顺便翻了翻书整理了这个笔记.题目大概是这样的. 题目:猴子吃桃问题:猴子第 ...
 - selenium如何操作cookies实现免登录
			
执行接口测试或者某些自动化测试时,为了避免每次访问接口都需要登录操作,可以用访问接口时,把cookies信息传过去. 思路是先登录一次页面,获取到cookies信息,把cookies信息保存到本地文件 ...
 - Network client/server
			
<Beginning Linux Programming_4th> chapter 15 Sockets 1 A simple local client/server 1) clie ...