|Data Realms Fan Forums
|Control Chip Activity
|Page 1 of 1|
|Author:||arkman [ Thu Sep 18, 2014 5:31 pm ]|
|Post subject:||Control Chip Activity|
From careful butchery of the zombie mission, and bunker breach I have created a monstrosity that lets you capture the control chip from any bunker breach compatible scene.
Posting it here because while it works, it is a massive work in progress, and I think it causes some crashes. (need more experiments to test)
Additionally the enemy doesn't ever seem to call for reinforcements, but thats okay because I want to do some tweaks to how reinforcements behave anyway. (instead of just going after the brain I want to see them try to resupply their defenses instead.)
In order to use the activity you have to add it to one of the activities.ini files
my lazy activity code here.
AddActivity = GAScripted
PresetName = Control Chip Capture
SceneName = Zekarra Mining Outpost
Description = Assault a bunker occupied by a random AI controlled faction to recover a chip, alone or with your friends.
ScriptFile = Missions.rte/Activities/CaptureTheChip.lua
InCampaignStage = 1
LuaClassName = CaptureTheChip
CPUTeam = 1
TeamCount = 1
Team1Name = Players
Team2Name = AI
MinTeamsRequired = 1
Edit: I fail miserably at long detailed code, I don't suppose anyone can tell me how to apply the ai reinforcement behavior from bunker breach onto a thing that isn't a brain.
|Page 1 of 1||All times are UTC [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group