Menu

Show posts

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

Messages - SourceVG

#16
Help / Re: Starting raid attack
May 31, 2014, 10:51:52 PM
Thanks! That is exactly what I needed. I'll start experimenting and I'll get back to you with the results  :D
#17
Help / Re: Starting raid attack
May 31, 2014, 10:08:06 PM
Thanks for the break-down.I just want to simply call the raid to happen. For instance, what code should be written to have a group of raiders spawn on the side of the map and attack the colony immediately.

I don't know how to call the TryExecute() function or what to put in the arguments (the "parms"). I don't want to customize raids at all, just execute one to happen.
#18
Help / Re: Starting raid attack
May 31, 2014, 09:52:09 PM
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 :D

I just don't know what the syntax is at all. Can you give me a basic example just to get a basic raid. If I see how it's supposed to be done then I can learn and edit it.
#19
Help / Starting raid attack
May 31, 2014, 09:02:51 PM
Can somebody shed some light on how to correctly start a raider attack? This is the code that is used to start one (found in Assembly-CSharp):


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;
}


An example or directions on the proper parameters to use, etc., would be very appreciated. Thank you.
#20
What about a system like in FTL when you run out of fuel. You can wait it out and see if anyone comes to help/join your colony (super-fast-speed will be disabled). Or place a distress signal to get help faster, but there is a chance that raiders will come and pillage everything, which at that time, the game will just completely end.
#21
General Discussion / Re: Introduce Yourself!
May 27, 2014, 03:17:59 PM
Thanks, I'll shoot him an email.
#22
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.

TotalBiscuit would be a good way to promote the game, but like you said, he would also point out bad things about it too. But that shouldnt really a deterant. Nevertheless, I wouldn't consider this an option until the game is fully released (out of Alpha and Beta).

I also think the game will get more popular once it hits Steam. People will naturally just stumble upon it especially if they are looking for a game in that genre.
#23
General Discussion / Re: Introduce Yourself!
May 26, 2014, 09:15:36 PM
Hey guys, I thought introducing myself here would be a way to get active in this community. I bought RimWorld during the Kickstarter phase but only played it occasionally (I just started to play it again now - haven't played since Alpha 1, game is turning out great btw). I'm really interested in (scifi) building sims and (turn-based) strategy games. My favorite games are Civilization Series, Deus Ex, and GTA San Andreas. I'm also a manager of a gaming community which specializes and hosts San Andreas Multiplayer servers, more recently hosting Garry's Mod and CS:GO servers. I also have a fair share of time in coding world, knowing C# and other accompanying languages (maybe I will try making some RimWorld mods one day?).

Hope to meet more of you guys soon.
#24
General Discussion / Re: Next update?
January 05, 2014, 08:56:18 PM
Will the next update be on Steam?
#25
General Discussion / Re: Post your defense
November 10, 2013, 08:05:41 PM


It's very hard for raiders to get in :p
#26
General Discussion / Re: Post Your Base
November 09, 2013, 07:00:41 PM
Hi, first time poster here. This is my base.



This game is really awesome.