I´m adding Hero Assault mode to a map, and I want to use the same CPs I use in conquest mode, so I load the conquest layer with ReadDataFile("dc:KOR\\KOR.lvl", "KOR_conquest") in my eli lua. It works fine, except that the CPs are capturable. Is there any way of loading in hero assault the same bases from the conquest layer but making them uncapturable?
Thanks
Load CPs from conquest layer in hero assault mode [Solved]
Moderator: Moderators
- martin105038
- First Lance Corporal

- Posts: 126
- Joined: Wed Jul 15, 2009 2:28 pm
- Location: Argentina
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Loding CPs from conquest layer in hero assault mode
Yep, put a DeactivateRegion("cp's_capture_region") line in your LUA for each capture region.
I think. Not actually exactly sure if that'll work.
I think. Not actually exactly sure if that'll work.
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Loding CPs from conquest layer in hero assault mode
You could just load two different layers and not make a capture region for assault in Zero Editor.
- martin105038
- First Lance Corporal

- Posts: 126
- Joined: Wed Jul 15, 2009 2:28 pm
- Location: Argentina
Re: Loding CPs from conquest layer in hero assault mode
I tried this, but it didn´t work.Fiodis wrote:Yep, put a DeactivateRegion("cp's_capture_region") line in your LUA for each capture region.
I think. Not actually exactly sure if that'll work.
Yes, you´re right, the problem is that I´m using 8 CPs in conquest and I wanted to use the same 8 CPs in Hero assault.fasty wrote:You could just load two different layers and not make a capture region for assault in Zero Editor.
EDIT:
I fixed it using SetProperty("cp1", "CaptureRegion", ""). Thanks for your help
