Jump to content

RaymondLu

Member
  • Content Count

    21
  • Joined

  • Last visited

  • Medals

Everything posted by RaymondLu

  1. I want to use the object that's targeted by laser designator in the script. how to script? since the AV8 can tab onto the target, there must be an object returned. what i want to do is. target somthing with laser designator,then call for artillery fire on it.
  2. xam mod is a good one, real sound, nice UI, but i dont think making the crosshair invisible is a good idea.. i want 2 know how they remove the crosshair, then i can get it back. i'll do that just for myself, i wont distribute that modified mod.
  3. RaymondLu

    How to remove crosshair??

    ok, i got it. open D:\Fun\ArmA\@XAM1.4L\dta\bin\CfgDifficulties.hpp there are " weaponCusor={0,1} " in both class Regular and verteran sectors. i change the one in regular to {1,1} repbo done.
  4. only AA soldiers and machinegunners fire at choppers, the others just run and hide, even the chopper is flying low and slow,or hovering. how could they let such a big bird stay that way?
  5. RaymondLu

    help with triggers.

    use the synchronizer. put a "move" waypoint for those 8 boys by the chopper, then a "GET IN NEAREST" waypoint, and then an "UNLOAD" waypoint at the destination, put a trigger "east not present" (suppose ur blue) to cover all enemies, press F5 to select "synchronizer", click the trigger and drag it to the "MOVE" previously set, (NOT "GETIN" waypoint). this way, once all east troops are eliminated, ur boys will automatically board that chopper. if you want to manually give an order to tell ur boyz to get in, replace the trigger "east not present" with the one below: radio alpha(bravo,charlie...), no repeat(once).once ur done ur sniping job, press 0-0-1(1 for radio alpah, 2 for bravo..etc)
  6. hi Goldline, you can try this in the aircraft's init field, type this addEventHandler["GETIN",{if(typeOf (_this select 2) != "SoldierWPilot")then{_this select 2 action["eject",_this select 0]}}] only west side pilot can fly it , if you want to limit it to east pilot, change "SoldierWPilot" to "SoldierEPilot" i haven't try this script ,but it should work.
  7. have u tried this? civilian setFriend [east, 0]
  8. RaymondLu

    why don't infantry shoot at helicopters?

    AI is still AI. we can't expect that much.
  9. RaymondLu

    why don't infantry shoot at helicopters?

    they don't shoot even they are a large troop or the chopper is unarmed. this is just ridiculous. there are so many AI bugs in this game and some of them are so obvious(like path-finding, bridge-crossing...) but no much improvement have been made.
  10. i put an H(invisible) named h_boat in the water, then script: "Smallboat" createVehicle position h_boat. preview it, then the game crashed to the desktop..
  11. RaymondLu

    Heli Flying Straight

    suppose helo setBehaviour "careless" "safe" "aware" "combat" "stealth" helo setCombatMode "BLUE" "RED" "BLUE" means hold fire, disengage
  12. all AI in the mission suddenly halt, no matter what happen they just don't response.. i didn't use any scripting functions like "enableAI",,how this happen?
  13. RaymondLu

    Couple of Questions

    1. _unit action["eject",_vehicle] 2. _shilka dofire (( position _shilka) nearobjects["AV8B",1500] select 0) 3. you need a laser designator. 5. things like IED?haha trigger, blue present on Act : "Sh_122_HE" createVehicle position (thislist select 0) Sh_122_HE is ammo for east artillery D30
  14. I've tried "nearObjects", it works well. thanks fasad. Â here's my script: ;laser.sqs _unit = _this select 0 #LOOP1 _tpos = position ((position _unit nearObjects ["LaserTarget", 300]) select 0) _x=_tpos select 0 _y=_tpos select 1 _tmp="HeliEmpty" createVehicle _tpos _dist = _unit distance _tmp _str = "Coordinate:["+str(_x)+","+str(_y)+"]\nDistance:"+str(_dist) titleText[_str,"plain down"] ~3 "Sh_122_HE" createVehicle _tpos goto "LOOP1" exit the arty fire would never stop
  15. can i use the script below to get the targetted coordinate? _pos1=position ( nearestObject[player,"laserTarget"])
  16. RaymondLu

    How to force AI wait...

    set a "GETIN" waypoint for youself around that strykers's "LOAD" waypoint, then use synchronize to drag these too waypoint together. a waypoint put in the water doesn't work...that's true.
  17. I've read that topic "Data storage",nice topic, many creative ideas.......
  18. are there any scripting command to write variables into a file? or run a windows program? or run a html in the background?? what i want to do with this is to save variables to a file or sth. anybody knows plz help! big thx!
  19. looks like bots fire only when they see enemy. but i do want them 2 fire upon an area. how to script? plz gimme an example of firing a D30.(SLA artillery) big thx!
  20. RaymondLu

    How to fire an arty?

    yes,that's what i am talking about. thx!
×