Terran4999
Member-
Content Count
32 -
Joined
-
Last visited
-
Medals
Everything posted by Terran4999
-
hello I know bombing run has been discussed a lot , but I can't find a normal bombing run script without clicking on the map for  target. For those who are familiar with scripting can you tell me please what to delete/add to for this to be a bombing run on a game logic as target all thanks <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ;we deactivate the onmapclick once you clicked or it will create problems onMapSingleClick {} player sidechat "Coordinates transmitted, waiting for airstrike" _pos = _this select 0 ; we create a plane at the game logic A10ENTRY location ; high enough so the AI pilot can have time prevent his plane to fall in the sea ; we remove the weapons of the plane as the A10 AI even careless will want to engage with its canon strikePlane = "A10LGB" camCreate getpos A10ENTRY strikePlane setPos [(getPos strikePlane select 0),(getPos strikePlane select 1),(getPos strikePlane select 2)+2000] strikePlane setDir 0 removeallweapons strikePlane ;we create the pilot for the plane "SoldierWPilot" createunit [getpos player,group player,"Dummy1=this",0] [Dummy1] join grpnull Dummy1 moveInDriver strikePlane Dummy1 doMove _pos ~1 Dummy1 setbehaviour "CARELESS" ~3 Dummy1 sideChat "Airstrike 1 On the way" @ unitReady Dummy1 Dummy1 sideChat "Bomb away." ;here is a simple bombing run script _num = 4 _i = 0 #loop _bomb = "laserGuidedBomb" camCreate [(getPos strikePlane select 0)+((random 10)-5),(getPos strikePlane select 1)+((random 10)-5),(getPos strikePlane select 2)-3] _bomb setDir (getDir strikePlane) _bomb setVelocity [(velocity strikePlane select 0)*0.2,(velocity strikePlane select 1)*0.2,(velocity strikePlane select 2)*0.2] _i = _i + 1 ~0.2 ? _i < _num : goto "loop" ;once the bombing run is done ;the pilot move back to the game logic A10ENTRY ;it will be deleted there as we don't need it anymore Dummy1 doMove getpos A10ENTRY Dummy1 sideChat "Heading back to base." @ unitReady strikePilot deleteVehicle strikePlane deleteVehicle Dummy1 exit
-
hey How do you make a trigger activate when a unit has joined a group. I want to do this without WP's
-
Hello Does anyone know how to make a west side unit play as a east side unit. If there is a command or something in the .pbo file i can edit to do that plz tell Thanks everyone
-
Hey I just want to know if this command is correct: If this is a valid command why is it not working? I tried putting this in the WP Activation and well as in the Init of units
-
Hello I been trying to make this script so that the unit doing the repeating push up would stop once fired upon or enemy is spotted, but the unit executing the script would be stuck in the push up animation even when enemy is firing at them. Any ideas? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_obj = _this select 0 Â ; Make the unit do a push up ;In qoutes put soldier action #repeat ~3 _obj playMove "FXStandDip" #Alert _obj switchmove "null" _obj setbehaviour "combat" _obj setspeedmode "normal" _obj setcombatmode "red" goto "end" #end exit
-
Does anyone know of a texture swap utility program that works??
-
Does anyone have any news on the Dawn of War mod?? Its been awhile and i heard no news.
-
dawn of war (warhammer 40000 mod) for OFP???
-
Hey How do you make a trigger activate when the player has fired his first shot???
-
for the first one i got an "OVERFLOW" error For the one above i got a "Seek failed on an unnamed file" error any ideas ??
-
hey Why is it that WP's description would not show what I typed in?? I what the WP to show "Base" instead
-
I already tried that, but selecting "always show" or any of the WP option didn't make any difference.
-
Hey I am stumped as to how I can radio a unit to move and stop like in those escort mission in the campaign?? I tried making 2 radio trigger 1 with "sold lockWP true" the other with "sold lockWP false" but nothing happened. Any ideas?
-
OK So I created 2 units that's group together and I put in the leader Initialization "sold=group this" I made 2 Radio activated trigger 1 with: "soldlockWP=true" the other with "soldlockWP=false" If this is what I am suppose to do it didn't work. The units just kept proceeding to their WP's
-
Well the "soldlockWP=true/false" didn't work any other commands that would make a unit move and stop at command?? Â
-
Hey Is their anyway to change the unit limit allowed in the mission editor. I am making a mission with many soldiers guarding a base. Â Â Â
-
hey i want to know if there are any ways to change the weapons fired from tanks or vehicles?? Such as the different kind of Heat and AP's
-
Increasing Editor Limit
Terran4999 replied to Terran4999's topic in OFP : MISSION EDITING & SCRIPTING
WTF all i had was 17 unit on my map and a pop up appeared saying i exceeded the 63 group limit. Why?? -
Hey I want to know how to get the AI to open a Door on a building. I tried searching the forum for answers and found none. I tried : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this action ["opendoor", hanger] "hanger" being the name of the building. Any ideas
-
Bombing Run (without clicking)
Terran4999 replied to Terran4999's topic in OFP : MISSION EDITING & SCRIPTING
Does anyone have any ideas?? -
what do i edit in this script so i can have the airstrike target a gamelogic or a tank ? Â
-
Bombing Run (without clicking)
Terran4999 replied to Terran4999's topic in OFP : MISSION EDITING & SCRIPTING
So I read through other forums and found that to make the air strike target a game logic I would have to put instead of and name the game logic "target" this didn't cause any serious problems but the airstrike never came -
How to unit target practice/get out vehicle
Terran4999 posted a topic in OFP : MISSION EDITING & SCRIPTING
Hello all I have 2 questions 1) How to make a unit do target practice on objects then reload when out of ammo? 2) how do I make a group eject out of vehicles all at once without WP's Any help would be appreciated   -
How to unit target practice/get out vehicle
Terran4999 replied to Terran4999's topic in OFP : MISSION EDITING & SCRIPTING
thanks for the response, but this only works for people. Is it possible for the AI to dofire on objects such as a couch??? -
How to unit target practice/get out vehicle
Terran4999 replied to Terran4999's topic in OFP : MISSION EDITING & SCRIPTING
Well, I think I solved my second question. Does anyone know how to make a unit do target practice then reload when out of ammo?