The next level in Building Construction.. thoughts?
#1
Posted 23 March 2006 - 03:37 PM
Think Starcraft's Protoss (builder lays down a marker to which building is slowly "warped in") meets Command and Conquer "HQ-builds-and-lays-buildings-down" format.
The scenario:
1) Builder units can only LAY down what we will call "Markers" anywhere on the map. These builders also can capture strats, builds LPs on them and also lay mines - this part is no biggie. Builders CANNOT build any major buildings.
2) Once Marker is set down (as mentioned, it can be set anywhere), the HQ is allowed to build regular buildings BUT each building is treated as a spawnable unit for deepstriking so...
3) HQ builds the buildings as a unit (HQ can only build ONE building at a time (like in Command and Conquer) then once the building is finished, you deepstrike it as a unit, to the marker which was set down by the builder.
4) Once building is built at the marker THEN it becomes a regular building that builds units/addons/researches normally.
Now.. does this sound remotely possible? I would say everything is since the buildings treated as units will be in the unitstats.ai, buildings are units at the HQ and thus can deepstrike (although the script would have to be changed so such buildings would ONLY deepstrike not for military reasons but the same way our deepstriking engineers work) but the problem I see is how to tell the HQ to deepstrike the buildings (treated as units) to the markers being placed down. Another problem.. how to tell the builders WHERE to place markers? Using Arkhan's buildprogram one could script a sequence of marker placements like the way we build, say, Generators.
Does all this sound wacked out or very much doable? The only challenge is telling the AI to deepstrike the HQ buildings (treated as units) to the marker points when asked.
I'll drum up a set of scripts to determine feasibility.. Nevertheless.. this all sound plausible?
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#2
Posted 24 March 2006 - 06:05 AM
Edited by LarkinVB, 24 March 2006 - 01:59 PM.
#3
Posted 24 March 2006 - 01:45 PM
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#4
Posted 24 March 2006 - 02:03 PM
Edited by LarkinVB, 24 March 2006 - 02:04 PM.
#5
Posted 24 March 2006 - 02:28 PM
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#6
Posted 24 March 2006 - 02:56 PM
#7
Posted 24 March 2006 - 03:12 PM
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#8
Posted 24 March 2006 - 04:01 PM
By the emporer! By our lord the Flying Spaghetti Monster!
Don't get the AI to do anything more, trust me.
SCAR? Are you sure?
Thats bad man...real bad.
Buildings and Units are seperated for a reason, there is no good way to change them between each other.
#9
Posted 24 March 2006 - 04:17 PM
The one thing is: when the Harley Mod is run it causes the AI to NOT capture points UNLESS the player captures then builds its first LP. Bloody wierd. Once the player captures and builds its first LP, once thate LP is just created, then the AI gets "pis*ed" and starts doing everything it should. Strange eh? Have to chat with Shin on that one. His \ebps\troops folder doesn't properly catalogue the rgds properly so I'm assuming there is something odd going on in there.
However, it does work without upsetting the rest of the game. Maybe its NOT scar.. its all done through the rgds he has in \attrib. He has, however, coded alot of high-level SCAR stuff though for other secret projects.
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#10
Posted 24 March 2006 - 05:23 PM
If he uses RGD's, thats cool. If he has campaigns and multiplayer maps using SCAR, thats fine too.
How he'd hook in SCAR in the first place I have no idea either
#11
Posted 29 March 2006 - 07:03 PM
Essentially, the basic scripts are in. Here is the important info you need to know:
Builder unit "harlequin_squad_mime" builds a building called: "harlequin_webway_marker"
Once its placed down, the HQ opens up the following "spawnables" for construction (treated as units):
harlequin_squad_building_troupe_portal
harlequin_squad_building_armoury
harlequin_squad_building_masque_portal
harlequin_squad_building_support_portal
harlequin_squad_building_dark_veil
Note: Only ONE of the above can be built at one time (think Command and Conquer's Mobile HQ). Those above are shown in order of preequistes (ie. both masque_portal and support_portal are not available until Tier2 research is done).
This HQ can build two other unit types (Mimes [builders] and the Master Mime - both are non-deepstrikable).
What has to happen is the HQ, once a webway_marker is placed, will build the "building unit" at the HQ then deepstrike it to the next available webway_marker.
The "building unit" then becomes a full fledged building and NOT a squad like it was before.
Arkhan.. you adapted a 1st generation Builder @ HQ deepstrike routine - can it be simply adopted to deepstrike not to start_pos or build_pos but something else like marker_pos ?
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#12
Posted 30 March 2006 - 01:10 PM
This won't help you, since at the time a builder is deepstriked, the building is not built, yet. The buildplan has to search for an HQ first, build the building and then, as soon as it's finished, deepstrike it.Arkhan.. you adapted a 1st generation Builder @ HQ deepstrike routine - can it be simply adopted to deepstrike not to start_pos or build_pos but something else like marker_pos ?
As I see it, we would need a unique harlequinbuildbuildingplan.ai for that. The Strategy:BuildPrereq(...) method also has to be inherited by the harlequinbuildbasestrategy.ai to make sure that it creates the special harlequinbuildbuildingplan and not the basic one.
BTW, how far is this mod? Do they need the AI code soon?
#13
Posted 30 March 2006 - 01:44 PM
I'll get back to you. Should be fun.
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#14
Posted 30 March 2006 - 03:05 PM
#15
Posted 30 March 2006 - 03:07 PM
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
#16 Guest_mankyle_*
Posted 25 April 2007 - 06:07 AM
Two steps:
First: Buildings produce a one entitty squad that has absolutely no purpose except dying. We can acomplish this with the suicide_ext extension
The entity in this squad has a building set in his "spawns_on_death" field in the health_ext.
Second: The actual building is a normal building.
So you spawn the dummy squad via deepstrike everywhere you want and then the squad spawns, dies and gets replaced by the building.
This works as Palii has enabled it in his Elysians mod
Hope it helps
#17
Posted 25 April 2007 - 12:39 PM
Yes.. There is a faction mod coming up which will use this deepstriking buildings which are created from the HQ as a unit then when deepstriked to point becoming a building. Alot of testing will be occuring to get it right.
Dawn of War Advanced AI Headquarters
Latest DoW Advanced AI Download!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users