Company of Heroes: Eastern Front

Eastern Front Mod (Read-Only) => Mapping => Topic started by: BattleCry on April 07, 2010, 11:17:25 AM

Title: Hello, i need abit help
Post by: BattleCry on April 07, 2010, 11:17:25 AM
Hello, i made this forum account simply because i knew here is alot of skilled mappers who could help me to figure out some things. I dont know if i shouldnt make this new topic here but well anyways....
I would like to know if anyone knows how to make bridges indestructible. This is because when i go in game and i destroy arnhem bridge it just disappears ,no way to rebuild it. In map editor this bridge name is  Arhnem_bridge_35_00. Is there a way to make it rebuildable or indestructible?
Title: Re: Hello, i need abit help
Post by: Walentin 'Walki' L. on April 12, 2010, 05:00:23 PM
Hmmm just take a other one.
Title: Re: Hello, i need abit help
Post by: nbeerbower on April 12, 2010, 11:36:15 PM
You can definitely use some SCAR on it to prevent that from happening. I just don't remember what it is... but I'm sure you can find it if you do some searching.
Title: Re: Hello, i need abit help
Post by: BattleCry on April 18, 2010, 10:41:39 AM
Nbeerbower, thanks. I think i got it  :P I have another question, How can i change map description which appears under [ Map Info ] in game. I know theres in world builder Scenario-Scenario properties-Description but if i write longer one it cuts it off.How can i add longer than few words map description ?, Could you explain in detail ,please?
Title: Re: Hello, i need abit help
Post by: Walentin 'Walki' L. on April 18, 2010, 11:12:10 AM
1. Go to My Files/Company of Heroes/ww2/Data/Scenarios/MP/

2. Open the file yourmap.info (with notepad)

3. Place your description between the "" of scenariodescription.

4. Save it.

Attention : When you open the map in worldbuilder and then save it again it will be a short text again so you must do this every time you save the map in worldbuilder.

Hope this helps.
Title: Re: Hello, i need abit help
Post by: BattleCry on April 19, 2010, 03:35:29 PM
Thank you walki1 for the quick answer! Your instructions simple and good ,clear as water ,laughs.My map is almost done. Its my first one and -no its not designed for Eastern Front context. But i have one last thing to do what bugs me. How to make out of map area?..I know theres under scenario-Terrain Properties-Horizon Mesh but i cannot find anything what satisfies me.So i am looking for instructions how to make one, what fits with my map. ::)
Title: Re: Hello, i need abit help
Post by: Walentin 'Walki' L. on April 19, 2010, 04:43:29 PM
Hmm. Never found out how to do it. Always found one which fits.

I think It's a kinda model.
Title: Re: Hello, i need abit help
Post by: funnyme on April 20, 2010, 08:28:47 PM
Hi,

Reference :-Nobodys Quote from Relicnews
http://forums.relicnews.com/showthread.php?t=219271 (http://forums.relicnews.com/showthread.php?t=219271)
   
To create an invincible bridge, you have to add a little SCAR code.
1# Create a new file in notepad.
2# Insert this code into the file;

Code: [Select]
import("ScarUtil.scar")
function OnInit()

Invulnerable()

end

Scar_AddInit(OnInit)


function Invulnerable()
EGroup_SetInvulnerable(eg_invincible, true)
end

3# Save the file and rename it to Yourmapname.scar
4# In worldbuilder, open entity group list and create a new group, name it eg_invincible.
5# select the objects you want to make invincible, and add them to the group.

Regards
funnyme
Title: Re: Hello, i need abit help
Post by: BattleCry on April 21, 2010, 12:50:00 PM
Thanks Funnyme ! Great, now i can skip this coding stuff and mess with world builder  ;)
My first map is ready. If you are interested to see it and give suggestions how to make it better then feel free.

http://companyofheroes.filefront.com/file/Tongoland;112991 (http://companyofheroes.filefront.com/file/Tongoland;112991)
Title: Re: Hello, i need abit help
Post by: Walentin 'Walki' L. on April 21, 2010, 04:14:33 PM
I think more people will play it If you make a new Thread :P
Title: Re: Hello, i need abit help
Post by: BattleCry on April 22, 2010, 06:15:46 PM
Walki1, i will do it. Thanks again