Author |
Message |
Collective
Joined: Wed Mar 03, 2010 11:29 pm Posts: 122
|
Three Team Skirmish Battle
Making my own skirmish activity. The general concept is that it's a three-way free-for-all between Red Team, Green Team, and Wildlife. How would I make it so that Wildlife Team actors spawn in the activity while retaining the Green and Red teams?
|
Sun May 02, 2010 11:47 pm |
|
|
Commodore111
Joined: Sun Oct 11, 2009 7:47 pm Posts: 132
|
Re: Three Team Skirmish Battle
You can use lua on a craft or actor to make it set itself to a certain team. Unless you want to use dummys or ronin, for example, as wildlife actors. Then I don't know.
|
Mon May 03, 2010 12:21 am |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
Re: Three Team Skirmish Battle
You must duplicate the files of the wanted soldier and in the duplicated file you set his team to -1( wildlife ) , then change his name.EX:
original: Dafred Duplicated: DafredX
if something it's wrong I'm sorry.
|
Mon May 03, 2010 12:22 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Three Team Skirmish Battle
Code: AddActor = AHuman [or ACrab] CopyOf = Dafred [whatever the presetname is for your actor] PresetName = DafredX [Change the name] Team = -1 Buyable = 0 [so you can't buy this unit in buy menu]
|
Mon May 03, 2010 2:29 am |
|
|
Collective
Joined: Wed Mar 03, 2010 11:29 pm Posts: 122
|
Re: Three Team Skirmish Battle
Line 1 is
|
Mon May 03, 2010 11:06 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Three Team Skirmish Battle
Upload the file please?
|
Mon May 03, 2010 11:24 pm |
|
|
Commodore111
Joined: Sun Oct 11, 2009 7:47 pm Posts: 132
|
Re: Three Team Skirmish Battle
Use lua. It's simple, just set team to -1 in create event. Done. Code: function Create(self) Self.Team = -1; end
|
Tue May 04, 2010 1:29 am |
|
|
Collective
Joined: Wed Mar 03, 2010 11:29 pm Posts: 122
|
Re: Three Team Skirmish Battle
Here's the file.
|
Tue May 04, 2010 2:10 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Three Team Skirmish Battle
You dont have proper Tabs, it should look like this: [sorry for no tabbing earlier, cannot tab >.<] Code: AddActor = AHuman CopyOf = Soldier Light PresetName = Soldier Light Wild Team = -1 Buyable = 0
|
Tue May 04, 2010 3:24 am |
|
|
Collective
Joined: Wed Mar 03, 2010 11:29 pm Posts: 122
|
Re: Three Team Skirmish Battle
Same message. Error in line 1.
|
Tue May 04, 2010 4:25 am |
|
|
Miles_T3hR4t
Joined: Mon Jun 04, 2007 5:55 am Posts: 1627 Location: Ohio
|
Re: Three Team Skirmish Battle
dragonxp wrote: You dont have proper Tabs, it should look like this: [sorry for no tabbing earlier, cannot tab >.<] Code: AddActor = AHuman CopyOf = Soldier Light PresetName = Soldier Light Wild Team = -1 Buyable = 0 Teams are 0 (red), 1 (green), 2 (wildlife) 3 (???) Unless things have changed which I see no reason they should have.
|
Tue May 04, 2010 5:50 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Three Team Skirmish Battle
teams are 0 red 1 green anything else "wildlife" (hostile to everything)
|
Tue May 04, 2010 6:33 am |
|
|
CCnewplayer
Joined: Wed Feb 24, 2010 11:00 pm Posts: 255 Location: Unknow
|
Re: Three Team Skirmish Battle
Working : Quote: AddActor = AHuman CopyOf = Soldier Light PresetName = Soldier Light Wild Description = Wild coalition. Buyable = 0 Team = -1 worked with me , CC aproved.
|
Tue May 04, 2010 4:15 pm |
|
|
Collective
Joined: Wed Mar 03, 2010 11:29 pm Posts: 122
|
Re: Three Team Skirmish Battle
Was there anything else wrong with my files? The error is still coming up.
|
Tue May 04, 2010 10:06 pm |
|
|
onerb
Joined: Fri Apr 09, 2010 2:33 am Posts: 7 Location: Brazil
|
Re: Three Team Skirmish Battle
hey man im interested in playng this activities too but i having the same troubles,i ask that anyone that can play this 3 team skirmish battle,post the working files here.
|
Thu Jun 03, 2010 3:52 am |
|
|
|