| Posted by: BramWasser - Tuesday, October 22, 2013 10:14:34 AM |
|---|
| Hey guys, I encoutered some porblems while modifying custom maps in the world builder. I would like so make a certain building garrison-able, nothing seems to work thus far. Any tips? Greetz |
| Posted by: acidbrain - Tuesday, October 22, 2013 11:19:04 AM |
|---|
| Check the ini file for the unit you want to be garrisonable, the following code has to be in the object code for the unit to be garrisonable. [code] KindOf = STRUCTURE SELECTABLE IMMOBILE GARRISONABLE_UNTIL_DESTROYED [/code] [code] Behavior = GarrisonContain ModuleTag_03 ContainMax = 10 EnterSound = GarrisonEnter ExitSound = GarrisonExit End [/code] The model also needs garrisoned models for the sandbags and such to show up, but if you don't mind about that's ok. If you need more help with it just let me know. Greetz |