Jump to content
Sign in to follow this  
kuIoodporny

Compact Fix Pack for ArmA v1.14C

Recommended Posts

AddAction to player's vehicle. That's how I tried to make the thing first, and it should be using localization file.

In current method (class UserActions) - whenever I use displayName = $STR... or something "STR-like" for preconfigured action, it displays plain text instead of localized.

Share this post


Link to post
Share on other sites

Everything you write is correct.

But in your stringtable.csv you have ZGB_STR_SEATBELT instead of STR_ZGB_SEATBELT.

(And for a wonder localize "ZGB_STR_SEATBELT" works)

When using STR_ZGB_SEATBELT

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getText (configFile >> "CfgVehicles" >> "Car" >> "UserActions" >> "ZGB_Seatbelt" >> "displayName")

will be "Seatbelt" instead of $ZGB_STR_SEATBELT.

Share this post


Link to post
Share on other sites
Everything you write is correct.

But in your stringtable.csv you have ZGB_STR_SEATBELT instead of STR_ZGB_SEATBELT.

(And for a wonder localize "ZGB_STR_SEATBELT" works)

When using STR_ZGB_SEATBELT

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">getText (configFile >> "CfgVehicles" >> "Car" >> "UserActions" >> "ZGB_Seatbelt" >> "displayName")

will be "Seatbelt" instead of $ZGB_STR_SEATBELT.

LOL. So that matters... Thanks!

Fixed and working. Gonna be released soon.

Second problem is ZGB_Collisions - how to make these announces work in MP? I was working on it for about week, few times setting up "announcement server" and as it didn't succeeded making it clientside again...

Share this post


Link to post
Share on other sites

Please describe as detailed as possible what exactly you want.

Then I can take a look at it.

I've enough error guessing in my code wink_o.gif

Share this post


Link to post
Share on other sites
Please describe as detailed as possible what exactly you want.

Then I can take a look at it.

I've enough error guessing in my code wink_o.gif

I want to detect and announce player on player overruns locally. Player and nobody else should see the localised message (similar to kill announcement).

if (playersnumber side _victim + playersnumber side _guilty > 0) && (isPlayer _victim) && (isPlayer _guilty) && (_victim != _guilty) then { here logic object globalchats annoucement visible only for addon user, + another check on positive or negative score };

I can't check it out myself due to duplicate CD-Key handling xD

Share this post


Link to post
Share on other sites

Why not using a variable that gets transmitted by publicVariable?

So you have for example ZGB_Collision_Warning as variable.

Use addPublicVariableEventHandler to this variable.

Then if the players car get rammed by another player you set ZGB_Collision_Warning to the transmitted data (no problem with arrays since 1.09).

Then you transmit that variable with publicVariable.

This will raise the PublicVariableEventhandler on all other clients. They check if they are the guilty driver, and if they are the driver, you display the hintmessage local.

Share this post


Link to post
Share on other sites
Why not using a variable that gets transmitted by publicVariable?

So you have for example ZGB_Collision_Warning as variable.

Use addPublicVariableEventHandler to this variable.

Then if the players car get rammed by another player you set ZGB_Collision_Warning to the transmitted data (no problem with arrays since 1.09).

Then you transmit that variable with publicVariable.

This will raise the PublicVariableEventhandler on all other clients. They check if they are the guilty driver, and if they are the driver, you display the hintmessage local.

Looks complicated compared to my method xD

At least I'm gonna learn something useful smile_o.gif thanks for help! I'm working on it.

Share this post


Link to post
Share on other sites

Version 1.14F2 is uploaded.

All typos from the Dirty F should be fixed right now; ZGB_Collisions have cleaner code, however it probably won't work correctly in MP until I adapt it to use PublicVariableEventhandlers. [doesn't mean it's dangerous, it just won't work].

Download

Download ZGB_Collisions demo

Share this post


Link to post
Share on other sites

Server don't like the hpp-folder:

Quote[/b] ]Include file hpp\zgb_flares_settings.hpp not found.

(changed path to lowercase after previous path also failed)

Anyone the same problem on linux server?

Share this post


Link to post
Share on other sites
Server don't like the hpp-folder:
Quote[/b] ]Include file hpp\zgb_flares_settings.hpp not found.

(changed path to lowercase after previous path also failed)

Anyone the same problem on linux server?

Thanks for valuable report!

