Help creating New Game Modes (Removing conquest function)
Posted: Thu Jun 26, 2008 6:36 pm
So currently I'm in the process of trying to create new game modes. I'm thinking I'm close to figuring out how to make things work how I need them to but I'm having difficulty making the AI do what I want them to.
Right now I'm trying to set up a scenario where one team stands in a set region and defends a single cp while the other team attempts to capture it. I'm attempting to edit a conquest lua to make this mode. My problem, no matter what I try, the AI still run off trying to play a normal "conquest". I tried to creat a campaign style set up but that didn't work, so now I'm trying to just set up AI goals. That kind of works but the AI eventually run off from the where they are suppose to defend. Here is the lua I'm trying:
Recently I tried adding this line under conquest.OnStart = function(self):
conquest.goal1 = RemoveAIGoal(REP, "Conquest", 100 )
But that causes no units on either team to spawn now.
So basically I'm asking how to take the conquest game play out even if the mode is still named conquest. A odd request I know, if there is an easier way to set up new game modes I'm open to try it.
Also while I'm on the topic. I believe it would be useful to the community if some one with experience creating new game modes (Like Zerted or Tean) would write a tutorial of all the steps they went threw to create a game mode like king of the hill, TDM, Holocron, etc.
Any help would be appreciated. Thanks in advance!
Right now I'm trying to set up a scenario where one team stands in a set region and defends a single cp while the other team attempts to capture it. I'm attempting to edit a conquest lua to make this mode. My problem, no matter what I try, the AI still run off trying to play a normal "conquest". I tried to creat a campaign style set up but that didn't work, so now I'm trying to just set up AI goals. That kind of works but the AI eventually run off from the where they are suppose to defend. Here is the lua I'm trying:
Hidden/Spoiler:
conquest.goal1 = RemoveAIGoal(REP, "Conquest", 100 )
But that causes no units on either team to spawn now.
So basically I'm asking how to take the conquest game play out even if the mode is still named conquest. A odd request I know, if there is an easier way to set up new game modes I'm open to try it.
Also while I'm on the topic. I believe it would be useful to the community if some one with experience creating new game modes (Like Zerted or Tean) would write a tutorial of all the steps they went threw to create a game mode like king of the hill, TDM, Holocron, etc.
Any help would be appreciated. Thanks in advance!