silhouett Posted September 21, 2016 Share Posted September 21, 2016 Is there a list of default radio stations and there freq ? Like Diamond City 98.000000Classical 91.000000 etc ? Thanks Link to comment Share on other sites More sharing options...
zilav Posted September 21, 2016 Share Posted September 21, 2016 Apply this script in FO4Edit to plugins you want to inspect (or just Ctrl+A to select loaded ones) { List radio stations } unit ListRadioStations; function Process(e: IInterface): Integer; var xrdo, r: IInterface; rfreq, rname, rradio: string; begin if not ElementExists(e, 'XRDO') then Exit; xrdo := ElementBySignature(e, 'XRDO'); r := BaseRecord(e); rfreq := GetElementEditValues(xrdo, 'Frequency'); rname := EditorID(e); if rname = '' then rname := EditorID(r); if GetElementEditValues(r, 'FNAM\Is a Radio') = '1' then rradio := '*Is a Radio*'; AddMessage(Format('%s'#9'%s'#9'%s'#9'%s', [ IntToHex(GetLoadOrderFormID(e), 8), rfreq, rname, rradio ])); end; end. Here is the output for Fallout4.esm as an example.1st - FormID of transmitter reference2nd - frequency3rd - Editor ID of ref, or transmitter activator if ref doesn't have any4rd - 'Is a Radio' flag is set on activator 000BA504 60.000000 PrewarRadioTransmitterREF 000BA641 70.000000 PrewarTVTransmitterREF 0002F519 89.000000 MS04ShroudRadioTransmitter 001F108D 4.000000 MS04ShroudMS04HandlerTransmitter 0001FA5B 98.000000 DiamondCityRadioTransmitterRef 00193B46 42.000000 GSRJ03_Loudspeakers *Is a Radio* 001A583D 32.000000 MS17CompoundRadio001 00148B8B 303.000000 RR303PrydwenAirTrafficRadioTransmitter 000F480B 102.000000 DN125_RadioTransmitter 001D206E 87.400002 RadioTransmitMarker15 001D206D 86.699997 RadioTransmitMarker08 001D1AED 86.000000 RadioTransmitMarker01 001D1AEC 87.300003 RadioTransmitMarker14 001C9710 100.000000 MS10TrinityTowerAntennaRefWRVR 00031C19 91.000000 RadioInstituteTransmitterRef 0001DAF9 99.500000 MS10TrinityTowerAntennaRef 0006F105 95.000000 BoS00Transmitter 0004AF75 95.000000 BoS201RadioTransmitterRef 0009FF44 105.000000 MinutemenRadioTransmitterREF 000E0B61 117.000000 RadioEyebotTransmitterRef 000EECAE 32.000000 MS17CompoundRadio 0011FBCE 1.000000 DN035_EasyCityDownsRadioTransmitter 0012EEEC 1.100000 DN035_EasyCityDownsEyebotRadioTransmitter 00132389 107.000000 BoSM01_PulserVarhamTransmitter 00140C3A 107.199997 BoSM01_PulserFarisTransmitter 00176516 82.000000 MQ205_RadioTransmitterNewREF 00191F21 86.300003 RadioTransmitMarker04 00193B43 42.000000 GSPOIRJ_RadioTransmitter 00193C39 86.199997 RadioTransmitMarker03 00152763 1.300000 DN049_DirectorRadioTransmitter 0019D6C3 31.000000 RadioTransmitter 001AC2E5 87.800003 RadioTransmitMarker19 001AC2E6 86.099998 RadioTransmitMarker02 001AC2E7 86.400002 RadioTransmitMarker05 001D882A 87.699997 RadioTransmitMarker18 001D882C 87.199997 RadioTransmitMarker13 001DE7F6 86.800003 RadioTransmitMarker09 001DE88E 87.099998 RadioTransmitMarker12 001E1AC6 86.900002 RadioTransmitMarker10 001E2300 86.500000 RadioTransmitMarker06 001E2301 87.500000 RadioTransmitMarker16 0023CD66 22.000000 RadioJukeboxTransmitterRef 0002A195 104.000000 WorkshopRadioRef 0018E3B2 62.700001 DN028RadioTransmitterRef 000ECA06 100.000000 MS10RadioWRVRref *Is a Radio* 000E92A0 94.000000 MS17CompoundRadioTransmitter 00112D1F 1.000000 DN165_PeoplemoverTransmitter 0016939F 140.000000 RadioTransmitter 00248028 77.000000 subwayRadioTransmitter 0014DFF6 1.100000 DN070_SecurityTransmitter 0014DFFF 1.200000 DN070_TreasuresTransmitter 00112D97 1.000000 DN070_TurretHallTransmitter 000FFF9A 1.000000 DN102IntercomRadio 00218C3D 1010.000000 RadioRailroadReceiver *Is a Radio* 00218C3B 1010.000000 RRMorseCodeRadioTransmitter 00144D89 99.500000 RadioPreWar 00096EAC 11.000000 MS11RadioIronsides 00084429 107.000000 BoSM01_PulserVarhamTransmitterReplacement 0008442A 107.099998 BoSM01_PulserAstlinTransmitterReplacement 0008442B 107.199997 BoSM01_PulserFarisTransmitterReplacement 00115B22 89.000000 RadioSilverShroudReceiver *Is a Radio* 00082C13 4.000000 DN146_Loudspeakers *Is a Radio* 00082C12 4.000000 DN146_Loudspeakers *Is a Radio* 00082C16 4.000000 RadioTransmitter 0015077F 2.000000 BoSKellsPARadioMarker 001A8B3E 107.300003 BoS301TransmitterRef 00140C39 107.099998 BoSM01_PulserAstlinTransmitter 001D2864 44.000000 RadioInstitutePA 001D882B 87.599998 RadioTransmitMarker17 000855A3 0.000000 RadioDiamondCityReceiverOff *Is a Radio* Link to comment Share on other sites More sharing options...
silhouett Posted September 21, 2016 Author Share Posted September 21, 2016 Apply this script in FO4Edit to plugins you want to inspect (or just Ctrl+A to select loaded ones) WOW !!That is absolutely the Bomb.... :) Thank you so very Much I do have a question, is there any way to establish the nearest marker to the radio station or a reference point you can use moveto with ? would save time for what I am working on. Link to comment Share on other sites More sharing options...
Reneer Posted September 21, 2016 Share Posted September 21, 2016 If all you have are the radio frequencies (91, 98, etc), then no, there is no way to establish the nearest radio marker (unless you want to try a huge FindClosestReferenceOfType call). What are you trying to accomplish, exactly? Link to comment Share on other sites More sharing options...
silhouett Posted September 21, 2016 Author Share Posted September 21, 2016 If all you have are the radio frequencies (91, 98, etc), then no, there is no way to establish the nearest radio marker (unless you want to try a huge FindClosestReferenceOfType call). What are you trying to accomplish, exactly?No I have now the above info which includes info such as ID 001D2864 44.000000 RadioInstitutePA so it should some how be possible to grab a nearby marker to that reference or id Link to comment Share on other sites More sharing options...
Reneer Posted September 21, 2016 Share Posted September 21, 2016 If all you have are the radio frequencies (91, 98, etc), then no, there is no way to establish the nearest radio marker (unless you want to try a huge FindClosestReferenceOfType call). What are you trying to accomplish, exactly?No I have now the above info which includes info such as ID 001D2864 44.000000 RadioInstitutePA so it should some how be possible to grab a nearby marker to that reference or idI guess I just don't understand what you're trying to accomplish but it seems like you have all the info you need. Link to comment Share on other sites More sharing options...
silhouett Posted September 22, 2016 Author Share Posted September 22, 2016 If all you have are the radio frequencies (91, 98, etc), then no, there is no way to establish the nearest radio marker (unless you want to try a huge FindClosestReferenceOfType call). What are you trying to accomplish, exactly?No I have now the above info which includes info such as ID 001D2864 44.000000 RadioInstitutePA so it should some how be possible to grab a nearby marker to that reference or idI guess I just don't understand what you're trying to accomplish but it seems like you have all the info you need. Well I do have enough to do what I need, I was just trying to make it easier like some routine that would grab a real Marker which is in the same area as the id of say "RadioInstitutePA" Link to comment Share on other sites More sharing options...
RadoGamer Posted April 25, 2018 Share Posted April 25, 2018 Thanks This worked like a charm!!! Most Appreciated. Apply this script in FO4Edit to plugins you want to inspect (or just Ctrl+A to select loaded ones) { List radio stations } unit ListRadioStations; function Process(e: IInterface): Integer; var xrdo, r: IInterface; rfreq, rname, rradio: string; begin if not ElementExists(e, 'XRDO') then Exit; xrdo := ElementBySignature(e, 'XRDO'); r := BaseRecord(e); rfreq := GetElementEditValues(xrdo, 'Frequency'); rname := EditorID(e); if rname = '' then rname := EditorID(r); if GetElementEditValues(r, 'FNAM\Is a Radio') = '1' then rradio := '*Is a Radio*'; AddMessage(Format('%s'#9'%s'#9'%s'#9'%s', [ IntToHex(GetLoadOrderFormID(e), 8), rfreq, rname, rradio ])); end; end. Here is the output for Fallout4.esm as an example.1st - FormID of transmitter reference2nd - frequency3rd - Editor ID of ref, or transmitter activator if ref doesn't have any4rd - 'Is a Radio' flag is set on activator 000BA504 60.000000 PrewarRadioTransmitterREF 000BA641 70.000000 PrewarTVTransmitterREF 0002F519 89.000000 MS04ShroudRadioTransmitter 001F108D 4.000000 MS04ShroudMS04HandlerTransmitter 0001FA5B 98.000000 DiamondCityRadioTransmitterRef 00193B46 42.000000 GSRJ03_Loudspeakers *Is a Radio* 001A583D 32.000000 MS17CompoundRadio001 00148B8B 303.000000 RR303PrydwenAirTrafficRadioTransmitter 000F480B 102.000000 DN125_RadioTransmitter 001D206E 87.400002 RadioTransmitMarker15 001D206D 86.699997 RadioTransmitMarker08 001D1AED 86.000000 RadioTransmitMarker01 001D1AEC 87.300003 RadioTransmitMarker14 001C9710 100.000000 MS10TrinityTowerAntennaRefWRVR 00031C19 91.000000 RadioInstituteTransmitterRef 0001DAF9 99.500000 MS10TrinityTowerAntennaRef 0006F105 95.000000 BoS00Transmitter 0004AF75 95.000000 BoS201RadioTransmitterRef 0009FF44 105.000000 MinutemenRadioTransmitterREF 000E0B61 117.000000 RadioEyebotTransmitterRef 000EECAE 32.000000 MS17CompoundRadio 0011FBCE 1.000000 DN035_EasyCityDownsRadioTransmitter 0012EEEC 1.100000 DN035_EasyCityDownsEyebotRadioTransmitter 00132389 107.000000 BoSM01_PulserVarhamTransmitter 00140C3A 107.199997 BoSM01_PulserFarisTransmitter 00176516 82.000000 MQ205_RadioTransmitterNewREF 00191F21 86.300003 RadioTransmitMarker04 00193B43 42.000000 GSPOIRJ_RadioTransmitter 00193C39 86.199997 RadioTransmitMarker03 00152763 1.300000 DN049_DirectorRadioTransmitter 0019D6C3 31.000000 RadioTransmitter 001AC2E5 87.800003 RadioTransmitMarker19 001AC2E6 86.099998 RadioTransmitMarker02 001AC2E7 86.400002 RadioTransmitMarker05 001D882A 87.699997 RadioTransmitMarker18 001D882C 87.199997 RadioTransmitMarker13 001DE7F6 86.800003 RadioTransmitMarker09 001DE88E 87.099998 RadioTransmitMarker12 001E1AC6 86.900002 RadioTransmitMarker10 001E2300 86.500000 RadioTransmitMarker06 001E2301 87.500000 RadioTransmitMarker16 0023CD66 22.000000 RadioJukeboxTransmitterRef 0002A195 104.000000 WorkshopRadioRef 0018E3B2 62.700001 DN028RadioTransmitterRef 000ECA06 100.000000 MS10RadioWRVRref *Is a Radio* 000E92A0 94.000000 MS17CompoundRadioTransmitter 00112D1F 1.000000 DN165_PeoplemoverTransmitter 0016939F 140.000000 RadioTransmitter 00248028 77.000000 subwayRadioTransmitter 0014DFF6 1.100000 DN070_SecurityTransmitter 0014DFFF 1.200000 DN070_TreasuresTransmitter 00112D97 1.000000 DN070_TurretHallTransmitter 000FFF9A 1.000000 DN102IntercomRadio 00218C3D 1010.000000 RadioRailroadReceiver *Is a Radio* 00218C3B 1010.000000 RRMorseCodeRadioTransmitter 00144D89 99.500000 RadioPreWar 00096EAC 11.000000 MS11RadioIronsides 00084429 107.000000 BoSM01_PulserVarhamTransmitterReplacement 0008442A 107.099998 BoSM01_PulserAstlinTransmitterReplacement 0008442B 107.199997 BoSM01_PulserFarisTransmitterReplacement 00115B22 89.000000 RadioSilverShroudReceiver *Is a Radio* 00082C13 4.000000 DN146_Loudspeakers *Is a Radio* 00082C12 4.000000 DN146_Loudspeakers *Is a Radio* 00082C16 4.000000 RadioTransmitter 0015077F 2.000000 BoSKellsPARadioMarker 001A8B3E 107.300003 BoS301TransmitterRef 00140C39 107.099998 BoSM01_PulserAstlinTransmitter 001D2864 44.000000 RadioInstitutePA 001D882B 87.599998 RadioTransmitMarker17 000855A3 0.000000 RadioDiamondCityReceiverOff *Is a Radio* Link to comment Share on other sites More sharing options...
Recommended Posts