Fandom

武装突袭 Wiki

Muzzle Flash Bug

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

The Problem编辑

This problem may occur for addonmakers in the form of the muzzle flash of a weapon model is visible at all times ingame, and does not simply flash when fired.


The Solution编辑

This Problem has two solutions. You may have to do both.


A)编辑

Open your model in Oxygen 2 and make sure that the selection zasleh does infact highlight the model part of the muzzle flash on your weapon. Do this in all the LODs.

If in some LOD the muzzle flash selection does not highlight when clicking the zasleh selection, select it on your model, rightclick zasleh in the selections window and select redefine selection.


B)编辑

In your Config.cpp (for OFP) or model.cfg (for ArmA), you should include (or already have) a CfgModels class, which includes the weapon name as classes. For instance, your weapon model is named "MyM16A2.p3d", then the CfgModels section should look as following:

class CfgModels
{
	class Default {};
	class Weapon: Default {};
	class MyM16A2: Weapon {};
};


This should be inserted into your Config.cpp (only for OFP) before your CfgVehicles or CfgWeapons sections and you have to put it in there before binarizing the model.

更多维基

随机维基