Home   Help Search Login Register  

Author Topic: Birds?  (Read 1381 times)

0 Members and 1 Guest are viewing this topic.

MGeo

  • Guest
Birds?
« on: 27 Feb 2004, 17:05:58 »
Have you see the cutscene in the second mission. You know when you attack Everon for first time. There is a bird that will fly off. Do you know how to make this bird or any other animals?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Birds?
« Reply #1 on: 27 Feb 2004, 17:19:49 »
The bird is just your standard seagull thats used alot in multiplayer.

My guess, is that you firist need to find the name of the seagull, and createunit it.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Birds?
« Reply #2 on: 27 Feb 2004, 18:35:06 »
The talented Col. Klink has created a fishing boat pack, which may not be what you want but it has the seagull control center. This nice little touch allows you place an object on the map which creates a flock of seagulls that fly around the invisible control center.

Get the fishing boat addon here,

http://www.dc3d.co.nz/Utopia/fairlady.htm

Or read this thread about adding seagulls via a script here,
(Messiah's post)

http://www.ofpec.com/yabbse/index.php?board=12;action=display;threadid=15600;start=30

There are also animals available from,
Ofp.gamezone.cz
Which include a mule and a guard dog.
:)
« Last Edit: 27 Feb 2004, 18:36:26 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

MGeo

  • Guest
Re:Birds?
« Reply #3 on: 27 Feb 2004, 19:52:52 »
Thnx. I will try it.

Kaliyuga

  • Guest
Re:Birds?
« Reply #4 on: 28 Feb 2004, 01:17:37 »
 There's a really old seagull script I have lying around that creates the seagulls.

 But then gives them some rudimentary AI;

 such as landing on the ground and then taking off when you get close and other stuff like that..

chasing each other about and such..

 it's really pretty cool.. I can send or attach for you if don't want to require any addons or for anyone that wants to check it out ;D  

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Birds?
« Reply #5 on: 28 Feb 2004, 01:33:15 »
Yes please. Add it onto here if you could, it sounds very interesting.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Kaliyuga

  • Guest
Re:Birds?
« Reply #6 on: 28 Feb 2004, 01:48:36 »
here you go:


Creates seagulls with simple AI, ability to fly, land and avoid humans.

----------------------------------------------------------------------------------------
HOW TO:
Place the script files in your OFP\users\NAME_OF_USER\missions\MISSION_NAME\ folder.

Make a trigger to your mission and place it somewhere in the map.
TRIGGER OPTIONS:
Axis a:        300
Axis b:        300
Activation:    Anybody     (Present)
Name:          seagulls
On Activation: [seagulls, player, 10, 500] exec "seagulls14b.sqs"


Paramaters=  [triggername, objecttoflyaround, numberofseagulls, radius]

This will make 10 seagulls fly around player, in a 500m radius (The trigger is used to give the list of humans for seagulls).


Script attached
« Last Edit: 28 Feb 2004, 01:49:49 by Kaliyuga »

MGeo

  • Guest
Re:Birds?
« Reply #7 on: 28 Feb 2004, 08:40:42 »
Hey thnx. I really needed that.


EDIT:
BAH. I can't make it work. It says that the seagulls14b.sqs is invalid. And i put the sqs in the foldier of my mission. DAMNIT. These days nothing works for me.  :'(
« Last Edit: 28 Feb 2004, 14:51:29 by MGeo »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Birds?
« Reply #8 on: 01 Mar 2004, 03:20:14 »
Did you make the file a .sqs file?
Try taking someone elses script and putting this one into it over the old and saving it under a different name. What I mean is use the script file but with this one instead.
I only say this 'cos I can't think of the correct way of making a script in notepad.
 >:(Ahh feck it! Someone tell him how to do it. I'm pissing myself off now! >:(
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Birds?
« Reply #9 on: 01 Mar 2004, 03:28:08 »
Hmmmm........ok

A script can be written with good old Notepad, it is after all only a text file.

The trick is, when you are saving the file, do this:

Use Save As from the file menu in Notepad

From the requester change the Save as type to......All Files (.*.)

Name the file in the File name field as you wish, but make sure you give it the .sqs extension......e.g.  myscript.sqs

Failure to do this will probably result in a file called myscript.sqs.txt

If this happens, just remove the .txt from the file name.



Planck
I know a little about a lot, and a lot about a little.

MGeo

  • Guest
Re:Birds?
« Reply #10 on: 01 Mar 2004, 22:23:17 »
Well it is not *checking file* with .txt
It is like this seagulls14b.sqs
This is what i do.
I start OFP Resistance
I start editor.
I start any map.
I just put a man and save the file like Seagull
I do Alt+Tab and open the Seagull.eden in my users place.
I put the script seagulls14b.sqs in there.
I do again Alt+Tab
I go to the editor.
I open a new triger.
Do everything in it as writen.
Clicks ok.
Puts player inside the triger.
Launches game.
A popup message appears "Scripts seagulls14b.sqs cannot be found" or something like that.

Pls some one explain this phenomena.  ::)

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Birds?
« Reply #11 on: 01 Mar 2004, 22:36:26 »
Probably because seagulls14b.sqs, is infact seagulls14b.sqs.txt.

Windows by default hides the file extension when you view files.  If you look at the mission.sqm, do you see the full name of the file mission.sqm, or do you just see mission?

If this is the case, at the top of the folder, click the Tools drop down menu button, then click Folder Options.  This will open a new propeties window.  Click on the View tab at the top of this new window, and scroll down till you find the section for hide file extensions for known file types, make sure that that is unchecked.

Then go back to your folder and your seagulls14b.sqs file, and rename the file, deleting any .txt extension from the end of it.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Birds?
« Reply #12 on: 01 Mar 2004, 23:40:23 »
Quote
; Executive Parameters are:

;      [ TriggerName, Object , amount of birds,  Area Width, Special Feature, Special Variable ]  Exec "Seagulls.sqs"


; ************************************************************************
; Example 1: [seagulls, player, 20, 500, ""] exec "seagulls.sqs"

; ####################################################

;  Make sure you use a triggers NAME instead of 'this' or similar wrong parameters.
;  Triggers are named in the "name" field in the trigger window (not the "text" field).

; if you want the seagulls to die,
; give value 'true' for global variable "g_bExit"

; Example:   g_bExit = true
; (this script defines the "g_bExit" variable to 'false' by default)


(hey icky! :-*)

 :D  MGeo - this "seagull14b" scroll is (if i remember right) launched from within the
other seagull scroll, right?!. try locating the two gull scrolls (there are TWO of 'em!).
then try & locate the line in the first scroll that will fire the second script. check if the names & paths are correct etc.

if that doesn't help ya' then old hifly_UK up there (dayum gull) is correct (but i'll be danged if he is!)  ::) ;D



MGeo

  • Guest
Re:Birds?
« Reply #13 on: 02 Mar 2004, 14:17:03 »
I will see if this works. [sarcasm] If not i am going to shoot myself. [/sarcasm]