LightBringer 0 Posted March 16, 2003 Hey, is it possible to add a seagull, to fly around? If a player can be a seagull, then the ai can be, too. We need only the name of that... Anybody knows? I hope thats possible to put down a seagull, with a few waypoints to fly around on the beach... CU! Share this post Link to post Share on other sites
Bart.Jan 0 Posted March 16, 2003 Create a seagul : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _sg = "seagull" camCreate [x,y,z] <span id='postcolor'> Make a seagul to move : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _sg camSetPos [x,y,z] <span id='postcolor'> Make a seagul to land : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _sg camCommand "landed" <span id='postcolor'> Share this post Link to post Share on other sites
bn880 5 Posted March 16, 2003 Yes it is possible to create the gull and give it waypoints, there was a whole bird script around months ago... look around or maybe someone can find that for you. EDIT: there ya go Share this post Link to post Share on other sites
Ruskiesrule 0 Posted March 16, 2003 can you edit the mission file to turn a unit into a seagul? Share this post Link to post Share on other sites
LightBringer 0 Posted March 17, 2003 Thanx man! Now, i have this little script..: type into init.sqs: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "seagull.sqs"<span id='postcolor'> type into seagull.sqs: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">_sg = "seagull" camCreate [8433.278320,7055.193359,14] #start _sg camSetrelPos [8407.255859,7016.687988,15] _cam camcommit 60 _sg camSetrelPos [8455.540039,7018.411621,12] _cam camcommit 60 _sg camSetrelPos [8433.278320,7055.193359,14] _cam camcommit 60 goto "start"<span id='postcolor'> The last variable in the position field is the height... The bird is flying really nicely! CU PS: An Admin should close the topic, if needed. Share this post Link to post Share on other sites
Guest jacobaby Posted March 21, 2003 You can make a bird that moves inparallel with the player too, whatever moves the player makes the seagull is also under that control. If anybody wants to know then PM me, as I will have to look it back up. TJ Share this post Link to post Share on other sites
Guest jacobaby Posted March 21, 2003 here it is _gull = "raceKT" createvehicle POS Share this post Link to post Share on other sites