kevinkins -> Simulate Cyber Warfare (12/24/2016 3:15:56 AM)
|
Been thinking of using Special Actions to trigger a “cyber attack”. The player executes the action when they choose to which has a random chance of causing an successful attack. Here is a very basic example. It has a 1/3 chance of disabling the computer side’s radar. menu > game > special actions ... math.randomseed(os.time()) math.random(); math.random(); math.random() a = ( math.random( 1, 3 ) ) if a == 1 then ScenEdit_SetEMCON('Side', 'Red', 'Radar=Passive') end Of course, this example has the global effect knocking out a side's radar completely. The lua code can be made much more specific to unit and more random. The cyber attack’s effect could be delayed and/or only temporary. Couple of questions. Is this technique worth pursuing from a game play POV? If so, what other “nodes” could the cyber attack strike. Radar, Sonar, Deactivate missions, fuel = 0 to disable a ship etc. Any other mischief that you can think of? If you know of a scenario using “cyber attacks” I would like to take a look at the implementation. Thanks. Kevin
|
|
|
|