Jump to content
主视角中国

Recommended Posts

Posted

在图中,有时要让一个物件呈一种颜色,代表特别的意义...

如:M42

local.mg42 = spawn models/statweapons/mg42_gun.tik

local.mg42.origin = ( -1 -460 93 )

local.mg42.angle = 0

local.mg42 light 0.1 0 0.9 350 //

local.mg42 yawCenter 0

local.mg42 maxYawOffset 60

local.mg42 pitchCaps ( -30 45 0 )

local.mg42 bulletDamage 25

..................................................................

local.mg42 light 0.1 0 0.9 350 蓝色,数字的前3位是决定颜色,后一位是光的直径.

local.crate1 light 1 0 0 30 红色

要其它的色,请改前3位数字.

light 1 1 1 350 ----->白色

light 0 1 0 350 ------>绿色

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...