Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
gandalf the white

wall classnames!

Recommended Posts

without the editoraddon ora selfmade addon you can't use the fences afaik. to get out the names in the editoraddon i would use this tool: tool to find out object names.

(the tool is in german afaik, but i think it is easy to use anyway).

smile_o.gif

Share this post


Link to post
Share on other sites

i dont know the class names.... thats just the P3D's so u can quick search em

Share this post


Link to post
Share on other sites

Why don't you use the typeof command combined with the object id?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint format ["%1", typeof object XXXXX]

XXXXX is the id number of the fence

Or you using 1.46?  rock.gif

Share this post


Link to post
Share on other sites

Yes those walls are not available in the editor either with, or without EditorUprade.

I remember someone on OFPEC wanted the same walls a few weeks ago, I made them a small config.cpp, made into a pbo.

Placed in the Addons folder it made those walls available in the editor.

Have a search on OFPEC, it should still be posted there.

I'll have a check see if I can find a link for the topic.

EDIT: Ok I found the topic.....link below

http://www.ofpec.com/yabbse....start=0

Planck

Share this post


Link to post
Share on other sites

it is in kegety's editorupgrade 1.75. objects ccc099, ccc100, ccc101, ccc102 afaik.

Share this post


Link to post
Share on other sites

i am planning of adding the fences directly into the mission.SQS , so i place a random object (preferably one that is only once on the map) and replace that in the text file by the wall.

btw i'm using 1.96 , but there is VERY much about the editor i don't know, so i'm learning everyday smile_o.gif .

thanks guy's, i'll try it after i've finished watching domino day tounge_o.gif .

Share this post


Link to post
Share on other sites

If you have the object ID (cunningly available by using "show IDs" in the editor) just use the following code to display the class name:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

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

where _x is the object ID.

Share this post


Link to post
Share on other sites
If you have the object ID (cunningly available by using "show IDs" in the editor) just use the following code to display the class name:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

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

where _x is the object ID.

Unfortunately, some objects aren't defined in the config, and so that method doesn't show anything. Try that on bushes or trees and you get nothing.

But if there is a classname for the object, then the link I posted will let you place them in your editor, without anyone else needing the addon to play the mission. Basically saves you lots of time with editing the .sqm file, and checking classnames.

Share this post


Link to post
Share on other sites

wouldnt it come up if you put it in a mission if it was added by the player in the sqm? if so just open the sqm with word and you may get the fence class name...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×