Home   Help Search Login Register  

Author Topic: Objects in Editor  (Read 652 times)

0 Members and 1 Guest are viewing this topic.

Anton VonE

  • Guest
Objects in Editor
« on: 19 Nov 2003, 04:56:54 »
So, I'm making a mission to put on a server, and I can't have any addons on it. Does anyone have a link/list of names for objects (like a cabinet, desk, computer, etc)? I've searched the forums, and haven't found exactly what I'm looking for.

Anton

cameronmc

  • Guest
Re:Objects in Editor
« Reply #1 on: 19 Nov 2003, 07:34:59 »
Hmmm - definitely the OFPEC Command Reference, tovarich. This has the big list of all da objects - hee hee can't say I know howta use em though.

Hope this helps. Adios.

Anton VonE

  • Guest
Re:Objects in Editor
« Reply #2 on: 19 Nov 2003, 18:50:59 »
Any idea where I can find this, tovarich? The only command reference list I saw required you to download an editor addon.

Anton

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Objects in Editor
« Reply #3 on: 19 Nov 2003, 19:54:48 »
Have a good hunt around the Ed Depot, especially tutorials - references.
Plenty of reviewed ArmA missions for you to play

Offline Burn

  • Members
  • *
Re:Objects in Editor
« Reply #4 on: 19 Nov 2003, 19:55:36 »
Look up every list Planck has made ;D, he usually keeps track of these things :D. Good work Planck ;) :thumbsup:
-O-PBOchar, This is a list of characters in in Resistance.(10)
-O-PBOdivk, This is a list of castle ruin objects in Resistance.(16)
-O-PBOGuns, This is a list of weapons in Resistance.(19)
-O-PBOHous, This is a list of buildings in Resistance.(95)
-O-PBOMisc, This is a list of misc. objects in Resistance.(93)
-O-PBORoad, This is a list of roads in Resistance.(66)
-O-PBOSkal, This is a list of rocks in Resistance.(15)
-O-PBOTree, This is a list of trees in Resistance.(41)
-O-PBOVehl, This is a list of vehicles in Resistance.(9)

The file names are each accompanied by a picture showing the object.

Each file is a zipped html document. ...( ::)Ok so I was bored :beat: :moon:...)

Didn't find the pre resistance list(s), but I think he did some of those to.
Try checking the commented config.cpp file :-\...

Anton VonE

  • Guest
Re:Objects in Editor
« Reply #5 on: 19 Nov 2003, 21:12:28 »
Thanks Bizon, for showing me those. I had downloaded them earlier, and I tried using it, but I couldn't make heads or tails out of it. Let's say that I wanted Dskrin_trojdvera.p3d to show up (the white cabinet with the red trim) to show up in the editor, how would I do that?

Something tells me that these are just for wrp edit, but I don't know enough to make sucha a statement.

I remember there being an editor addon that allowed you to toss in objects but didn't require everyone who played your mission to download it. Does anyone remember which one that is?

Anton

Offline Burn

  • Members
  • *
Re:Objects in Editor
« Reply #6 on: 19 Nov 2003, 21:36:09 »
Quote
I remember there being an editor addon that allowed you to toss in objects but didn't require everyone who played your mission to download it.
It was called resistance object patch... but it only contained larger buildings and such (no furniture), but still worth a download...
I'll try fetch a link for ya...
Quote
Something tells me that these are just for wrp edit, but I don't know enough to make sucha a statement.
Damn, I think your right... sorry, they're not classnames. Classnames are what you need.
To place a object that's not available in the editor you need to edit the mission.sqm... first place an object in the editor, and then alter the classname of the object in the mission.sqm and save.

Sorry for the mixup :P

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Objects in Editor
« Reply #7 on: 19 Nov 2003, 21:38:28 »
   P3d models can't directly be placed in a mission, because they aren't completed objects. There has to be a config file attatched to them, in the form of an addon, before they can be used as an object in-game. For example, I could use that Dskrin_trojdvera.p3d model, and give it the config of a soldier, and I would end up with a playable-cabinet that can glide around and shoot at people ;D.

  However, there are a bunch of objects that you can use by default, without any addons. Just place a unit, side=empty, and look under class "objects". There you can find lots of objects to place. But I'm sure you know that already.

  There are also a number of objects that are not displayed in the editor, but are still found in the game. Houses are a good example. To place these objects, you need to place an object (side = empty), such as a sandbag wall. Next, save the mission and open up its mission.sqm file. Now scroll down until you find the object you just placed, and find the line where it says "vehicle = XXX". "XXX" is the name the game uses for the object you just placed, and can be different from what is displayed. If you change the text here with the name of the object you want, such as the house name, etc, then save the mission.sqm and re-load the mission in the editor, you can place all sorts of objects.

    But how do you know the name of an object? Here's an easy method. First, find an object on the map and find it's ID. Now, place this line in an init field of a unit:

hint format ["%1",typeof object XXXXXX]

  Just replace the X's with the ID of the object, and it will display the name of the object. Write this down and edit the mission.sqm file, as I described above, and you'll be placing houses, cannons, roads, and others in no time!

Note: for some reason, bushes and trees don't have a name, and so you can't place them using this method.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Anton VonE

  • Guest
Re:Objects in Editor
« Reply #8 on: 19 Nov 2003, 21:42:19 »
 ;D

Thank you all for the help you've given me. I had the resistance patch too (told ya I did some searching  ;)). Anyway, a note too all those who look for this topic later: everything suggested here works.

Thanks again, guys!

Anton