Please disable ZGB_Flares_Settings.pbo on linux server until I or somebody else fix the issue... ZGB_Flares can survive without it at the cost of flares beign enabled for all aircrafts ingame except of parachutes (Helicopter subclass!wink_o.gif and Camels.

Try experimenting with Flares_Settings config (include xxx string is at the end, try lowercasing it... I don't have linux installed yet)

I'm gonna upload fixed addon when I'll get 100% sure it'll work.

BTW:

- ZGB_Collisions. The annoucement works at least for local accidents (where the player is the victim); not sure if it'll display the message for remote events.

Share this post


Link to post
Share on other sites

I've just changed hpp to dta and moved the file and everything works fine.

And yes, the folder was set to 775 and the file to 664.

Share this post


Link to post
Share on other sites
I've just changed hpp to dta and moved the file and everything works fine.

And yes, the folder was set to 775 and the file to 664.

The "HPP folder" was the result of the discussion with Yoma about .hpp files - looks like AddonSync does not like it so much.

Next version will have it back in DTA smile_o.gif

Currently I'm working on other aspects of next release.

Thanks for help!

Share this post


Link to post
Share on other sites

Good day Sir,

I got a question since you are the man for Configs. Would it be possible to create an Config which makes it possible to use smoke greanades in all Armed Vehicles like the HMMWV M2 or the Stryker ? That would be great I tried to make it and used your configs there as learning material but with no luck so far seems my knowledge about configs is too limited yet, so I try this way. Thank you for the answere in advance.

Kind Regards

Share this post


Link to post
Share on other sites

Bugreport:

"Cargo was overrun by driver"

What happened:

Someone shoot at that vehicle, damage it to its limit, then its explode because of the damage and not the shooting.

Thanks to ArmA the driver "made suicide" and thank your addon he also overruns his cargo wink_o.gif

Share this post


Link to post
Share on other sites

i first want to say that i love your addon flir is nice the boats when you land in the water are awsome

but can you try to actually make the vehicles and the soldiers light up as they would in real flir. they managed to do it in xam but i dunno how sorry.

btw what pbo does the IR radar cause i would like to disable that one so its back on the top of the screen

sometimes vehicle weapon goes away for example black hawk ffar weapon disappears

Share this post


Link to post
Share on other sites
Shaolin [sgt] @ July 24 2008,09:21)]Good day Sir,

I got a question since you are the man for Configs. Would it be possible to create an Config which makes it possible to use smoke greanades in all Armed Vehicles like the HMMWV M2 or the Stryker ? That would be great I tried to make it and used your configs there as learning material but with no luck so far seems my knowledge about configs is too limited yet, so I try this way. Thank you for the answere in advance.

Kind Regards

IIRC it has been done by Solus in his great SLX mod. It doesn't affect Hummers, does it? Gonna check it when I'm back home.

Bugreport:

"Cargo was overrun by driver"

What happened:

Someone shoot at that vehicle, damage it to its limit, then its explode because of the damage and not the shooting.

Thanks to ArmA the driver "made suicide" and thank your addon he also overruns his cargo wink_o.gif

Hmmm... gonna check the conditions again when I'm back home smile_o.gif thanks for bugreport!!! i0n0s U're on my checklist smile_o.gif

stivik @ July 26 2008,21:18)]i first want to say that i love your addon flir is nice the boats when you land in the water are awsome

but can you try to actually make the vehicles and the soldiers light up as they would in real flir. they managed to do it in xam but i dunno how sorry.

btw what pbo does the IR radar cause i would like to disable that one so its back on the top of the screen

sometimes vehicle weapon goes away for example black hawk ffar weapon disappears

A. Hmmm... so I'm gonna download XAM. Thanks for info!

B. ZGB_HUD.pbo

C. Is it connected to my addon? Any more precise information pls?

Share this post


Link to post
Share on other sites

Good day Sir,

I you maybe right with the SLX mod but for some reason i got always the memory bug when I use the Vehicles even on dedicated server side the server crashes without the addon installed and it gets the memory bug itself with the addon installed so we decided to step away from the SLX Mod and since your config compilation does a great job I thought I could ask you. But if you don´t wanna do it just fine I can live with it. Thanks for the answere.

Kind Regards

Share this post


Link to post
Share on other sites
A. Hmmm... so I'm gonna download XAM. Thanks for info!

B. ZGB_HUD.pbo

C. Is it connected to my addon? Any more precise information pls?

thx

about the weapons yes it has to do with your mod cause it doesnt happen when i dont have the mod on but it is only with the vehicles that have manual fire action for example Cobra set to manual fire and you have it for 5 seconds but then it disappears then you turn it off and on again then only for 1 sec there. and you need to keep shooting to keep the weapons fire able

Share this post


Link to post
Share on other sites
Shaolin [sgt] @ July 31 2008,19:30)]Good day Sir,

I you maybe right with the SLX mod but for some reason i got always the memory bug when I use the Vehicles even on dedicated server side the server crashes without the addon installed and it gets the memory bug itself with the addon installed so we decided to step away from the SLX Mod and since your config compilation does a great job I thought I could ask you. But if you don´t wanna do it just fine I can live with it. Thanks for the answere.

Kind Regards

Hmm. I'll try to do something in that case - when I'm back home smile_o.gif

stivik @ Aug. 01 2008,00:13)]thx

about the weapons yes it has to do with your mod cause it doesnt happen when i dont have the mod on but it is only with the vehicles that have manual fire action for example Cobra set to manual fire and you have it for 5 seconds but then it disappears then you turn it off and on again then only for 1 sec there. and you need to keep shooting to keep the weapons fire able

It may be connected to ZGB_Horn... but I have reallly no idea what happens there. Personally I'm using [,"] key to turn manual fire on in helicopters.

Share this post


Link to post
Share on other sites

hey i removed that zgb_horn and i think it is fixed now dont seem to have that issue anymore but i am not 100% sure

edit:

ok i am sure now it doesnt

Share this post


Link to post
Share on other sites

New version - 1.14G - is up.

Refer to first post for download link and release details.

Share this post


Link to post
Share on other sites

Thanks for the update zGuba!

Will have a close look again at your changes. smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×