Staticobject doesnt show up in Editor

Making or wanting help making your own asset? Check in here
Post Reply
rodrigoma
Posts: 1537
Joined: 2012-03-22 21:21

Staticobject doesnt show up in Editor

Post by rodrigoma »

hello
Doc.pock has been modelling a runway for my map vung ro and he sent me a wip staticmesh so I can place it on my map and work around it, however the folder is not appearing in the object list in the editor, it happens for me and for doc.pock too, and no one can see anything wrong with the model,

here is the folder in question:
rodrigoma.zip

if someone could solve this mistery I would be very grateful :-P
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: Staticobject doesnt show up in Editor

Post by Mineral »

I'm not an expert on this , but it has no tweak file, which it is searching for threw the .con file. That might be the reason?
Image
Doc.Pock
Posts: 2899
Joined: 2010-08-23 14:53

Re: Staticobject doesnt show up in Editor

Post by Doc.Pock »

ive added a twak file with my folder and its still the same. even when i manually ad it in the editor it doesnt show :(
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Staticobject doesnt show up in Editor

Post by AfterDune »

Make sure it's not the staticmesh file; copy a staticmesh from another object and rename that to "runway.staticmesh" (save the original runway.staticmesh somewhere of course). Then load the editor, see if that shows up.
Image
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: Staticobject doesnt show up in Editor

Post by Psyrus »

You've named it the same as the runway spline.

Try renaming it (I used runway_extra) and it should work . Don't forget to rename the meshes and all references to it in the .con file.

You don't need a .tweak file.

Image
Last edited by Psyrus on 2012-10-09 16:16, edited 2 times in total.
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Staticobject doesnt show up in Editor

Post by AfterDune »

Haha, how obvious :D . Yes...
Image
rodrigoma
Posts: 1537
Joined: 2012-03-22 21:21

Re: Staticobject doesnt show up in Editor

Post by rodrigoma »

so how should I do this again?
sorry noobishness
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Staticobject doesnt show up in Editor

Post by AfterDune »

- Rename runway.staticmesh to runway_whatever.staticmesh.
- Rename runway.con to runway_whatever.con
- Inside runway_whatever.con, rename "runway" to "runway_whatever"

That's it.

(and you can drop the runway.tweak file for now)
Image
rodrigoma
Posts: 1537
Joined: 2012-03-22 21:21

Re: Staticobject doesnt show up in Editor

Post by rodrigoma »

thank you alot for all the help!

Problem solved= scratch that :(

now when I try to load it in the map it crashes the editor
Last edited by rodrigoma on 2012-10-09 17:35, edited 1 time in total.
Psyrus
Retired PR Developer
Posts: 3841
Joined: 2006-06-19 17:10

Re: Staticobject doesnt show up in Editor

Post by Psyrus »

rodrigoma wrote:now when I try to load it in the map it crashes the editor
No problem for me...

Image
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Staticobject doesnt show up in Editor

Post by Rhino »

You really should look for a much better file name and folder dir than what you have. Also these should technically be exported to the roads folder but for now it can be exported to the statics just for Rodrgoma to use. Also don't use someones name as the main dir...

For Camp Bastion I have quite simply: \objects\roads\staticsnoblend\pr\airbases\camp_bastion\

You should also export to this airbase folder and name the "runway" / airbase after something reliant to the map at the very least unless its a generic airbase.

[quote=""'[R-DEV"]AfterDune;1823357']- Rename runway.staticmesh to runway_whatever.staticmesh.
- Rename runway.con to runway_whatever.con
- Inside runway_whatever.con, rename "runway" to "runway_whatever"

That's it.

(and you can drop the runway.tweak file for now)[/quote]

Simplest just to have it exported again into the correct name and folder.

[quote="rodrigoma""]thank you alot for all the help!

Problem solved= scratch that :(

now when I try to load it in the map it crashes the editor[/quote]

you probably haven't renamed everything.
Image
rodrigoma
Posts: 1537
Joined: 2012-03-22 21:21

Re: Staticobject doesnt show up in Editor

Post by rodrigoma »

thanks the problem had been solved already,
about the name ofcourse it is not final,
Doc.Pock
Posts: 2899
Joined: 2010-08-23 14:53

Re: Staticobject doesnt show up in Editor

Post by Doc.Pock »

Thnx guys for the help. Also rhino the name was just so rodrigome has so. Ething to build around
Post Reply

Return to “PR:BF2 Community Modding”