klavan
Member-
Content Count
528 -
Joined
-
Last visited
-
Medals
Everything posted by klavan
-
Chopper area suppression script
klavan replied to klavan's topic in OFP : MISSION EDITING & SCRIPTING
MMMMHHHH..... Actually my script runs like Wadmann's one with the onmapsingleclick. It features the Inv Traget addon as well, and all seems ok. The problem is to force the chopper(s) to continue to fire while mantaining the same velocity and nose angle to create a corridor of fire. If the target is destroyed the units disengage immediately and the same result is obtained changing setcaptive status and moving the target elsewhere. Maybe the solution is to use disableai command, but this may lead to a radical re-thinking about the script structure. However this is the version I'm actually testing <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> bersaglio setcaptive true player sidechat "Mosquito, this is Shepherd One. We need area fire. Over." ?!canmove atk1 && !canmove atk2 : goto "Badend" _pos = _this select 0 #Continue onMapSingleClick {} ;_fake = "LesIAETA" CreateUnit [_pos, fake] "target" setMarkerType "destroy" "target" setMarkerPos _pos bersaglio setPos [(_pos select 0),(_pos select 1),0] atk1 RemoveMagazine "MachineGun30" atk2 RemoveMagazine "MachineGun30" atk1 RemoveMagazine "HellfireLauncher" atk2 RemoveMagazine "HellfireLauncher" leader hotel doMove _pos atk2 dofollow leader hotel atk1 dotarget bersaglio atk2 dotarget bersaglio atk1 setcombatmode "red" atk2 setcombatmode "red" atk1 dofire bersaglio atk2 dofire bersaglio hotel setformation "stag column" ~4 ?chiamata : goto "Salta" chiamata=true ;leader hotel sideradio "Sup2" leader hotel sidechat "Sheperd One, this is Mosquito. Incoming and thirst for blood! Over." && goto "Inizia" #salta ;leader hotel sideradio "Sup3" leader hotel sidechat "Roger, Shepherd One. Incoming. Over." #Inizia @(leader hotel distance bersaglio) <= 800 atk1 addeventhandler ["fired",{[atk1] exec "Spostamento.sqs"}] atk2 addeventhandler ["fired",{[atk2] exec "Spostamento.sqs"}] @!(alive bersaglio) ~6 #Next atk1 setfuel 1 atk2 setfuel 1 ;leader hotel sideradio "Sup4" leader hotel sidechat "Mosquito to Shepherd One. We're leaving the area. Over." "target" setMarkerType "empty" atk2 dofollow leader hotel leader hotel domove getmarkerpos "partenza" hotel setformation "wedge" ~60 atk1 AddMagazine "MachineGun30" atk2 AddMagazine "MachineGun30" atk1 AddMagazine "HellfireLauncher" atk2 AddMagazine "HellfireLauncher" 4 setradiomsg "Air Support (Area)" exit #Badend ~4 "target" setMarkerType "empty" ;papabear sideradio "Sup5" papabear sidechat "TF21 to Sheperd One. We lost radio contact with Mosquito. Consider it gone. Over." deletevehicle support1 deletevehicle support2 exit Note that this is a veryvery rough version. Follow the addeventhandler-related script: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _unit = _this select 0 _unit fire ["ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38"] bersaglio setdammage 0 ~3 _unit fire ["ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38"] bersaglio setdammage 0 ~3 _unit fire ["ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38"] bersaglio setdammage 0 ~3 _unit fire ["ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38", "ZuniLauncher38"] bersaglio setdammage 0 bersaglio setcaptive true _unit dotarget objnull bersaglio setpos [((getpos bersaglio select 0) +200),((getpos bersaglio select 1) -200),0] exit As i said before, both the scripts are rough. I've tried various combinations of commands, but nothing. maybe this can help in create something new and interesting. Thanks for your help. -
Probably you're not aware of the incidents that happened last sunday during the regular league. Violence exploded before, during and after some matches....And that wasn't the first time... Violence in Italy is not uncommon in italian stadiums, the surprise is that those incidents happened at Milan, during a derby.... This is one of the cause I'm beginning to dislike football. Anyway I'm happy for my team: Milan.
-
FlashFx Units Replacement pack 5.0!
klavan replied to Thunderbird's topic in ADDONS & MODS: COMPLETE
OK, first off this is a great mod: i'm actually replaying CWC campaign and all i can say is that this is like playing a different and much better game. But, i'm experiencing a strange and frustrating happening for every mission that need the use of the M60 tank. At one point the screen becomes black and even if the crew still continue to receive and obey my orders i can't see nothing! Sometimes i can get out of the tank and every time the discover is always the same: my tank looses it's turret!!! Yesyesyes, probably it's a bug caused by the addon, but i think i'm doing the right thing to notify this weird happening to you all, just to know if someone else experienced the same thing....that prevent me to complete the mission!!! BTW....FFUR RULES!!! -
I agree with ag-smith: beautiful island, but it reminnd me more a big luna park than a place where to setup some missions. This isle is a floating base..... However it looks nice!
-
Another idea: during the insertion there could be some random events like an ambush to the vehicle carrying the player squad or a chopper breackdown during the fly with a forced landing in enemy controlled territory. Another feature: the chance for the player to fill the lost of the dead squadmates with "fresh meat", maybe with an additional cost in terms of score.
-
SOUTH OF HEAVEN Â Â Â Â Â Â Â Â Â Â Â Â Â Â . An attempt to mix horror, action and atmosphere. Here's the latest version: Â Â Â http://digilander.libero.it/klavan/readme.htm You can take a look to the readme file (links to addons included) before download it (it's a 13MB size mission). Try it and give me your opinion. Thanks
-
Are you sure? The fileplanet d/l page contain links to server didicated both for registered users and for unregistered ones. I've checked it as I've red your post.
-
Thanks for your suggestions. Actually the mission use the original Afghanistan V3 island, but I'm currently working on the v0.3beta of the mission, which will feature (again) lesser and shorter cutscenes and will probably use the update version of the island: it was 95% complete, when AGS released the new version, so I've decided to released as it was, cause of some changes of the new island version. Thanks again.
-
@Desiato Maybe this game is not the game for you! Try something different (and better) if you can...
-
I'm note sure this is the right thread, anyway as I'm editing a mission.... Where I can find something like that? Better if the file is not too much heavy, as the mission size is just over the 10MB, due the custom music/sound already included... Thanks in advance for any help.
-
EHEHEH! Just what I need! A couple of your stuffs will be included in the mission, Hit_Sqd_Ack! Thanks!
-
Thanks Hit_Sqd_Ack! Check your mail.
-
Milan 1 - 0 Manchester United MUUAHAHAHAHAHAHAHA!!!!!! Hernan Crespo Leads The Way!!!
-
These are the first words I had never read about... Are you saying that there should be a minimun limit for setviewdistance? I don't know if something happened "behind the scene" during my attempt....
-
You must add the transition time before: e.g.: 200 setfog 0.5 Where 200 is the amount of time in seconds before the transition is complete. The same for setovercast.
-
The first time I ran it, my PC freeze and I was forced to restart it. In the second attempt I had put a trigger with setviewdistance at 200, setfog at 0.5 and setovercast at 0.5 and all ran well. With this conditions I've no experienced heavy lag and all the isle was visible to me. But my dubts still remains....
-
Very beautiful, but I consider it as a "demonstrator", as it seem too small even for the smaller training scenario. In addiction, if I think to a larger island with the same detailed resolution I can't avoid to imagine it as a lag-inferno.... Anyway, very nice island.
-
Thanks, Lady.
-
Great work, AGS. I've played around the island and It's sure a great improvement. The only thing that "hurt" me are the few things (rocks, waterpools) that were be moved here and there.....They're just the  same that serves me in the mission I'm currently editing, damn! I'm not sure what to do: modify the mission or still use the old version of the map.... The huge rock hill with ladder near Herat is moved west from the original position, half in the mountain and half in the air... However, this remain a great improvement. Sorry for my english!
-
Great work! Thanks Sanctuary!
-
Great work Sanctuary! Your animations rules!
-
Hi all. I've downloaded BAS Tonali islands some days ago, but I can't run the larger one, as the PC crashes to desktop every time. This not happen with the minor island. This is the error message I receive every time: Out of reserved memory (2621444 kb) Code change required (current limit 524288 kb) Total free 287291 kb Fre blocks 286, max free size 192514 kb My PC is a P4 3ghz with 1 giga RAM and ATI Radeon 9600 (with last drive version installed) The overall settings of my OFP are quite high. Thanks in advance for any help.
-
More clear than that is impossible! It was only my personal curiosity, as I believed -nomap was only for the map-cutscene on start and -nosplash for the intro.... Thanks jens.
-
All the addons stored in the Addons folder in the OFP directory?