Jump to content

InqWiper

Member
  • Content Count

    1299
  • Joined

  • Last visited

  • Medals

Everything posted by InqWiper

  1. InqWiper

    Decrease accuracy

    I would try this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _m=3 ? (_range >= 1000 AND _range < 3000) : _kosa = -9*_m + random 18*_m ? (_range >= 3000 AND _range < 6000) : _kosa = -30*_m + random 60*_m ? (_range >= 6000 AND _range <= 8000) : _kosa = -60*_m + random 120*_m And modify _m until you have the spread you want. Since this is the part of the script you posted and it looks like the part that defines spread Im assuming it is. If you dont notice any difference its probably not Â
  2. InqWiper

    New players spawn in water...

    How about adding this to the init.sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ~0.01 ?vehicle player==player:player setpos markerpos "respawn_west" The idea is to move the player to the marker on the beach if the player is not in a vehicle (in the water instead of in a boat). The delay should give the player time to be moved inside a boat so not all are just placed on the beach without getting a chance to use the boats. -edit or make sure there is always a boat near the start and use moveincargo and nearestobject.
  3. InqWiper

    Attaching camera to aircraft

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">?!(player in list TriggerName):exit
  4. InqWiper

    Multi-National Force Iraq YouTube Channel

    Unfortunately those comments seem to be on all video sites,not that Ive been on half  I think there needs to be more administrating and banning (probably the first time someone says that on this forum lol . )
  5. InqWiper

    Multi-National Force Iraq YouTube Channel

    Thanks for the link but I think youre in trouble now Â
  6. InqWiper

    Add Actions and vehicles

    It says createVehicle is global so I think it should work.
  7. InqWiper

    Add Actions and vehicles

    Can you not createunit a flare?
  8. InqWiper

    Add Actions and vehicles

    I think the addaction command is local so you could have the action added to the heli only on the pilots computer. If (player==pilot1) then {heli addaction ["Flare","Flare.sqs"]} Not tested.
  9. If you want to create a circle killzone with the radius of 30 or something...why dont you place and object in the middle of the killzone and use a camera with relpos to place the cones/danger signs cam="camera" camcreate [0,0,0] cam camsettarget obj #Loop _i=0 cam camsetrelpos [0,30,0] cam camcommit 0 @camcommited cam sign="danger" createvehicle [getpos cam select 0,getpos cam select 1,0] obj setdir getdir obj+1 _i=_i+1 ?_i<359:goto "Loop" exit I havent tested this I just wanted to show what I meant. I dont know if thats the correct name for the danger sign, you might want to make it run only on the server etc.
  10. Player init: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this exec "Weaponsrespawn.sqs" Weaponsrespawn.sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">~0.1 ?!(player==_this):exit _mags=magazines player _weps=weapons player #Loop @!alive player @alive player removeallweapons player _i=0 while {_i<count _mags} do {player addmagazine (_mags select _i);_i=_i+1} _i=0 while {_i<count _weps} do {player addweapon (_weps select _i);_i=_i+1} player selectweapon primaryweapon player goto "Loop" This way you dont have to make one script for every type of loadout. The script will check what loadout the player has at the start of the mission and adds it when he respawns.
  11. InqWiper

    player scoring

    I dont know what type of mission you are making but since you get much more rating than score for killing stuff I suggest multiplying all numbers by 100-1000.
  12. InqWiper

    Attaching camera to aircraft

    I tried that first and it got really choppy, dont ask me why, i thought it shouldnt. Its not like you are gonna notice a FPS difference anyway.
  13. InqWiper

    player scoring

    Zoom in on the radiotower in the editor. Place a game logic on the radio tower and in the init put the following: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> (getpos this nearestobject objectIDhere) addeventhandler ["Killed",{(_this select 1) addscore 50}] Just replace "objectIDhere" with the ID you see on the radio tower.
  14. InqWiper

    player scoring

    Have you tried adding a killed eventhandler to the radio tower? If you add a killed eventhandler to the player it will execute only when the player is dead. The way you use that eventhandler it will add 50 score to itself if its killed. I think the killer is select 1 but you can check it in the wikipedia.
  15. InqWiper

    Attaching camera to aircraft

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">cam1="camera" camcreate [0,0,0] cam2="camera" camcreate [0,0,0] cam3="camera" camcreate [0,0,0] cam1 camsettarget plane1 cam2 camsettarget plane1 cam3 camsettarget cam1 cam3 camcommit 0 cam3 cameraeffect ["Internal","back"] #Loop cam1 camsetrelpos [5,2,0] cam2 camsetrelpos [5,-2,0] cam1 camcommit 0 cam2 camcommit 0 cam3 setpos getpos cam2 ?!ExitCam:goto "Loop" cam2 cameraeffect ["Terminate","back"] camdestroy cam1 camdestroy cam2 camdestroy cam3 exit It wont follow the wing up/down when the plane turns but it works if the plane flies in a straight line. You  might want to tweak the relpos values a bit I only made it work I didnt try to make it look perfect.
  16. InqWiper

    Attaching camera to aircraft

    Create a script that loops cam camsetrelpos [x,y,z] cam camcommit 0 I suggest using 2 cameras for what you are trying to do (I assume you dont want the center of the plane to be in the center of the screen). One that the view is from and the other to be targeted by the first camera. Both cameras need a loop for updated position ofcourse.
  17. Its easy to make a backblast that damages anything behind the rocket. The hard part is making a more realistic result of the backblast. For example if you fire an RPG from inside a house how much of the blast hits a wall too close to you so you take damage etc. If you fire it right infront of a wooden fence you wont get as flat as if you fire it right infront of a concrete wall.
  18. InqWiper

    Is video-game addiction a mental disorder?

    If life is hell and computer games are the only escape there is no wonder one becomes very agressive when someone tries to take it away. Atleast with computergame addiction there is no risk of getting killed (except when you sit for 72h straight and die from dehydration...). Gaming must be one of the cheapest and safest addictions you can have. Id also like to take the time to say that computer games, rock n roll or horror movies dont make mass murderers. There are always those fools who understand nothing and try to blame it on something stupid and make it simple for themselves. If the parents are stupid enough to let the kid become addicted to computer games and not being able to control him then ofcourse they are stupid enough to say the computer is evil and turned him into an addict.
  19. Speed returns km/h and velocity returns m/s. 1m/s=3.6km/h. Theres your complex 3d math Cant belive people actually think the ArmA weapons are too inaccurate. I didnt like how you could hit people in 1 shot from 500 meters with M16 in OFP. Much better firefights in ArmA.
  20. InqWiper

    Mini Realism Mod - Accuracy enhancement

    Speed returns km/h and velocity returns m/s. 1m/s=3.6km/h. Theres your complex 3d math Cant belive people actually think the ArmA weapons are too inaccurate. I didnt like how you could hit people in 1 shot from 500 meters with M16 in OFP. Much better firefights in ArmA.
  21. InqWiper

    RTS-4 ArmA Released

    I really dont agree with this unbalance talk. The opfor planes still have 80 rockets and that makes it better than anything else at taking out installations <level 4. At level 4 it is pretty much as good as the GBU if you are good at aiming the GBUs which noone Ive seen is. Doesnt the KA50 have 12 missiles still? how is that not unbalanced in the favour of opfor? If you still think its unbalanced maybe you should give the opfor less buildtime/cost on theire tanks. Im not bullshiting, I play opfor 90% of the time. Whatever you do dont add an A10 to opfor and please dont give them mavericks either. its not necessary. Balance is alot more about terrotories. The side that gets helis to kamikaze the other sides oil first or gets GBU/rocket planes to attack oil first will have an advantage. It has alot to do with the skill of the individual team members too since some are very familiar with how RTS works and some dont have a clue.
  22. InqWiper

    Stop Camping.....arghhh!

    Camping is only really effective if the other team sucks. If they have 1 good player he will probably take you out. Ive managed to camp through a whole 1h berzerk without dying in my tank. I had to go back to base and change tank because I was hit like two times and ran out of ammo though. If I had been on the other team and saw someone camp like I did I would have made it my mission to satchel his ass. Really simple.
  23. InqWiper

    Joint operation SP

    You need EditorUpdate_v102.
  24. I belive the easiest way would be to use [unit1] join unit2 If you dont mind unit1 joining the group of unit2.
  25. InqWiper

    Getting the group leader

    Set the init somewhere: xTime=false make a trigger that activates after 1 second: xTime=true make a trigger that incircles the group: condition: count thislist<9 and !xTime on activation {deletevehicle _X} foreach thislist Im assuming the size of your group is 9
×