tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Aug 3, 2014 18:07:16 GMT 1
Gentlemen, I'm interested if anyone knows how to make fog of war on the entire map?
To clarify: player units can still see enemy troops but the fog of war effect is present. Also if it's done via script what command is for turning it on and what command is for turning it off.
Thanks in advance,
|
|
|
Post by Kevin on Aug 3, 2014 18:17:19 GMT 1
function DebugView() Password( "www.dtf.ru" ); ChangeWarFog(2); -- Noche (Night) SwitchWeather(0) -- La climatologia del mapa es buena (Map's weather is "good") SwitchWeatherAutomatic(0) -- Desactiva cambio automaticos de clima (Automatic weather changes disabled). God(0, 1); Suicide(); end;
At least, those lines are essential for that. If it doesn't work, place the rest.
|
|
tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Aug 3, 2014 21:15:15 GMT 1
function DebugView() Password( "www.dtf.ru" ); ChangeWarFog(2); -- Noche SwitchWeather(0) -- La climatologia del mapa es buena SwitchWeatherAutomatic(0) -- Desactiva cambio automaticos de clima God(0, 1); Suicide(); end;
At least, those lines are essential for that. If it doesn't work, place the rest. Excellent, works like a charm. Thanks a lot Kevin.
|
|
|
Post by Kevin on Aug 3, 2014 23:18:17 GMT 1
You're welcome, buddy.
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,124
|
Post by kaoz on Aug 4, 2014 16:21:06 GMT 1
0 = player 1 = AI 2 = neutral (normally, if you haven't created more parties)
|
|
tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Aug 4, 2014 17:10:45 GMT 1
2 = neutral (normally, if you haven't created more parties)
Ofc, that's understandable. Though even if you have more parties setting it to 2 still achieves the same effect (i guess if there are no units from party two on the map).
|
|
|
Post by Kevin on Aug 4, 2014 17:49:40 GMT 1
0 = player 1 = AI 2 = neutral (normally, if you haven't created more parties)
Sorry for off-topic, but is there any way to set a friendly party with fights against the enemy?
|
|
tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Aug 4, 2014 17:58:20 GMT 1
Kevin as far as i know there is no way for ground forces. Airforce can be assigned. In fact you can place player 2, 3, 4, 5 etc units on map but they can't be seen when you start the map. Only thing that comes to my mind is to use change player command (i haven't tried that), so it might be possible by using it.
|
|
|
Post by Stanenberg on Aug 4, 2014 18:02:24 GMT 1
There are several maps that use "a friendly party who is fighting the AI", for example the 22th June map in Motherland calls or the 2nd Map in the Strafbat-mod. I am not a pro in these things and actually don't know how it is working but maybe taking a look on one of these maps will help
|
|
|
Post by Kevin on Aug 4, 2014 18:05:14 GMT 1
Thanks tedi88. Stanenberg, would you mind providing a link to that map?
|
|
|
Post by Stanenberg on Aug 4, 2014 19:46:08 GMT 1
Hi Kevin,
Here is a link to the Shtrafbat mod. The 2nd Mission is an example for "neutral" troops supporting the player. There are 2 tanks supporting the player by just rolling with his infantry but the player cant control them himself (quite a cool idea if you ask me ; the 3rd player that was supporting you was one of the features is really liked in BK 2 and I really miss in BK 1). In GZM 7.77 is also one mission that is in the custom missions where your vehicles are out of fuel at some point. They get neutral as well, but they still fight the enemy. This feature is included in several GZM missions, in case you have the 7.77 version for GZM .
Shtrafbat download
Just unpak into your mods folder.
greetings, Stanenberg
|
|
tedi88
General
Blitzkrieg State Prosecutor
Posts: 1,228
|
Post by tedi88 on Aug 5, 2014 16:26:09 GMT 1
|
|
|
Post by Kevin on Aug 5, 2014 16:29:22 GMT 1
Thanks Stanenberg. I'll try it out as soon as possible. Is it possible for you to upload a WIP of those friendly tanks? Do they fire against the enemy?
|
|
|
Post by Stanenberg on Aug 5, 2014 17:20:21 GMT 1
I am noobish again...What is a "WIP"?? These tanks do indeed fire at the enemy. They are no "special units". Its all just done by party settings...but I still haven't understood how...
|
|
|
Post by Kevin on Aug 5, 2014 17:44:03 GMT 1
I am noobish again...What is a "WIP"?? These tanks do indeed fire at the enemy. They are no "special units". Its all just done by party settings...but I still haven't understood how... WIP equals, more or less, to what we call a "screenshot". It's a supa' cool word for that. I was asking you for a picture of those tanks and, if possible, the map ID or name. OK, if they fire at the enemy we are following the right path.
|
|