I want to reiterate that this is still absolutely amazing even if nothing is changed. Thanks again for the great work. Every additional change is just icing on the cake.
I want to reiterate that this is still absolutely amazing even if nothing is changed. Thanks again for the great work. Every additional change is just icing on the cake.
Dulce et decorum est pro patria mori.
as mention before creating new ammo table is not that easy and clear as seems.
it took me a long time to understand what to do (from reading the note on the files and from this topic). @madbull - it's clear that you tried hard to make it simple and clear, but to me it's not that clear.
like phxfire, i also trying to make the m109 self-propelled artillery cannon (from the us vehicle pack) useable with the mod, without success so far.
this is my init.sqf from the main mission folder:
startLoadingScreen ["Computing..."]; // Permits to compute very faster
[
// Mיta-donnיes (meta-data)
[
getNumber (configFile >> "CfgMagazines" >> "m109_HE" >> "initSpeed"),
-(getNumber (configFile >> "CfgAmmo" >> (getText (configFile >> "CfgMagazines" >> "m109_HE" >> "ammo")) >> "airFriction")),
R3F_ARTY_table_altitude_impact_defaut,
R3F_ARTY_table_angles_defaut
],
// Donnיes (data)
[] // Vide en entrיe (empty in output)
] call compile preprocessFile "R3F_ARTY_AND_LOG\R3F_ARTY\calcul_balistique\gener er_table.sqf";
endLoadingScreen; // <- DON'T forget this line !
i preview the mission in the editor and the "computing..." is shown and after a few seconds the game starts. arma2.rpt:
Updating base class UH1_Base->Helicopter, by UnlimitedTransportOfWeaponsAndMagazinesInVehiclesT oAvoidAmmoSpillingBug_Fix_C_PROPER\config.bin/CfgVehicles/UH1Y/
Exe version: 1.05.62017
Error in expression <109_HE" >> "ammo")) >> "airFriction")),
R3F_ARTY_table_altitude_impact_defaut,
R>
Error position: <R3F_ARTY_table_altitude_impact_defaut,
R>
Error Undefined variable in expression: r3f_arty_table_altitude_impact_defaut
File C:\Users\Harel\Documents\ArmA 2 Other Profiles\[IDF]Harel\missions\generationgable.Chernarus\init.sqf, line 8
/****** DEBUT DE LA TABLE ******/
[
// Meta-donnees
[
0, // Vitesse initiale
-0, // Coefficient de frottement
// Liste des paliers d'altitudes d'impact
any,
// Liste des angles d'elevation
[
Error in expression <vation = 0}, {_indice_elevation < count _liste_elevations}, {_indice_elevation =>
Error position: <_liste_elevations}, {_indice_elevation =>
Error Undefined variable in expression: _liste_elevations
]
],
// Donnees
[
Error in expression < = 0}, {_indice_altitude_impact < count _liste_altitudes_impact}, {_indice_altit>
Error position: <_liste_altitudes_impact}, {_indice_altit>
Error Undefined variable in expression: _liste_altitudes_impact
]
]
/****** FIN DE LA TABLE ******/
it may be because i don't know what's a "good class name".
any help would be appraised. thanks.
Sorry about the link, I jumped ahead of myself when archiving everything. Here is the working link:
Stringtable.csv Fix (for F2 Framework with R3F's Arty and Logic)
http://www.filefront.com/15482079/stringtableFix.rar
(I updated the original post of the link as well)
I also had yet a different problem with the modification. It appears for unknown reasons at times, when I try to lift crates with helos it does not give the command text to lift. Any ideas why? Almost like the code is not initializing properly sometimes.
> "Looking forward to the change for direction to target from the FO. "
It'll be done ASAPI'm aware of the improvement that it'll be. Same thing for the grid digit reference.
Thx phaeen.
@VirusLIVED : now it looks good
@seansharlos :
1. you must copy/paste this code in the main init.sqf after the #include "R3F_ARTY_AND_LOG\init.sqf"
The error message "Undefined variable in expression: r3f_arty_table_altitude_impact_defaut" made me think that's not the case.
2. a good class name is the class name in the CfgMagazines. For ArmA 2 standard ammo, you can see it there : http://community.bistudio.com/wiki/ArmA_2:_Weapons
For new ammo type, check the addon documentation (or use unRAP tool to read the config file)
3. yes, it's a hard task. It'll be easier in the future.
[R3F] Projet Félin : French weapons in high-quality
[R3F] Realism : Realism in managing tiredness and weight
[R3F] Debug : Testing and debugging tools
[R3F] A.C.V. : Live Virtual Studio Creations
[R3F] Artillery and Logistic : Manual artillery and advanced logistic
[R3F] Revive : A lightweight and efficient revive
[R3F] Launcher : Auto-detects addons, many launch options
Hi,
Yesterday we tested it in a MP mission in GrupoArmados and it worked great. I personally like it a lot because of the possibilities it can offer to a standard mission (combat is not the only thing..)
Probably it was already discussed in the previous posts but we noticed it´s a problem to get a precise fire solution when the arty pieces are not placed in a flat area. For instance, we placed them on a field which was not 100% flat and obviously the shells missed the target position because of the cannon deviation. One solution could be to add to the gunner the action to stabilize the weapon (via "(vehicle this) setvectorup [0,0,1]" for instance) when it´s already deployed. It´s just a proposal
Cheers
Last edited by geloxo; Feb 2 2010 at 20:04.
@geloxo :
Thanks for the issue report.
I already knowed that. It's already fixed too (but not yet released).
In the file R3F_ARTY_AND_LOG\R3F_ARTY\dlg_artilleur\afficher_d lg_artilleur.sqf line 48 :
must be simplyCode:_elevation = asin ((_piece weaponDirection _canon) select 2) - asin(vectorDir _piece select 2);
I thought the weaponDirection was relative to the gun. But it's relative to the "world" (so ~absolute).Code:_elevation = asin ((_piece weaponDirection _canon) select 2);
My bad.
No prob, I managed to do it via script too: add to the gunner the action to stabilize the weapon via setting in the gun init field:
where stabilizegun.sqf script content is simply:this addaction ["Stabilize gun", "stabilizegun.sqf"];
Cheers_target = _this select 0;
_caller = _this select 1;
_target setvectorup [0,0,1];
looks interesting !! keep with the good job![]()
No War No Pain
Wow Exelent travail !