Thanks! That is exactly what I needed. I'll start experimenting and I'll get back to you with the results
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
Quote from: mrofa on May 31, 2014, 09:44:37 PM
Write what do you want to do, its kinda hard to tell you which param to change if you dont specify what do you want do to
public override bool TryExecute(IncidentParms parms)
{
this.ResolveRaidPoints(parms);
if (!this.TryResolveRaidFaction(parms))
{
return false;
}
this.ResolveRaidStyle(parms);
this.ResolveRaidArrivalMode(parms);
this.ResolveRaidArriveCenter(parms);
TargetPack letterTarget = TargetPack.Invalid;
List<Pawn> list = PawnGroupMaker.GenerateArrivingPawns(parms, parms.faction, true).ToList<Pawn>();
if (parms.raidArrivalMode == RaidArrivalMode.CenterDrop || parms.raidArrivalMode == RaidArrivalMode.EdgeDrop)
{
DropPodUtility.DropThingsNear(parms.spawnCenter, list.Cast<Thing>(), parms.raidPodOpenDelay, true);
letterTarget = parms.spawnCenter;
}
else
{
foreach (Pawn current in list)
{
IntVec3 loc = GenSquareFinder.RandomStandableLOSSquareNear(parms.spawnCenter, 8);
ThingMaker.Spawn(current, loc);
letterTarget = current;
}
}
Find.LetterStack.ReceiveLetter(this.GetLetter(parms, letterTarget));
SquadBrain.MakeNewSquadBrain(parms.faction, this.GetSquadBrainStartState(parms), list);
Find.ConceptTracker.TeachOpportunity(ConceptDefOf.EquippingWeapons, OpportunityType.Critical);
return true;
}
Quote from: Miniscule Max on May 05, 2014, 10:27:16 PM
There is always the great Cynical Brit.
https://www.youtube.com/channel/UCy1Ms_5qBTawC-k7PVjHXKQ
Problem is, he gets thousands of games to go over, and if he doesn't like something about the game, he sure lets it be known. He has gone into legal battles with some devs who were upset on his bad game bashing.

