Metal Heart
Member-
Content Count
1019 -
Joined
-
Last visited
-
Medals
Everything posted by Metal Heart
-
Remove quotes from 40, they are used on strings (like player sidechat "Oh no! Two is down."), not numerical values.
-
Creating map objects on the fly
Metal Heart replied to Metal Heart's topic in OFP : MISSION EDITING & SCRIPTING
I found out that there's road 'objects' when using Keg's editor update, tried createvehicling them on water and into air but they stick to the ground. Also, I don't think they have collision layer so they can't be used as a runway other than on the ground (for which I did find use btw ). -
An idea I had while thinking about making an air combat mission... could you createVehicle 'road' object assuming you knew what is such object's name? They are objects right? And how does one get those objects names without too much trouble (like de-pboing islands and stuff)? I think I can figure out this my self but it would take some time and I bet someone has tried this, so save me from the trouble please. Like this on a gamelogic but make road instead of bridge object: n=0; while "n<20" do {bridge = "KEGres_House57" createVehicle [getpos this select 0,(getpos this select 1)+n*50,getpos this select 2]; n=n+1} edit. Pfff I got names like silnice10 silnice25 etc but createvehicle doesnt create them, probably because they are not vehicles of course.
-
Looks nice, unfortunately ofp.info ftp seems to be not working. Is cloak, weapons etc MP compatible?
-
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
No, exactly the opposite. When you do ?player==pilot1 : actid01 = computer addaction ["Run script","script.sqs"]; Only client that is pilot1 sees the action, I was right in the first place but then I read some old threads about the subject which had wrong information. Note that I might still be wrong as I tested it only with dedicated server by server-side addaction but I'm quite sure it works. -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
No problem. Oh and by the way, I just tested this, the addaction command is local so the ?player==pilot1 thingy will work, just remove the extra addaction commands you had there. -
How to realize a list of all unit?
Metal Heart replied to Nicolas Eymerich's topic in OFP : MISSION EDITING & SCRIPTING
Well, it takes just a few copy'n'pastes and changing a couple of letters here and there to make the same command working for multiple groups. How excatly you control those other groups? -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
Oh your passing an object (u prolly have object or variable named obj1, rename it) to something that expects a boolean (true or false variable). I think names obj1, obj2 etc are reserved for the mission objectives but can't remember or check right now. -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
These both execute addaction command: ?player==pilot1 : computer1 addaction ["ENGINES Mi-8MT UN","unengines.sqs"] id001 = computer1 addaction ["ENGINES Mi-8MT UN","unengines.sqs"] So that's 2 times if client pilot1 is on the game. Like I said, I think the actions are always seen by all clients, no matter if only one runs the addaction command (who in this case would be the client that controls unit pilot1). But if it works, then the ?player thingy I suggested first is correct but I'm afraid it's not. And it won't surely work locally if you have this id001 = computer1... because it runs the addaction command on all clients. By local I mean the opposite of global, when some-mp-thing is local it effects only one client where as global effects all clients. For example, running script that fills ammo crate only on one client makes the ammo seen only on the client machine that ran the script, where as only one client running a script that creates some unit, say a tank, everyone sees it. Agghhh... head.. hurts... -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
Yeah, you can cut the ?player checks from addactions because everyone will see the actions anyway. Also you have every addaction two times If the addaction command would be local, the correct syntax (if you need the ids) would be: ?player==pilot1 : id001 = computer1 addaction ["ENGINES Mi-8MT UN","unengines.sqs"] -
How to realize a list of all unit?
Metal Heart replied to Nicolas Eymerich's topic in OFP : MISSION EDITING & SCRIPTING
Something like this called from trigger Radio Alpha for example: n=1;txt=""; {txt=txt+format["%1. %2\nspd=%3 hdg=%4 dmg=%5 wpn=%6\n\n",n,name _x,speed _x,direction _x,getdammage _x, primaryWeapon _x]; n=n+1} foreach units grp1; hint txt; and in groupleader init box type grp1=group this -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
What I meant by addaction being global is... even if a script that adds action to objectX is run only on client1, client2 will see this action anyway when they approach objectX. Maybe you could use the radio menu then, I think only group leaders can execute Radio Alpha, Bravo etc, and you can change their text with 0 setRadioMsg "action1", 1 setRadioMsg "action2". It would be possible to do sub-menus too with a little scripting. If you use triggers with radio commands, they execute on all clients (at least, that's what I think). Or you could use a dialog... This way you could use single addaction on the chopper and each could be set to get a different dialog when they execute action. Or addaction to pilots them selves if they don't sit too close to each other so they won't see each others actions. The scripts might work with commands like setDammage (which is global) but if you have your chopper emitting smoke and making funny noises for example, I think the effects can be witnessed only by the client who triggers the script. But hey, if you already took all the locality stuff into consideration with the scripts, very, very good job then But always double check everything... it's so easy to get stuff wrong in MP with every other command being somewhat randomly global and local. -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
Never assume some-multiplayer-thing works until you have tested it with multiple players :P I'm quite sure that a script that is run from action menu executes only on the local player, not on all clients. If I want a script to be ran on all clients I use variables like runsmokescript=false -then in action that is supposed to trigger the script do runsmokescript=true; publicVariable runsmokescript; -then place trigger on map with condition runsmokescript and onactivation [] exec "smoke.sqs" If you wan't only certain unit to see some action, do in init.sqs for example: ?player==pilot1 : object addaction ["action","script.sqs"] ?player==pilot2 : object addaction ["action2","script2.sqs"] So pilot1 would only see 'action' and pilot2 only 'action2' edit... now that I thoght of it, maybe the addaction command is global. -
my ctf flag isnt respawning
Metal Heart replied to startrektng74's topic in OFP : MISSION EDITING & SCRIPTING
So just change the messages. What's there, like 4 different messages to change, briefing and maybe make two flag textures if you like. Just DON'T touch the variable names (like westscore, eastscore etc), only messages like TitleText["West scores!","PLAIN"], change to TitleText["TeamX scores!","PLAIN"]. -
OWP CREW AND MI-8 SCRIPT QUERY
Metal Heart replied to Shashman's topic in OFP : MISSION EDITING & SCRIPTING
'_this' variable passed to the script by 'action' is an array instead of just the object/unit so it doesn't work. I'd make a second script that that calls the helmet script with proper syntax. Something like this: Save this to mission directory as helmet.sqs: <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 exec "\OWP_Crew\helmetin.sqs" And use unit_name addAction ["Put on flight helmet", "helmet.sqs"] Do you have them set 'repeadetly' instead of 'once'. -
Nobody knows for sure except BIS but... If your computer is crap, no big battles. If your computer is good, big battles. Got a good dedicated server on LAN, mucho grande battles. Buy a decent mainframe and fund a couple years of developement out of your own pocket, army vs army simulator.
-
Last mission in OFP(capture Guba) What did you do?
Metal Heart replied to Mogley's topic in OPF MISSIONS
First killed enemy infantry nearby to the east and captured Guba on the northern road without problems. Then drove the uaz alone to the Scud along the same road like crazy (with some tanks near the military base shooting at me). Didn't destroy it (I had wasted all my rockets to the shilkas etc guarding it), but sneaked in from the northeast side and killed the guy on the drivers seat (guarding t80 was still alive). -
If by most awesome you mean most ridiculous, then yes. IMO, that kind of ragdolls would not fit ArmA. I'd like either realistic or no ragdolls at all. Don't get me wrong, I loved MP2 for the short time it took to finish it with every difficulty level (without any quick saves of course, only one of the levels was really difficult ) And the first MP was ok too.
-
I still don't see what's your problem with the current system, $kelet0r. You can save as much as you want with the savegame cheat (hold left ctrl & shift & press numpad minus, then type savegame). And the difficulty settings: Cadet mode: easier missions (usually means less opposition). 3rd person view: let's you see further, over the hills & around corners Extented armor: you can take more hits without dying etc... edit... Sorry, I was wrong. It's "only" 2^12 + 2^6 = 4160 different combinations of difficulty.
-
Well if you give them that next they'll be asking health & armor pick-ups Å• la Doom, fixed crosshair, swimming with full gear and bunnyhopping. Not to mention the Magik Backpack From Dimension X that can suck in up to a ton and a half of weapons and equipment. You gotta draw the line somewhere unless you want to end up with the online community from Hell (the l33t pwnrs that say "u hax u fucking n00b i gonna pwn ur gay cheator ass" etc).
-
Well there's the cadet mode, extented armour, 3rd person view, map markers, bullet tracers, extented hud info etc, so that's not exactly true. Making things like unlimited quick saves would ruin the atmosphere and challenge completely, how can you fear of dying if it doesn't cost you nothing but one key press? Maybe for some people.
-
You can export the registry entries to a file and then import them back in, I've done it when I reinstalled XP and it works. However, if you need to reinstall OFP too, you'll need the cd-key. Or it might be possible to copy the files manually from the cds and you could also install it with a friend's cd-key and change it back to yours after installation (with the .reg-file).
-
Almost certainly, isn't X-box memory only 64 mbs. I think that if ditches, trenches etc are included, they will be objects rather than actual terrain. Other wise the terrain data would be way too heavy because of the high resolution required combined with high view distance and huge land masses. This would be good enough as long as the collision detection is fixed so that soldiers and vehicles may interact with them without getting stuck and so on.
-
Hopefully there will be a really good cd-key protection and a portal system or something like that so that tkrs and cheaters can only play on pirate servers. It would be really sweet to have global bans on the cheaters or people that systematicly ruin games on purpose so they'd at least have to buy a new copy of the game to get back into public servers once their cd-key is banned.
-
I'm sure you know Itweas Ninjas addon, what's wrong with their swimming? They can't dive but they sure can swim acceptably (among other things).