An illegal flyer has been detected (implement organisation raids)#998
An illegal flyer has been detected (implement organisation raids)#998FilmBoy84 merged 13 commits intoOpenApoc:masterfrom
Conversation
…/OpenApoc.git # Conflicts: # game/state/gamestate.cpp # game/state/gamestate_serialize.xml
|
Fantastic work! Just going through the code now whilst I make a build Couple of questions regarding the vehicles sent on missions I also note that you have under organisations.cpp several vehicles that the organisations pick according to manpower (which is great) Are raids in the OG always airborne? What considerations are in place for MegaPol? |
|
in OG |
|
Thanks for finding out for us Skin36 So it does indeed vary with a maximum value I also note that it is dependant on number of owned vehicles in the organisation - are we currently tracking this in OpenApoc? |
This variable should be exposed for modding.
Yes, it specifically looking for flyers and priority order is how I wrote it down. If you manually remove smaller vehicles (edit savegame) from organisation's vehicle park then they will start sending Hawks.
This is interesting. In fact Megapol does send 'Illegal vehicles', but it's always Police Hovercars and those doesn't trigger the event, they are just silently ignored. Raids currently happen without sending a vehicle over (as in OG); we can make it happen later. |
Yes, vehicles are distributed in |
|
Strange but during whol game week i not get any alert about "Unautorized vehicle detected" |
It depends on game's difficulty and random chance. Without Alien control only Psyke, Diablo and Osiron will send illegal flyers, have to piss off one of those. |
|
there was Nutrivend or something was under control of aliens after day 1 or 2)... |
|
Thanks for updates Shellstorm |
Related to #1002. Bug should be fixed now, extra suggestions can be done later.
Refactored Organisation missions to split into two types to support new code. Now AI will fight with each other. I tried to keep the logic (timers, chance %) very close to the original.
Base defense event will be launch if they "Raid" or "Storm" player owned building with a base.
Added a building attack ammo check to avoid vehicles hanging for too long.