搜索
查看: 2402|回复: 3

Osker Lee帮忙啊

[复制链接]
发表于 2008-1-4 12:03:39 | 显示全部楼层 |阅读模式 来自 中国–湖北–宜昌
请问怎么修改弹道插件的颜色啊,!!
发表于 2008-1-4 17:27:14 | 显示全部楼层 来自 中国–甘肃–兰州

回复: Osker Lee帮忙啊

弹道插件其实有两个,tracer_fire.amxx(彩色弹道插件)和war_weapon_tracers.amxx(简单弹道插件).要修改彩色弹道插件的颜色是很简单的,修改源代码里面的那些颜色代码就行了;对于简单弹道插件,我也不知道怎么修改它的颜色,插件里默认的颜色是黄色的,有点像激光.这里有war_weapon_tracers插件的源代码,高手们看看能不能修改它的颜色.
[PHP]/* AMX Mod script.
*
* (c) Copyright 2002, OLO
* This file is provided as is (no warranties).
*
* Modified by Hephaistos from amxmod.net
* (original plugin is "Weapon Tracers")
* to draw tracers on every bullet.
*
* To disable plugin use "amx pause war_wea" from server console.
*/
#include <amxmodx>
new lastammo[33]
public make_tracer(id){
new ammo = read_data(3)

if ( lastammo[id] > ammo ) {
  new vec1[3], vec2[3]
  get_user_origin(id,vec1,1)
  get_user_origin(id,vec2,3)
  
  message_begin(MSG_PAS, SVC_TEMPENTITY,vec1 )
  write_byte( 6 ) /* TE_TRACER - see commo/const.h in HLSDK */
  write_coord(vec1[0])
  write_coord(vec1[1])
  write_coord(vec1[2])
  write_coord(vec2[0])
  write_coord(vec2[1])
  write_coord(vec2[2])
  message_end()
}

lastammo[id] = ammo
}
public plugin_init() {
register_plugin("War Weapon Tracers","0.9","Hephaistos")
register_event("CurWeapon","make_tracer","be","1=1","3>0")
return PLUGIN_CONTINUE
}[/PHP]
回复

使用道具 举报

 楼主| 发表于 2008-1-4 19:33:34 | 显示全部楼层 来自 中国–湖北–宜昌

回复: Osker Lee帮忙啊

多谢啦 LEE不知道你在MODCHINA论坛主要是研究什么的啊 模型么?我下了个HL1和SC的模型包,里面有700多个模型可惜不能在CS上面用,能教下我怎么把HL1的模型转换成1。5的么,需要MAYA或者MA么X,还是只要MS3D就可以了??
回复

使用道具 举报

 楼主| 发表于 2008-1-4 19:34:28 | 显示全部楼层 来自 中国–湖北–宜昌

回复: Osker Lee帮忙啊

彩色的  不好看全是1条直线 我要修改简单的!
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表