tbox1911 / Liberation-RX

ArmA 3 - Liberation RX - Mission
GNU General Public License v3.0
64 stars 61 forks source link

Added script to replace radio towers with TFAR relay towers #154

Closed Gater closed 5 months ago

Gater commented 5 months ago

Hey! A while ago I wrote this to replace the default radio towers with the TFAR towers once they become "blue". This allows the relay function to work. Is this interesting? I would also add config options for it and refine things if interest is there :)

tbox1911 commented 5 months ago

hey, that a great addition !

I'll review your code and merge it in master branch

Thank you for your support !

Gater commented 5 months ago

Great! Just let me know about any additions or anything i should fix. :)

tbox1911 commented 5 months ago

it's nicely coded btw !

question: why not calling TFAR_antennas_fnc_initRadioTower on each actual radio tower? it not work ?

feel free to join us on our Discord to discuss development https://discord.gg/zrHV3arS

Gater commented 5 months ago

Hey I'm on the discord :) I'm also Gater there.

Did this months ago so obviously I forgot some steps :D . I went through my git and saw the missing changes:

I changed the spawned towers to the TFAR towers (Edit: since i was 100% sure i'm having the mod installed. There might be the need to do this differently in case TFAR is not installed) and added the tower to the building menu to also have a relay in the the base.

I did not manage to get the "TFAR_antennas_fnc_initRadioTower" to work with the default "Land_Communication_F"

CBA could go out, I just wanted to use it as already required and I was reading that this implementation is frame friendly but might be "BS".