OFPEC Forum
Addons & Mods Depot => Arma2 - Configs & Scripting => Topic started by: _anders_ on 22 Jul 2010, 07:53:58
-
Hi guys!
I have some serious problems getting in the new weapons of OA into vopsounds2.2 mod wich I've added my own sounds into. I will later make my own mod.
I wanted to try adding new sounds for the weapons that comes with OA.
I started with the SCAR and took the config from the "acex_sm_c_sound_wep_rifle.pbo" with no luck.
Would rlly appreciate if you could tell me what's wrong here. I Only copied the part with the SCAR config, as the other config works.
Heres my config;
class SCAR_Base: M16_base {
reloadMagazineSound = {"\Vops_s_Guns\SCAR_reload.wss", 0.031623, 1, 20};
class Single; //External class reference
class FullAuto; //External class reference
class M203Muzzle; //External class refereance
class SCAR_L_Single: Single {
begin1 = {"\Vops_s_Guns\SCARH_b.wss", 1.778280, 1, 900};
begin2 = {"\Vops_s_Guns\SCARH_b.wss", 1.778280, 1, 900};
begin3 = {"\Vops_s_Guns\SCARH_b.wss", 1.778280, 1, 900};
soundBegin = {"begin1", 0.330000, "begin2", 0.330000, "begin3", 0.330000};
};
class SCAR_L_FullAuto: FullAuto {
begin1 = {"\Vops_s_Guns\SCARL_b.wss", 1.778280, 1, 900};
begin2 = {"\Vops_s_Guns\SCARL_b.wss", 1.778280, 1, 900};
begin3 = {"\Vops_s_Guns\SCARL_b.wss", 1.778280, 1, 900};
soundBegin = {"begin1", 0.330000, "begin2", 0.330000, "begin3", 0.330000};
};
class EGLMMuzzle: M203Muzzle {
begin1 = {""\Vops_s_Guns\m203_s.wss", 0.100000, 0.900000, 100};
soundBegin = {"begin1", 1};
};
};
class SCAR_L_CQC_CCO_SD: SCAR_Base {
class SCAR_L_SD_Single: SCAR_L_Single {
begin1 = {"\Vops_s_Guns\SCAR_sd.wss", 1, 1, 80};
soundbegin = {"begin1", 1};
};
class SCAR_L_SD_FullAuto: SCAR_L_FullAuto {
begin1 = {"\Vops_s_Guns\SCAR_sd.wss", 1, 1, 80};
soundbegin = {"begin1", 1};
};
};
class SCAR_H_Base: SCAR_Base {
class SCAR_H_Single: SCAR_L_Single {
begin1 = {"\Vops_s_Guns\SCARH_s.wss", 1.778280, 1, 1000};
begin2 = {"\Vops_s_Guns\SCARH_s.wss", 1.778280, 1, 1000};
begin3 = {"\Vops_s_Guns\SCARH_s.wss", 1.778280, 1, 1000};
soundBegin = {"begin1", 0.330000, "begin2", 0.340000, "begin3", 0.330000};
};
class SCAR_H_FullAuto: SCAR_L_FullAuto {
begin1 = {"\Vops_s_Guns\SCARL_s.wss", 1.778280, 1, 1000};
begin2 = {"\Vops_s_Guns\SCARL_s.wss", 1.778280, 1, 1000};
begin3 = {"\Vops_s_Guns\SCARL_s.wss", 1.778280, 1, 1000};
soundBegin = {"begin1", 0.330000, "begin2", 0.340000, "begin3", 0.330000};
};
};
class SCAR_H_CQC_CCO: SCAR_H_Base {
};
class SCAR_H_CQC_CCO_SD: SCAR_H_CQC_CCO {
class SCAR_H_SD_Single: SCAR_H_Single {
begin1 = {"\Vops_s_Guns\SCAR_sd2.wss", 1, 1, 110};
soundbegin = {"begin1", 1};
};
class SCAR_H_SD_FullAuto: SCAR_H_FullAuto {
begin1 = {"\Vops_s_Guns\SCAR_sd2.wss", 1, 1, 110};
soundbegin = {"begin1", 1};
};
};
class SCAR_H_LNG_Sniper_SD: SCAR_H_Base {
class SCAR_H_SD_Single: Mode_SemiAuto {
begin1 = {"\Vops_s_Guns\SCAR_sd2.wss", 1, 1, 110};
soundbegin = {"begin1", 1};
};
class SCAR_H_SD_FullAuto: Mode_FullAuto {
begin1 = {"\Vops_s_Guns\SCAR_sd2.wss", 1, 1, 110};
soundbegin = {"begin1", 1};
};
};
When I start the game it tells me "Some input after EndOfFile"
Thx, in advance.
Here is the complete config:
http://pastebin.com/9Sam4Wym
-
Welcome to OFPEC (again :P) :welcome:
That error is probably caused by the typo on line 324:
begin1 = {""\Vops_s_Guns\m203_s.wss", 0.100000, 0.900000, 100};
should of course be:
begin1 = {"\Vops_s_Guns\m203_s.wss", 0.100000, 0.900000, 100};
-
Thx for the welcome!
Yeah, I saw that, but it still complains about the Some input after EndOfFile. :( Any ideas? There must be Something with it somewhere...... :confused:
[EDIT]
So I lost my hope in editing the vopsound mod, so I went over to edit the acex_sm sounds instead...
And...................... Same damn crap happens!!!!!!!!! Is it totally impossible to edit existing mods?????????
Heres how the acex_sm rifle config looks like with the error "Some input after end of file":
http://pastebin.com/29c8SS6D (http://pastebin.com/29c8SS6D)
-
Some input after EndOfFile
This is usually not a pointer to an original error but a final error resulting from the original error .
Basicly a section of your config has been ignored and therefore it is no longer complete. ry and get the full error , Binarising log can usually produce this best if its not in the Arma.rpt
looking at your pastebin it seems you have missing [] in your
units = {};
weapons = {};
should be
units[] = {};
weapons[] = {};
maybe more have no time to check.
-
Same goes for requiredAddOns which should be requiredAddOns[]={};
And each of your sound definitions are also wrong, each of them should be an array not a string (you're missing [] on each of them).
class Throw: GrenadeLauncher {
class ThrowMuzzle: GrenadeLauncher {
};
class HandGrenadeMuzzle: ThrowMuzzle {
sound[] = {"x\acex_sm\addons\s_wep_rifle\grenade_pin1.wss", 0.177828, 1, 20};
};
};
class M16_Base: Rifle {
reloadMagazineSound[] = {"x\acex_sm\addons\s_wep_rifle\m16_reload.wss", 0.031623, 1, 20};
class Single: Mode_SemiAuto {
begin1[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire1.wss", 1.778280, 1, 900};
begin2[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire2.wss", 1.778280, 1, 900};
begin3[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire3.wss", 1.778280, 1, 900};
soundBegin[] = {"begin1", 0.330000, "begin2", 0.330000, "begin3", 0.330000};
};
class Burst: Mode_Burst {
begin1[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire1.wss", 1.778280, 1, 900};
begin2[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire2.wss", 1.778280, 1, 900};
begin3[] = {"x\acex_sm\addons\s_wep_rifle\m16_fire3.wss", 1.778280, 1, 900};
soundBegin[] = {"begin1", 0.320000, "begin2", 0.350000, "begin3", 0.320000};
soundBurst = 0;
};
class FullAuto: Mode_FullAuto {
begin1 = {"x\acex_sm\addons\s_wep_rifle\m16_fire1.wss", 1.778280, 1, 900};
begin2 = {"x\acex_sm\addons\s_wep_rifle\m16_fire2.wss", 1.778280, 1, 900};
begin3 = {"x\acex_sm\addons\s_wep_rifle\m16_fire3.wss", 1.778280, 1, 900};
soundBegin = {"begin1", 0.320000, "begin2", 0.350000, "begin3", 0.320000};
};
class M203Muzzle: M203Muzzle {
begin1 = {"x\acex_sm\addons\s_wep_rifle\m203_fire.wss", 0.100000, 1, 100};
begin2 = {"x\acex_sm\addons\s_wep_rifle\m203_fire.wss", 0.100000, 0.960000, 100};
begin3 = {"x\acex_sm\addons\s_wep_rifle\m203_fire.wss", 0.100000, 0.940000, 100};
soundBegin = {"begin1", 0.330000, "begin2", 0.330000, "begin3", 0.330000};
reloadMagazineSound = {"x\acex_sm\addons\s_wep_rifle\m203_reload.wss", 0.031623, 1, 20};
};
};
..... and so on.....