Czarny
Member-
Content Count
16 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout Czarny
-
Rank
Private First Class
-
Yes You have right. My mistake.
-
OK. My script is now working!!! This is universal lap counter (witch 12 checkpoint): _el=0 _wl=0 #update if (e1&&e2&&e3&&e4&&e5&&e6&&e7&&e8&am p;&e9&&e10&&e11&&e12) then {_el=_el+1; goto "loop_east";} if (w1&&w2&&w3&&w4&&w5&&w6&&w7&&w8&am p;&w9&&w10&&w11&&w12) then {_wl=_wl+1; goto "loop_west";} goto "update" #loop_west if (_wl<5 && _el<5) then {titletext [Format ["west: %1 lap - east %2 lap", _wl, _el],"plain down"] } if (_el>4 || _wl>4) then {goto "end"} w1=false w2=false w3=false w4=false w5=false w6=false w7=false w8=false w9=false w10=false w11=false w12=false goto "update" #loop_east if (_wl<5 && _el<5) then {titletext [Format ["west: %1 lap - east %2 lap", _wl, _el],"plain down"] } if (_el>4 || _wl>4) then {goto "end"} e1=false e2=false e3=false e4=false e5=false e6=false e7=false e8=false e9=false e10=false e11=false e12=false goto "update" #end if (_wl>4) && (_el<5) then Titletext ["player WEST win","plain"] if (_el<5) && (_wl>4) then Titletext ["player EAST win","plain"] exit Thanks all people for help (many thanks for Matthijs). Suma: 1. if (condition) then { something; something; if (condition)then {something};} dosn't work. 2. I must to say that: this script language is weird (stupid?) and unintuitive. I hope You coded OFP in some more friendly one. 3. Thank You for link, but this is not enough i think. Geetings.
-
this is my script after rebuilt: _el=0 _wl=0 #update ? (e1) &&(e2)&&(e3)&&(e4)&&(e5)&&(e6)&&(e7)&& amp;(e8)&&(e9) &&(e10) &&(e11) &&(e12) : {_wl=_wl+1; goto "xxx";} ? (w1) &&(w2)&&(w3)&&(w4)&&(w5)&&(w6)&&(w7)&& amp;(w8)&&(w9) &&(w10) &&(w11) &&(w12) : {_wl=_wl+1; goto "xxx";} goto "update" #xxx ? (_wl<5) && (_el<5) : Titletext [Format ["west: %1 lap - east %2 lap", _wl, _el],"plain down"]; ? (_el>4)||(_wl>4) : goto "end" w1=false w2=false w3=false w4=false w5=false w6=false w7=false w8=false w9=false w10=false w11=false w12=false goto "update" #end ? (_wl>4) && (_el<5) : Titletext ["player WEST win","plain"] ? (_el<5) && (_wl>4): Titletext ["player EAST win","plain"] exit And of course it dosn't work. Uhhh...
-
Script after corrects still dosn't work but i have next questions: 1. Is such construction allowed: ? (condition): { something; something; ? (condition): something;} I mean are nested conditions' loops allowed? 2. I have two variables x and y. _x==1 - is this comapre value x with 1? y==1 - is this compare adress y with 1? 3. I have in trigger expression x=true. Is: if(x) then ..... is correct notation? I mean is "true" frase equal to "1" or something like this? I have propossition: maybe someone from BIS should to release some publication with correct notations? According to conditions in brackets i know this is standard notation in c++.
-
I've wrote this script (this is lap counter in "race mission"): _el=0 _wl=0 #Update ? (e1==1) &&(e2==1)&&(e3==1)&&(e4==1)&&(e5==1) &&(e6==1)&&(e7==1) &&(e8==1) &&(e9==1) &&(e10==1) &&(e11==1) &&(e12==1): { Â Â Â Â Â Â Â Â _el=_el+1 _e1=0 _e2=0 _e3=0 _e4=0 _e5=0 _e6=0 _e7=0 _e8=0 _e9=0 _e10=0 _e11=0 _e12=0 Â Â Â Â Â Â Â Â } ? (_w1==1) &&(_w2==1)&&(_w3==1)&&(_w4==1)&&(_w5==1) &&(_w6==1)&&(_w7==1) &&(_w8==1) &&(_w9==1) &&(_w10==1) &&(_w11==1) &&(_w12==1) : { Â Â Â Â Â Â Â Â _wl=_wl+1 _w1=0 _w2=0 _w3=0 _w4=0 _w5=0 _w6=0 _w7=0 _w8=0 _w9=0 _w10=0 _w11=0 _w12=0 Â Â Â Â Â Â Â Â } ? (_el>4)||(_wl>4) : goto "End" ? (_wl<5) && (_el<5) : Titletext [Format ["west: %1 lap - east %2 lap", _wl, _el],"plain down"] goto "Update" #End ? (_wl>4) && (_el<5) : Titletext ["player WEST win","plain"] ? (_el<5) && (_wl>4) ; Titletext ["player EAST win","plain"] exit e1....ex and w1...wx are a checkpoints, el and ew is number of lap each of two players, there are 5 laps to go My problem is I don't know construction of "if" loop. It seems in this script language this one is little bit different than in c++. My ignorance couses that foregoing script stright away generate "player EAST win". Why? Where is error?
-
I didn`t say that I played in MP without protocols. I said that I tried to play. And when I tried I lost partition.
-
I forget about it. No, I have Seagate 40 GB (I think that U6). My proposition: Maybe somone can verify my earlier theory about playing in MP without LAN card and installed protocols (but this can be dangerous)?
-
I know about scandisk`s abillities and FAT`s properities. I know, this is wear (and I think difficult) when something delete system without any defence reaction of Win. You have absolutely right. Something is wrong with my system: this is Windows98 :) But... all people in my country have it. I use this copy of Win for couple year. Earlier I played in MP mode without any problems. But then I had LAN card. When I lost twice this poor data I hadn`t. Maybe here is a problem?
-
Well... no viruses, no disc errors. I am curious what happend too (and little bit sad). When I`ve run this damned MP mode then on my monitor appeard "Wait" or something (I dont know because I have polish version as I said and in polish it is "poczatek odliczania") and hard disc was still working (without any progres on monitor). After 2-3 minutes I shut down the game (in first time using reset - and there was FAT error). Now on my disk are directories OperationFlashpoint, Windows, Program Files/NortonSystemWorks with only couple files. I have second partition too but (thanks God!!! she is in good condition.
-
I have very strange problem. Today when I run OFP Resistance 1.91 in MP mode I`ve lost whole my data on C:\ partition second time!!! Earlier I`ve lost c:\ when I run MP mode in wersion Resistance 1.75. I have polish version OFP and run it under Win98. I have not installed any internet protocols (during I run MP mode I was just curious how game is work). My hardware: Duron 1 GHz, GeeForce MX 2, 512 RAM, mainboard ECS KVS5A with integrated soundcard. Sorry for my english.
-
I`ve the sane problem but it concern files "music.pbo" or "1985.pbo" and "resistance.pbo" (when I change campaign who I would like to play). Solution is simple: FREE RAM. To do it I use MemTurbo. In my configuration (512 RAM and approximately 800 MB AddOn folder) I need circa 300-350 MB RAM to easy work. This solution help when I see message error on the begining, during load game`s files (splash screen). The second case (change campaign) I solve launch both version OFP (1.46 and Resistance). Sequence depends on campaign who I played earlier. It is connect whit couple of crashes but in generally method works Sorry for my english.
-
I have version 1.46, and my laser designator had exactly the same parameters like Carl (including ammo, description and others), but soldier has no weapons in hands and on back. I had checked laserdui.pbo (or something familliar) and there was "weapon class" Carl Gustav too. This Gold Upgrade is commercial product. I bought it in shop. My 1.46 patch is accurately from this page.
-
I have polish version OPF and I don`t know where I can find patch with laserguide (alllows infrantry to guide rockets on target). I had some Gold Upgrade, but there was laserguide with was called Carl Gustav (like this anti-tank missle launcher) and looked like CG. When I used this weapon with sight, my soldier turned around. I think that this isn`t normal. My friend told me that laserguide looks like rucksack. But where can I find patch with it?
-
This mission is very simple (you can finish it in 10 min.). You must go through forrest (ne direction - i think that is right) to ocuppied (red) zone (when you are in right place Armstrong will say something). Wait until you will here about end evac zone (approxim. 5 min.) and go to the building (near BMP - watch out!. There are two cars. Take one of two (better civilian, he is faster), and go... Thats all. Of course BMP might destroy your car but he do it rarely. [sorry for language ]
-
Is anything what allows drop (leave) weapon (for example LAW Launcher)? I wonder why I can`t do this (or maybe I don`t know about something?) in this "soldier`s simulator".