Jump to content

[AllinOne] MAS Weapons, Vehicles


SpiRe

Recommended Posts

works at the map Taviana?

but have it installed The problem is that no loot is because I do not know where the error is to start the script

 

this may be the fault that nothing spawns

15:04:06 "- !! WARNING !! LOOTSPAWNER in Buildingstoloot_list: Land_Castle_01_tower_F has no building positions -"

"LSpawner INIT"
"LSpawner Started"
"-- LOOTSPAWNER initialise ------------------------"


15:04:06 "-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Castle_01_tower_F has no building positions --"
15:04:06 "-- LOOTSPAWNER Buildingpositions_list ready, d: 18.653s"
15:04:06 "-- LOOTSPAWNER LSusedclass_list ready, d: 0.278999s"
15:04:06 "-- LOOTSPAWNER LSDer started..."
15:04:06 "-- LOOTSPAWNER ready and waiting for players -----"

Link to comment
Share on other sites

I've got this error:  bin\config.bin/CfgWeapons and bin\config.bin/CfgMagazine

 

In RPT :

21:17:25 Warning Message: No entry 'bin\config.bin/CfgMagazines.100Rnd_mas_762x51_Stanag'

.

.

.

21:17:25 Warning Message: Error: creating magazine 100Rnd_mas_762x51_Stanag with scope=private

.

.

21:17:25 Error in expression <Cargo[_magazineName,floor(_magazineSize / _magazineSizeMax),_magazineSizeMax];if>
21:17:25   Error position: </ _magazineSizeMax),_magazineSizeMax];if>

 

Same for some Weapons and Magazine

 

 

I use version 1.6 of massi weapons pack (same with 1.8)

Link to comment
Share on other sites

I can't unencrypt the missions file as I can't find the dlls for the Mikero tools, which also means I haven't been able to repack PBO files as the "other" PBO tool will only unpack.    I've only had a server for two weeks, its been quite difficult figuring out some of this stuff since I don't know all of the nomenclature, I also have been figuring out script syntax by trial and error as a lot of the code around here isn't always hand holding.   But you guys are doing the lord's work and any help is appreciated.

Link to comment
Share on other sites

  • 2 weeks later...

Just curious on how do you know the addon names to add to the mission.sqm file

 

"mas_weapons_pack",
"mas_weapons",
"mas_weapons_ak",
"mas_weapons_nw",
"mas_weapons_m4",
"mas_uh1y",
"mas_hmmwv",
"mas_ch47",
"mas_mi8",
"mas_brdm",
"mas_uh60m",
"mas_cars_lr",
"mas_weapons_pack",
"mas_vehicleweapons_core",
"mas_apc",
"mas_tanks",
"mas_cars",
"mas_cars_hilux",
"mas_vehicleweapons_fia"

 

like where can i find these names?

 

reason I ask is if I go into the mas addon folder, there is just 

 

mas_nw_rifle

mas_ru_rifle

mas_us_rifle

mas_us_rifle_c  inside those PBO files are gun  name folders

 

im assuming your using US rifle C for the ones in your list

 

"mas_weapons_pack",
"mas_weapons",
"mas_weapons_ak",
"mas_weapons_nw",
"mas_weapons_m4",

 

in the PBO it shows

ak

flags

m4

mark

nw

pack

 

could a person not just have 

mas_nw_rifle

mas_ru_rifle

mas_us_rifle

mas_us_rifle_c in the mission file and it would then load all the weapons?

 

Sorry but I am new to the mission building and running a server, just trying to learn and understand.

 

Link to comment
Share on other sites

Just curious on how do you know the addon names to add to the mission.sqm file

Sorry but I am new to the mission building and running a server, just trying to learn and understand.

 

I made a list of loaded addons and choosed the ones for the MAS weapons...

 

( used it on my server as admin script and spawned all kind of weapons and vehicles and then exec the script )

 

 

http://forums.bistudio.com/showthread.php?187986-How-to-enforce-reguired-mods-on-server

 


Easy way is but you will not catch mods like blastcore :
place in the editor ammo, boxes units from the addons / mods.

