Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Arulco Special Division
New feature: Arulco Special Division[message #343706]
|
Sat, 09 January 2016 21:02
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
The current strategic AI is relatively fragile and obscure. Integrating new features into it can be relatively weird and lead to unexpected results later on.
For this reason, I've added a new feature: the Arulco Special Division. This is supposed to represent the agency controlling several of the queen's unconventional forces (most of whom are not yet coded, alone integrated into the code).
It is supposed to be an 'AI' that uses these features to fight the player in an effective yet believable way.
A very important part of this is that if possible, the player should have a way to counter the AI's actions in an immersive way (see following examples).
It has its own 'budget', which allows it to purchase new actions and required resources. This serves to limit the amount of the AIs actions. If the AI randomly spawns 20 elites in a random sector, this is not immersive - and the player can't do anything against that, which is frustrating.
This gives the player a way to compete with the AI - lower the AI budget, and the AI can do less harm. For example, part of the AI budget might come from mine income, which the player can take away. Or perhaps enemy income is also reliant on some facility, which the player could damage...
For now the AI receives 100K$ at the start of the game, and the mine income of any mine the player does not control.
If possible, the AI should have to buy and maintain its assets. This way the player could harm the AI by specifically targetting those assets if he chooses so.
For example, enemy helicopters have to be bought, fuelled and repaired. In order to stop enemy heli raids, the player could
- shoot them down
- steal enemy fuel deliveries
- sabotage enemy helis in their airfield
There is a cyclic update of this AI. Each time the AI decides whether it wants (and can afford) new assets. These assets then have to be ordered and can only be used once arrived.
The AI also decides how to use these assets. For example, if the AI has access to helicopters, it decides whether to refuel or repair them, and whether there are any missions it can send them on.
This feature is not recommended for new players. Note that standalone, without subsequent features that ASD can control, this is meaningless. In order to get discussions to where they belong, subsequent features get their own thread.
Supported features:
For JA2_Options.ini values and and additional info, see section [Strategic Additional Enemy AI Settings].
This feature is savegame-compatible.
This was added to the trunk in r8015 & GameDir r2279.
[Updated on: Sat, 09 January 2016 21:36]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
Re: New feature: Arulco Special Division[message #343724 is a reply to message #343717]
|
Sun, 10 January 2016 16:49
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
This is another layer as far removed from the regular strategic AI as possible (enemy heli troops are still drawn from the queen's pool though, but as that hardly ever runs out, this won't be a problem).
Altering strategic AI can have very odd, unintended consequences that one only notices weeks later (both ingame, and, sadly enough, in RL ). For example, altering patrol sizes after a campaign has started can lead to a point where the AI doesn't send out any patrols AT ALL. Or where it forbids itself from attacking even lightly defended player positions. For this reason I came up with this: A smaller framework that manages just a few features, and, in the worst case, can completely break down (either by bugs or because the player successfully sabotaged it) without the game being broken (because the normal, dumb, patrol-sending AI is still there).
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
Re: New feature: Arulco Special Division[message #343738 is a reply to message #343737]
|
Mon, 11 January 2016 13:06
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
There are, in fact, mods several years old that do just that (don't have a link though as I can't find anything in this forum).
Lorewise this wouldn't happen, as AIM has a policy to prevent such an issue (members fighting on both sides in a conflict), I think.
Technically, it is very easy to do, though atm I am not interested in it.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: New feature: Arulco Special Division[message #343747 is a reply to message #343742]
|
Tue, 12 January 2016 21:07
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
buuface wrote on Tue, 12 January 2016 06:39Fair enough!
What other potential uses for ASD do you perceive?
Night Ops task forces?
Night Ops forces would simply be normal forces that you meet at night... that is very hard to time, as we don't know when the player engages. This is not different from the normal AI patrols, I don't see how this could be incorporated.
A few ideas from top of my head, what existing and not (yet?) existing features could be integrated:
- air strikes are in fact in the code, but were intentionally left out by Sirtech. If they were in, it woul be logical to let ASD control them.
- This one came up in the IRC yesterday: mobile artillery that fires into a sector from several sectors away. I'm not a fan of that, but this would fit too.
- Currently, if tanks are allowed, they are added to an outgoing platoon more or less at random. They could be another resource: ASD has to buy (and maintain?) the tanks, and the normal AI has to ask whether it can use one. Requires some interface, but doable.
- Enemy assassins are currently randomly generated. This could be integrated and extended: ASD gets its own intelligence agency. It has to recruit, train and control spies and assassins.
Would even work in conjunction with other features: If the player controls many SAMs, ASD stops heli missions and focuses its agents to sabotage them. In extreme cases, so closely timed that the SAM goes down the moment the heli enters their region, but thats more wishful thinking - Enemy generals are currently randomly distributed. The bonus for taking them out is significant, but a general him/herself is not very interesting.
Imagine this: Each of the above features gets a NPC that 'controls' it. An airforce general, a tank officer, an intelligence director etc.. These are essentially the generals from before, but each gives a specific bonus. Take him out, and you damage the entire feature (until they are replaced?). If the airforce chief is killed by you, no more strikes until the AI 'gets its command structure back together'.
I don't necessary plan to do these, but this is roughly what I have in mind for ASD.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Re: New feature: Arulco Special Division[message #343748 is a reply to message #343747]
|
Tue, 12 January 2016 23:37
|
|
CVB |
|
Messages:129
Registered:September 2014 Location: Berlin |
|
|
Some more ideas:
Military Ops:
- mobile SAMs: working like manpads, but with more range, and possibly road-bound or at least limited to open country. Might be a bit tricky to pull off balance-wise, since losing their only helicopter out of the blue would be a "reload" moment for most players. So there should be some way to detect if airspace has become "red" again (radar warning receiver, intelligence from prisoners...). It would still be inconvenient to find your forward helibase under an SAM umbrella again , and could lead to some merry chases for that elusive SAM carrier If interested, I could supply isometric pics (4, 8, 16, or 32 views) of a SA-6, SA-8 or maybe a Hummer Avenger, for example, although I would need help with the .jsd files, and I have no idea how to convince the map editor to accept a new skin.
- amphibious landings: would work like the existing "enemy helicopters" feature, but ignoring rebel SAMs and limited to coastal sectors. I could supply pics of landing craft, caveat as above. IIRC, Smeagol already has a patrol boat in one of his maps.
- tunnel rats: follow the player underground. It always struck me as quite unrealistic that I could simply vanish into the mines and be safe there with all my stored loot...
Intelligence and covert ops:
- saboteurs could target the helicopter and vehicles
- assassins could also attack important NPCs (no Jake - no fuel, so you better detail someone for bodyguard duty; also Tony, the miners, the hospital crew now have a bullseye on their backs)
- saboteurs could also spread diseases, poison water supplies and disable facilities
- false flag operations could damage the rebels' standing with some factions (e.g. Kingpin's money is missing, someone took the med supplies from the hospital)
Again, to be balanced, the player would need some chance at counter intelligence (radio intercepts, prisoner interrogation, information from defectors such as Iggy, infiltrating spies, finding orders in military bases, gathering rumours from the population)
Of course, many of those options could also work the other way.
Peace is a purely theoretical state of affairs whose existence we deduce because there have been intervals between wars.
J. PournelleReport message to a moderator
|
Sergeant
|
|
|
|
|
Re: New feature: Arulco Special Division[message #343754 is a reply to message #343753]
|
Wed, 13 January 2016 13:34
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Meh. First off, that would require new item selections (like in EnemyGunChoices.xml etc.) just for that. Then, someone would have to fill those tables. Then, override normal equipment generation.
Enemy group travel/movement/attack behaviour is deep within the normal strategic AI. It is very convoluted and easy to unintentionally break (this is the prime reason I came up with this). This would definetely require changes there, like telling an attack group during the day to never ever attack a sector even though it would be logical. Retreating/replacing with other groups is theoretically already in code, but in practicea giant mess.
I also don't really see the gain. While the first two or so night attacks would be harder, you also get their gear - after that, every nighttime encounter after that becomes easier.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Re: New feature: Arulco Special Division[message #344630 is a reply to message #343754]
|
Sun, 20 March 2016 20:38
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
As of r8114 & GameDir r2305, ASD can now manage the assignment of enemy tanks and combat jeeps. For now, this is relatively simple - occasionally, the strategic AI will ask ASD whether it can spare a combat vehicle - if ASD has some, it will supply them.
So similar to enemy helicopters, ASD has to buy tanks and combat jeeps, and fuel them. As these vehicles are unlikely to ever return to Meduna, they simply require an amount of fuel to be ready for the AI.
New ASD settings in full (Ja2_options.ini):
[Strategic Additional Enemy AI Settings]
;******************************************************************************************************************************
; These settings change the behavior of the queen's additional AI on the Strategy Map.
;******************************************************************************************************************************
;------------------------------------------------------------------------------------------------------------------------------
; Arulco Special Division
;
; Control over a number of new features will gradually be given over to a second strategic 'AI' - the 'Arulco Special Division'.
; This should control if, how and when these new features are used by the AI.
;
; It has its own 'budget', which allows it to purchase new actions. This serves to limit the amount of the AIs actions.
; It also gives the player a way to compete with the AI - lower the AI budget, and the AI can do less harm.
; For example, part of the AI budget might come from mine income, which the player can take away.
;
; If possible, the AI should have to buy and maintain its assets.
; This way the player could harm the AI by specifically targetting those assets if he chooses so.
; Ideally this gives the player another immersive way to do sth. in the game.
; For example, enemy helicopters have to be bought, fuelled and repaired.
; In order to stop enemy heli raids, the player could
; - shoot them down
; - steal enemy fuel deliveries
; - sabotage enemy helis in their airfield
;
; There is a cyclic update of this AI. Each time the AI decides whether it wants (and can afford) new assets.
; These assets then have to be ordered and can only be used once arrived.
; The AI also decides how to use these assets.
;
; This feature is not recommended for new players.
;
; For specific sector settings, see Mod_Settings.ini.
;------------------------------------------------------------------------------------------------------------------------------
; TRUE: Arulco Special Division is active
ASD_ACTIVE = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; The AI has to buy its assets, and these need to be 'shipped' to the country before it can use them.
; These are the base costs in $ for AI resources.
; It is planned that at some point, the player and the AI will be able to influence these.
;------------------------------------------------------------------------------------------------------------------------------
; one unit of fuel, valid from 1 to 100
ASD_COST_FUEL = 10
; a helicopter, valid from 1 to 1000000
ASD_COST_HELI = 30000
; a jeep (armed with a MG), valid from 1 to 1000000
ASD_COST_JEEP = 20000
; a tank, valid from 1 to 1000000
ASD_COST_TANK = 50000
;------------------------------------------------------------------------------------------------------------------------------
; Once bought, it takes time for resources to get to the country.
; These are the base times in minutes for the goods to arrive.
; It is planned that at some point, the player and the AI will be able to influence these.
;------------------------------------------------------------------------------------------------------------------------------
; one unit of fuel, valid from 1 to 60 * 48
ASD_TIME_FUEL = 480
; a helicopter, valid from 1 to 60 * 48
ASD_TIME_HELI = 1200
; a jeep (armed with a MG), , valid from 1 to 60 * 48
ASD_TIME_JEEP = 720
; a tank, , valid from 1 to 60 * 48
ASD_TIME_TANK = 1440
;------------------------------------------------------------------------------------------------------------------------------
; Determine whether ASD assigns tanks and jeeps to enemy patrols and jeeps
;------------------------------------------------------------------------------------------------------------------------------
ASD_ASSIGNS_TANKS = TRUE
ASD_ASSIGNS_JEEPS = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; Tanks and jeeps are not refueled, instead fuel is required upon 'creating' them
;------------------------------------------------------------------------------------------------------------------------------
ASD_FUEL_REQUIRED_TANK = 100
ASD_FUEL_REQUIRED_JEEP = 20
;******************************************************************************************************************************
;******************************************************************************************************************************
I've altered the prices of things a bit - while I know you cannot get a heli for 30k or a tank fro 50k, this should be somewhat better balance-wise.
It thus follows that if the player manages to disrupt the enemy supply (by denying it funds by damaging its shipments or otherwise), the AI cannot field tanks and combat jeeps (the pre-placed tanks in Meduna are an exception - think of them as the 'iron reserve' the Queen already has and keeps in Meduna. For now, there isn't really a good way for the player to do that. I have plans for that, but this requires several other features that I have yet to finish.
Similar, I am not at all happy with how ASD 'decides' to give the Strategic AI vehicles, but for now this will do. I plan to eventually improve this.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Re: New feature: Arulco Special Division[message #344633 is a reply to message #344630]
|
Sun, 20 March 2016 22:31
|
|
Panzer |
|
Messages:89
Registered:February 2016 Location: Altis, Sometimes Tanoa |
|
|
I feel that within five years nearly all if not the vast majority of the AI's actions will be governed by the ASD. Anyone else seeing it? BTW. 50k for a tank is actually realistic price. Visit a site called MortarInvestments. Cant post a link due to low post count
[Updated on: Sun, 20 March 2016 22:36]
I have no Wife, Children, or real Job. This also means I have 24 hours a day and 7 days a week to think of a rebuttal. You have been warned.
"I got another problem: I am being overrun by Dinosaur Nazis on Hoverboards!" -Ravenhugger
"Before you judge a man, walk a mile in his shoes. After that who cares? He's a mile away - and you've got his shoes!" - Unknown Criminal
Report message to a moderator
|
Corporal 1st Class
|
|
|
|
|
Re: New feature: Arulco Special Division[message #344654 is a reply to message #344643]
|
Tue, 22 March 2016 01:02
|
|
Panzer |
|
Messages:89
Registered:February 2016 Location: Altis, Sometimes Tanoa |
|
|
T-72 isn't really an old tank. many nations still use it. Anyway ill grant that expense could potentially be closer to 60K with shipping, fuel, and ammunition. Parts, well depends on where you get the tanks. otherwise Their T-72s are more or less combat ready. (then again they are in varying conditions.)
[Updated on: Tue, 22 March 2016 01:16]
I have no Wife, Children, or real Job. This also means I have 24 hours a day and 7 days a week to think of a rebuttal. You have been warned.
"I got another problem: I am being overrun by Dinosaur Nazis on Hoverboards!" -Ravenhugger
"Before you judge a man, walk a mile in his shoes. After that who cares? He's a mile away - and you've got his shoes!" - Unknown Criminal
Report message to a moderator
|
Corporal 1st Class
|
|
|
Re: New feature: Arulco Special Division[message #344694 is a reply to message #343738]
|
Thu, 24 March 2016 19:29
|
|
MurphysLawTesties |
|
Messages:12
Registered:December 2015 Location: Lithuania |
|
|
Flugente wrote on Mon, 11 January 2016 12:06There are, in fact, mods several years old that do just that (don't have a link though as I can't find anything in this forum).
Lorewise this wouldn't happen, as AIM has a policy to prevent such an issue (members fighting on both sides in a conflict), I think.
Technically, it is very easy to do, though atm I am not interested in it.
Well, Mike got paid enough that he left AIM's employment. Maybe Deidranna could do the same for other mercs ?
Also MERC isn't really AIM and Speck is barely keeping it afloat, So I could imagine him selling his mercs to both sides
Not much you can say to a man who carries plush versions of the women he screwedReport message to a moderator
|
Private
|
|
|
Re: New feature: Arulco Special Division[message #345674 is a reply to message #344694]
|
Tue, 24 May 2016 22:07
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
I've fixed an oversight on my behalf in r8233: If a campaign was started before this feature was introduced in r8015, and then the save was used with exes created since, the ASD update function was not periodically called, effectively neutering the feature. This bug only existed in campaigns started before r8015. This fix fixes that, regardless of whether ASD is active in your campaign or not.
[Updated on: Tue, 24 May 2016 22:08]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: New feature: Arulco Special Division[message #345987 is a reply to message #345985]
|
Tue, 21 June 2016 15:30
|
|
Thundercat |
|
Messages:39
Registered:November 2009 |
|
|
These are great ideas and can't wait to see them extended in depth. As I had written on a wrong post some time ago a few good features could be:
1. Queen has special elite forces that control robots. Since you could get one through Dr. Kairns quest, imagine intire armies, like patrols, made by them. Even some of them fixed on the upper floor of the Sam Sites. That work automatically or manually.
2. Battle Ships at bay of the Cities that have a port. Sudden attacks of the Queen to those cities by sea.
3. A Ghost town made entirely from zombies, like 500 spawning from every where really fast, away from Balime near the border. All that area is empty, or an island south of Palmas with an oil company that gives you money just like a mine and with a very long bridge made of two sectors for example extremely guarded.
4. Why not put the entire MERC company to the availability of the Queen? Or at least take away half of the mercenaries make them strong like Mike or better and implement them as Queen's personal Royal Guard or something.
5. Add missiles, like the SAM's but for ground targets to be put in some strategic points and shoot you from the other side of the sector, or even from sectors adjacent to mines killing your militia, forcing you to go to the sector to eliminate them.
6. After three heads given to Carmen have the possibility to finally recruit him.
7. Carlos or Dimitri betrays you and Miguel joining Joe and the above royal guard in the palace in meduna revealing your position and plans....
I am afraid I got a bit carried away here... I imagine some suggestions are very hard coded to even take under consideration.
Report message to a moderator
|
Private 1st Class
|
|
|
|
Re: New feature: Arulco Special Division[message #346114 is a reply to message #345995]
|
Wed, 06 July 2016 04:31
|
|
RunAwayScientist |
|
Messages:84
Registered:September 2001 |
|
|
Hey Flug,
Just a quick code edit request. Based on play-testing, I was wondering if it would be possible to raise the maximum value for the ASD helicopter fuel resupply to a LONG INT value or equivalent (9999).
This request comes about after being pummeled in the early game by elite drops. At max refuel value, the queen can still send two elite drops per day on a location. I would like to limit air-drops to once per week which could be achieved by increasing the resupply arrival time of fuel for the ASD helicopters. Specifically, the following .INI setting:
; time to repair 1 HP at the home base in minutes, valid from 1 to 10
ENEMYHELI_FUEL_REFUELTIME = 201
I'll look over the code on my end and see if the value can be raised. If so, I'll copy-pasta it here.
EDIT: Got it, in GameSettings.cpp. Since I can't commit to the SVN, I'll submit this to you, Seven/Dep/Flug.
Modified Line:
"Modified Line" gGameExternalOptions.gEnemyHeliTimePerFuelRefuel = iniReader.ReadInteger( "Enemy Helicopter Settings", "ENEMYHELI_FUEL_REFUELTIME", 3, 1, 255 );
Full Modified Code (GameSettings.cpp):
http://pastebin.com/KxEgxVz0
Since I'm unsure if it's an INT or FLOAT/DOUBLE, I simply set it to 255. Upon testing, this edit works as intended.
I noticed something interesting during testing. Previously, two helicopters would 'stack' on a single sector; doing simultaneous drops. Now, the drops are spread out and the Queen attacks two sectors over a period of hours. Most likely due to the added delay, the code discounts a sector with elites already in it. Much more effective.
[Updated on: Wed, 06 July 2016 05:33] Report message to a moderator
|
|
|
|
|
Re: New feature: Arulco Special Division[message #346123 is a reply to message #346117]
|
Wed, 06 July 2016 22:07
|
|
RunAwayScientist |
|
Messages:84
Registered:September 2001 |
|
|
Hey, awesome, good stuff. Thanks, Flug.
I omitted a lot of data on some of the decisions the AI made (namely what sectors it went after) since it seemed fairly random. But perhaps not. I'll try to be detailed.
I raised the fuel range for the ASD helicopters to 50, so that the enemy helicopters can cover the entire map. Therefore, the farther the ASD helicopters travel the longer it will take for them to be re-used. 201 * 50 = 10.050/60 = 167.5 hours to refuel (6 - 7 days)
Before changing the fuel values and on initial testing when this feature was added to the build, Omerta and San Mona became priority targets. Very often, two groups of 6 elites would be dropped on the San Mona locations. If the first helicopter drop was defeated, a second would shortly follow. In addition, I noticed sectors would have '12' troops in its location. Farms, Drassen, Omerta, or San Mona. I assumed a second air drop was done on the location to reinforce it.
Sometimes mercs did not comment on airdrops. I'm not sure if this is tied into the 'CHANCE_SAY_ANNOYING_PHRASE' value (I have mine at 40), but it might be confusing to some players when a combat dialog box suddenly appears. This might not be a bad thing, since surprises are part of war (so deal with it newbie).
During testing, I cleared out Chitzena, San Mona, Drassen, Omerta, the two North SAMs, and about 8 different farm facility sectors added by Wildfire/1.13 . With ASD refuel at a value of 10, it literally took about 5 days for nearly all of these locations to be re-taken by air drops. With a troop pool of 1.250, the Queen did not send additional attacking forces to re-take city sectors. I do not know if this means that ASD heli attacks have been tied into the attacking code (as opposed to supplementing it), or if the Queen was not fast enough to prioritize an attack before ASD code dispatched helicopters.
The latter might actually be the case, since with my tweaks the Queen makes decisions once every 12 hours (with Generals at 5). The ASD helis attacked once every 8 hours (at 10 refuel time).
I of course encountered the bug where the game would hang/crash if attempting to load an unloaded sector where a heli-copter attack is occuring. I am unsure if this has been fixed yet, but the only workaround at the moment is to simply retreat and attack from the side.
Priority targets appear to (annoyingly) be San Mona and city sectors, with farm sectors or Omerta having the least priority. I do not know what method you used to determine attacked sectors, but I think randomly hitting locations is preferable to prioritized locations.
Obviously you have a massive workload now, but when you do get around to XML-izing some of the ASD heli options, I'd like to remove 'Brothels' as a target for the ASD ; such that the queen honors her agreement to vacate San Mona. I'll admit, it is tactically devastating to have a major source of early game income cut-off, so I'm not complaining too much but I can't decide if it makes sense for elites to enter San Mona or not. Hmmm...
Good stuff though. As an experienced player, this adds a new dynamic. Again, with my settings of 201, as the player nears Meduna the helicopter attacks become more frequent (less fuel used) and this seems an appropriate balance. Since I have helicopters turned on in the very beginning of the game, it also seems like the elites are 'hunting' the player after they arrive in Omerta (since there are many farms in Wildfire outlying Omerta). Being hunted and tracked down by elites is something that makes sense strategically for the Queen to do.
Hope that gives you some data to play with.
Report message to a moderator
|
|
|
|
|
Re: New feature: Arulco Special Division[message #349706 is a reply to message #349687]
|
Thu, 04 May 2017 00:23
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Hmm. The odd thing is that the checks I coded in it should already prevent exactly that scenario. Hmm. Seems like I missed something. The exe revision you are playing on would be helpful, but as I haven't coded in that part since some time, it's likely you already have the newest code.
Unfortunately, I have no idea when I can get back to coding, so for now, the best fix for you would simply be to turn off the enemy helis in your game via ini, sorry.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
|
Re: New feature: Arulco Special Division[message #360313 is a reply to message #360311]
|
Sun, 07 June 2020 23:06
|
|
Kitty |
|
Messages:473
Registered:October 2017 Location: Germany |
|
|
Flugente wrote on Sun, 07 June 2020 22:21ASD is independent of how the soldiers and militia are named. Did you perhaps only turn the profile feature on after entering the sector?
Iirc the tileset thing required USE_XML_TILESETS to be TRUE. It was not supposed to be on a roof at all. It's supposed to be the index of the heli in the map's tileset. Perhaps someone changed that in stock?
I stumbled across this while trying to fix the ja2set.dat and ja2setdat.xml for the Tilesetfolders 50-59 in Data-113, the entries don't match the files and cause misplacings and errors with mapEditor when used.
After that I went to the stuff in Data-UB, to find out why the ingame-maps are shown without misplacements, but when opening the same maps with the same vfs and ini are showing misplacements and/or result in errors. Apparently the exe of the mapEditor is handling Tilesets like JA2, the one and only Default Tileset is 0. But when ingame, the UB-exe is handling Tilesets with Tileset 50 as the one and only Default Tileset. Plus, the entries for smguns and smitems where missing in the Data-UB ja2set.dat. This allows UB-Vanilla and UB-113 to use the ones in Data or Data-113 (caused by the vfs-structure, UB-Vanilla reads missing stuff from Data, UB-113 from Data-113 - i've yet to find out wether this either means they only pick the smguns and smitems or pick the whole ja2set.dat). UB is a rather confusing thing.
But anyway, the Heli in xml-Tileset 48 is also at Index 70 (shadows at 71). And index 70 is ONROOF1 in the MapEditor (71 is ONROOF2) and Index 70 is starting at 1689, like said in the modsettings.ini.
So, wether xml-tilesets are true or not, in Tileset 48 the Heli is on roof.
In discord, you mentioned to ask you to get those fixes in trunk. I wanna spent some time to verify UB-stuff, but when finished, I will also shift the heli in 48 to a more fitting place. I'll contact you when finished, if this is ok.
How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN
I need more details. (Didi Hallervorden) Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Thu Dec 12 16:44:15 GMT+2 2024
Total time taken to generate the page: 0.02179 seconds
|