Home   Help Search Login Register  

Author Topic: How add bushes  (Read 872 times)

0 Members and 1 Guest are viewing this topic.

Arenke

  • Guest
How add bushes
« on: 26 Sep 2006, 20:05:24 »
Hi everybody, I'm noob but have been an ofpec follower since time ago.
Now, the question.

As the tittle says, I've been trying to find a way to add bushes on a mission without using any add-on (as the one by General Barron).
I searched on the forum but the topics with some kind of reply (by links) are broken so, is there any way, maybe using a method like this?: http://www.ofpec.com/forum/index.php?topic=11305.0 (trees, bushes & some more stuff aren't listed there).

Sorry if this have been replied before or something similar
And Thanks  :D

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: How add bushes
« Reply #1 on: 26 Sep 2006, 21:27:57 »
to add objects of any type (also bushes) without using any addon (even left out the editoraddon) there's one more or less simple way.

First, get the references for the o.pbo's from the ofpec editor's depot/tutorials.
The part with the bushes you'll also find here.

Then open up the editor. For the first try i suggest you use a empty map.
Insert an object of your choice, the danger sign does a well job but any other will do also.

Then SAVE THE MAP!

Open the mission.sqm of this mission. Find the section with the danger sign.

I'm not at my own pc so i cant give 100% correct info but i guess you'll find it.

There must be a line saying

Code: [Select]
name = "Danger Sign"
or something similar.

Now just replace "Danger Sign" with the name of the bush you'd like to insert. In the o.pbo reference they're listed with the .p3d extension. Just drop the extension. Then just save the mission.sqm

IMPORTANT!
Don't doubleclick on the object once you changed it, since for the editor it is still the danger sign and therefor will overwrite the changes you did.

But you can move it around, turn it (press shift and move the mouse) or copy it (ctrl+c/ctrl+v)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: How add bushes
« Reply #2 on: 26 Sep 2006, 22:09:24 »
In basic terms......bushes and some other objects have no classnames (851 in total).

There is a Models & Classnames resource available from the Temp ED ....Addon Editing Section......
http://www.ofpec.com/ed_depot/tutes.htm

This lists all models that are used for the game....either configured with classnames or NOT.


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