Advanced-Equipment icon indicating copy to clipboard operation
Advanced-Equipment copied to clipboard

Add a way to change the address space of routers

Open y0014984 opened this issue 1 year ago • 0 comments

At the moment rounters are initialized with 192.168.0.1 but there is no way to change that. Via script the ip address of the router could be changed but we should also think of mission makers that want an easier way. This is very important if you want to connect multiple routers. In this case the address spaces should be different. Possible solutions are:

Current state via script

private _address = [192, 168, 0, 1];
_router setVariable ["AE3_network_address", _address, true];

Alternative solutions

  • Set IP address via Eden Attribute, like with fuel level and power level
  • Set IP address via additional Module (set ip address module)
  • Set IP address via function call in init field [this, [192, 168, 0, 1]] call AE3_network_fnc_setIpAddress;
  • ...

y0014984 avatar Dec 13 '22 17:12 y0014984