Complex way but will work!:
1. Start your arma 3 with logs enabled.
2. open up the mission in the editor
3. Click Preview
4. press escape and in the Code box (http://i.imgur.com/eaooJdu.jpg) enter this code
{ diag_log format["Addon: '%1'", _x]; } foreach activatedaddons;
5. Open your latest RPT (can be found here: %userprofile%\AppData\Local\Arma 3)
6. Cut all that starts with "Addon: " (http://i.imgur.com/2H6ZVQQ.png) and paste in a new window.
7. Then get rid of the unneeded info with http://i.imgur.com/BDvq0PU.png (.* ') and http://i.imgur.com/BDvq0PU.png ('") using the replace funktion.
8. Bring that in the right format with http://i.imgur.com/OlFqJV7.png (find ^ replace with ") and http://i.imgur.com/pk6py8D.png (find $ replace with ",) and then remove in the last line the ,
9. Add this code in the mission.sqm to Addons and addonsauto
10. enjoy.

They may be even easier ways that are not that complex but yeah.

if you have questions add me on skype : nevada13589
Link to comment
Share on other sites

small problem I clicked on the vehicle and got a kick . In scripts.log is #0 "this select 0)) then {[(_this select 0), "", [], true] call bis_fnc_initVehicle;};" . How to fix it

 

LvwodzJ.png

 

CW4ohRr.png

 

 

 

 

  and that I had in Logfiles config/arma3server_2015-05-21_16-21-54.rpt 

 

 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.mas_weapons_pack, mas_weapons, mas_weapons_ak, mas_weapons_nw, mas_weapons_m4, mas_uh1y, mas_hmmwv, mas_ch47, mas_mi8, mas_brdm, mas_uh60m, mas_cars_lr, mas_weapons_pack, mas_vehicleweapons_core, mas_apc, mas_tanks, mas_cars, mas_cars_hilux, mas_vehicleweapons_fia

Link to comment
Share on other sites

Thank you so much for this. I was up all night last night, about to shoot myself in the face trying to get Massi weapons to work using the method from the other thread with the LSpawner Scripts. I wish I'd thought to just check some other threads 8 hours ago. lol.

 

Only problem I have is that I can no longer get loot to spawn on the ground. But other than that, this is a great solution. Thanks again.

Link to comment
Share on other sites

I've got this error:  bin\config.bin/CfgWeapons and bin\config.bin/CfgMagazine

 

In RPT :

21:17:25 Warning Message: No entry 'bin\config.bin/CfgMagazines.100Rnd_mas_762x51_Stanag'

.

.

.

21:17:25 Warning Message: Error: creating magazine 100Rnd_mas_762x51_Stanag with scope=private

.

.

21:17:25 Error in expression <Cargo[_magazineName,floor(_magazineSize / _magazineSizeMax),_magazineSizeMax];if>

21:17:25   Error position: </ _magazineSizeMax),_magazineSizeMax];if>

 

Same for some Weapons and Magazine

 

 

I use version 1.6 of massi weapons pack (same with 1.8)

Using mas weapons 1.8 and vehicles 1.0

I receive similar errors

 

i searched for the code in the file specified and found this  string

 

_vehicle addMagazineAmmoCargo[_magazineName,floor(_magazineSize / _magazineSizeMax),_magazineSizeMax];

 

my error reads

Warning Message: No entry 'bin\config.bin/CfgMagazines.FHQ_rem_30Rnd_680x43_ACR'.
Warning Message: No entry '.picture'.
Warning Message: '/' is not a value
Warning Message: No entry '.scope'.
Warning Message: '/' is not a value
Warning Message: Error: creating magazine FHQ_rem_30Rnd_680x43_ACR with scope=private
Warning Message: No entry '.displayName'.
Warning Message: '/' is not a value
Warning Message: No entry '.displayNameShort'.
Warning Message: '/' is not a value
Warning Message: No entry '.nameSound'.
Warning Message: '/' is not a value
Warning Message: No entry '.Library'.
Warning Message: No entry '.libTextDesc'.
Warning Message: '/' is not a value
Warning Message: No entry '.type'.
Warning Message: '/' is not a value
Warning Message: No entry '.count'.
Warning Message: '/' is not a value
Warning Message: No entry '.maxLeadSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.initSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.reloadAction'.
Warning Message: '/' is not a value
Warning Message: No entry '.modelSpecial'.
Warning Message: '/' is not a value
Warning Message: No entry '.ammo'.
Warning Message: '/' is not a value
Error in expression <Cargo[_magazineName,floor(_magazineSize / _magazineSizeMax),_magazineSizeMax];if>
  Error position: </ _magazineSizeMax),_magazineSizeMax];if>
  Error Zero divisor
File x\addons\a3_epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf, line 1
Warning Message: No entry 'bin\config.bin/CfgMagazines.FHQ_rem_30Rnd_680x43_ACR'.
Warning Message: No entry '.picture'.
Warning Message: '/' is not a value
Warning Message: No entry '.scope'.
Warning Message: '/' is not a value
Warning Message: Error: creating magazine FHQ_rem_30Rnd_680x43_ACR with scope=private
Warning Message: No entry '.displayName'.
Warning Message: '/' is not a value
Warning Message: No entry '.displayNameShort'.
Warning Message: '/' is not a value
Warning Message: No entry '.nameSound'.
Warning Message: '/' is not a value
Warning Message: No entry '.Library'.
Warning Message: No entry '.libTextDesc'.
Warning Message: '/' is not a value
Warning Message: No entry '.type'.
Warning Message: '/' is not a value
Warning Message: No entry '.count'.
Warning Message: '/' is not a value
Warning Message: No entry '.maxLeadSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.initSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.reloadAction'.
Warning Message: '/' is not a value
Warning Message: No entry '.modelSpecial'.
Warning Message: '/' is not a value
Warning Message: No entry '.ammo'.
Warning Message: '/' is not a value
Error in expression <Cargo[_magazineName,floor(_magazineSize / _magazineSizeMax),_magazineSizeMax];if>
  Error position: </ _magazineSizeMax),_magazineSizeMax];if>
  Error Zero divisor
File x\addons\a3_epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf, line 1 

now the part I cannot figure out is that why it is still calling for FHQ weapons and magazines. I removed them from the game as they were causing me grief from the start. I had fhq weapons classes in the loot.h and then i removed them. so not sure why its still calling for them.   any ideas?

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

I'll toss in my semi complete price list I just semi-finished. Based off the OPs price list but added things that weren't there and neatened up some stuff.. Items are all there, prices are whatever. Semi-nicely laid out. It has every vehicle, all guns and ammo (99% sure), all backpacks etc. I left out the static placements and flagpoles though.. Comment out what you dont want and change prices to fit your server.

 

https://github.com/READTHESCROLL/Arma3-Epoch/blob/master/MASPrices

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...