Thanks
, Iāll try the script tommorow cause its already late.
game crashes when loading map
What should be the name of the script, mapname.script ot just mapname? When i tried the first one i think it didnt load the script, when i tried the second name it kept awaiting connection and then i got the windows error message āthis application encountered an error and needs to close, we are sorry ā¦ā.
The script name should be the same name as your map. Ex: my map is named ebe.bsp so the script name is ebe.script. Also the .script file has to be in the maps/ directory! Not in the script/ dir.
If the engine canāt find the script it wonāt crash, itās just that nothing that is linked to scripts will work. Like if you have a constructible, it will almost build the construction but the components will not disappear (since that part is controlled in the script file). At least thatās how it works here. 
But the game doesnt load the script, i got the .script file in the /maps folder and when i play the map the constructible does what u wrote and also the match time and spawn times are default.
Iāll probably never get this working on my own so if u could plz download the map and have a look at it i would be very glad.
http://www.mpomsar.szm.sk/stranky/MaZ%20clan/untitled2.htm
You map can load fine if you comment/remove those two lines:
// wm_number_of_objectives 0
// wm_setwinnner 0
I donāt use venice in my development install so those textures are missing. Make sure you ask chavo_one if itās ok to use them!
Second, I think 6 hits for a window is too much⦠but thatās just me.
Third⦠You have about 20 duplicate planes/bad brushes in your map. I suggest you use the brush clean up button. (The button with a recycle kind of logo).
The damage on the electrical fence is way too fast. By the time I realized I was getting hurt, I was deadā¦
I know this is your first map but donāt give up. Itās a starting point. You should read tutorials extensively and search for VIS blocking.
The map was made for me and my friends and i wasnt planning to release it publicly. If iāll ever decide to release it i will change them.
Chavo_one made that map? I think its a great map and i love it 
The windows have the default health, dunno why i didnt change it. Maybe because i feel more safe in a house with hard-to-break windows. :lol:
Iāll have a look at the brushes.
Iāll lower the fence dmg to 10 per sec (its 15 now).
I have no idea what vis blocking is but as you suggested iāll search for some tutorials.
Thanks for all the help MadJack. 
One last question, did the buildable ladder work?
Well i removed the things u posted from the script and still same thing happens, it doesnt load the script. I got the maz.script in the /maps folder along with maz.bsp.
How can it not work? 
Well, it did work here.
Why do you say the script doesnāt load? Do you still crash?
I was able to build the ladder (thatās where I got electrified) and go into the building in the middleā¦
The map loads but the script doesnt.(the construction boxes dont disapear when i build ladder, spawn times are defaultā¦)
Now thatās because your tagetname/scriptname have to be identical to those in the script. Donāt forget that I changed the āallies ladderā to āallies_ladderā. It HAS to be the exact same thing in the map/entities.
As for spawn times, itās done using those in the game_manager scriptblock of the script:
wm_axis_respawntime <TimeInSecs>
wm_allied_respawntime <TimeInSecs>
I renamed the target names before but the reason why it didnt work was that the script name was maz.script.script :banghead:
It works now but the ladder is already constructed when i start map and it isnt supposed to be there. Everything else is as it should be (construction boxes disaper after i build the ladder - its actually built twice)
Edit: i fixed the ladder problem and now everything works fine. 
