10-05-2006, 05:50 PM
Hmm shouldn´t it be:
; Add the items to the crate
_crate AddWeaponCargo ["FDF_RPG7Launcher", 5]
_crate AddMagazineCargo ["FDF_RPG7LauncherMag", 25]
_crate AddWeaponCargo ["FDF_rpg7vLauncher", 5]
_crate AddMagazineCargo ["FDF_rpg7vLauncherMag", 25]
Or is that just a typo in your post ?
Another quick try to get weapon- and ammoname is this:
hint format["weapons: %1, magazines: %2",weapons this,magazines this]
Copy/paste this line into the initialization line of unit and it will display weaponname and ammoname when you preview mission.
This way you can determine which weapons the unit has and the names will be displayed.
WW2 FDF units and weapons are for some parts not documented in ReadMe, that´s what I used to get the names for Grouplink 2 conversion for FDF mod.
; Add the items to the crate
_crate AddWeaponCargo ["FDF_RPG7Launcher", 5]
_crate AddMagazineCargo ["FDF_RPG7LauncherMag", 25]
_crate AddWeaponCargo ["FDF_rpg7vLauncher", 5]
_crate AddMagazineCargo ["FDF_rpg7vLauncherMag", 25]
Or is that just a typo in your post ?
Another quick try to get weapon- and ammoname is this:
hint format["weapons: %1, magazines: %2",weapons this,magazines this]
Copy/paste this line into the initialization line of unit and it will display weaponname and ammoname when you preview mission.
This way you can determine which weapons the unit has and the names will be displayed.
WW2 FDF units and weapons are for some parts not documented in ReadMe, that´s what I used to get the names for Grouplink 2 conversion for FDF mod.
[URL=http://www.myspace.com/notfallplan]