Company of Heroes: Eastern Front

Author Topic: Hello, i need abit help  (Read 5167 times)

Offline BattleCry

  • Ingenery
  • *
  • Posts: 6
    • View Profile
Hello, i need abit help
« 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?

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Hello, i need abit help
« Reply #1 on: April 12, 2010, 05:00:23 PM »
Hmmm just take a other one.
I identify as a four-eyed bird man. /s

nbeerbower

  • Guest
Re: Hello, i need abit help
« Reply #2 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.

Offline BattleCry

  • Ingenery
  • *
  • Posts: 6
    • View Profile
Re: Hello, i need abit help
« Reply #3 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?

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Hello, i need abit help
« Reply #4 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.
« Last Edit: April 18, 2010, 02:55:37 PM by walki1 »
I identify as a four-eyed bird man. /s

Offline BattleCry

  • Ingenery
  • *
  • Posts: 6
    • View Profile
Re: Hello, i need abit help
« Reply #5 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. ::)

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Hello, i need abit help
« Reply #6 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.
I identify as a four-eyed bird man. /s

Offline funnyme

  • Strelky
  • **
  • Posts: 82
    • View Profile
Re: Hello, i need abit help
« Reply #7 on: April 20, 2010, 08:28:47 PM »
Hi,

Reference :-Nobodys Quote from Relicnews
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
Ten soldiers wisely led will beat a hundred without a head.

Offline BattleCry

  • Ingenery
  • *
  • Posts: 6
    • View Profile
Re: Hello, i need abit help
« Reply #8 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 [nofollow]
« Last Edit: April 24, 2010, 12:07:56 AM by BattleCry »

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Hello, i need abit help
« Reply #9 on: April 21, 2010, 04:14:33 PM »
I think more people will play it If you make a new Thread :P
I identify as a four-eyed bird man. /s

Offline BattleCry

  • Ingenery
  • *
  • Posts: 6
    • View Profile
Re: Hello, i need abit help
« Reply #10 on: April 22, 2010, 06:15:46 PM »
Walki1, i will do it. Thanks again