Data Realms Fan Forums
http://45.55.195.193/

Can you do Co-op campaign?
http://45.55.195.193/viewtopic.php?f=75&t=19568
Page 1 of 1

Author:  Joesycop [ Sat Aug 21, 2010 5:26 pm ]
Post subject:  Can you do Co-op campaign?

I think i seen someone saying they did co-op campaign and now i wanna!
Can you do it?
Could someone make a mod that allowed you to?
Do you think that cortex will ever have that?

Author:  FuzzyMelon [ Sat Aug 21, 2010 9:36 pm ]
Post subject:  Re: Can you do Co-op campaign?

In most of the scenes you can add
Code:
PlayerCount = 2
to its activity file.

Cortex Command\Missions.rte\Mission Activities.ini and place it like
Code:
AddActivity = GAScripted
   PresetName = Zombie Cave
   SceneName = Zombie Cave
   ScriptFile = Missions.rte/Scenes/Scripts/ZombieCave.lua
   InCampaignStage = 1
   LuaClassName = ZombieCaveMission
   PlayerCount = 2


and it should add a second non-brain character of some sort. Doesn't work with some scenes, because of Lua dependencies I think, I dunno hopefully someone can elaborate.

Author:  [Insert Name Here] [ Sat Aug 21, 2010 9:57 pm ]
Post subject:  Re: Can you do Co-op campaign?

But I'm pretty sure you can just add another character into those scenes and set the player count to 2. It should work. Most of the time they're landing in a craft, and all of the other times there's more than one actor anyway, so you can just add another actor into the craft.

Author:  CaveCricket48 [ Sat Aug 21, 2010 10:35 pm ]
Post subject:  Re: Can you do Co-op campaign?

That's not how it works. You have to manually assign a brain to a player. If you only spawn an additional brain, it won't have any effect on the second player.

The vanilla missions are designed to work with multiple players by checking the PlayerCount, spawning additional brains if needed, and then assigning the brainss to players.

The mission script ALSO needs to keep track of which brain "belongs" to which player, and to keep players from doing anything if their brain died.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/