Page 1 of 1

[Model] Share your afghan houses/buldings thread (IMAGE HEAVY)

Posted: 2009-07-31 06:26
by badmojo420
The idea is to share the custom houses/buildings we've created using the afghan building blocks. This way mappers will have more unique buildings at their disposal.

To export:

Clone your building and move it to the center of the map. The center of the map can be found by double clicking the box on any object, (while in level editor) and changing the xyz values to 0/25/0. Once your building is in the center of the map, save your map, open StaticObjects.con and extract the code for the building. Take a couple screen shots, and post it on here.

If your building has statics that are not part of the afghan set, please include the code for the location of these objects.


To import:

Make sure you have all the afghan statics somewhere in your map. If you don't either add the ones you need, or add them all to an unused area and delete them after. Some buildings might use other statics, simply add the code to the top of your staticobjects.con file.

Make sure the center of your map is clear of objects. Without the editor running, open your staticobjects.con, goto the bottom and paste in the code for a building. Now load up your map in the editor and the building should be sitting the center of the map. Move it to where you want it, and you can add another. This method will only let you add one building at a time. If you try to add more than one, you'll end up with buildings on top of each other.


Posting:

-Provide pictures from a couple different angles
-Use code tags to post code
-Include any non-afghan objects' code
-Post only with the consent of the author, some mappers won't want their buildings in other maps, respect that.
-Include a description noting any unique features.

Re: Share your afghan houses/buldings thread(IMAGE HEAVY)

Posted: 2009-07-31 06:31
by badmojo420
Description: Small square 1 story building. Windows on 2 sides, 1 door, and a ladder.

Pics:
Image

Image


Code: Select all

rem *** afghan_roof8m01f ***
Object.create afghan_roof8m01f
Object.absolutePosition 0.221/27.632/2.945
Object.rotation 90.0/0.0/0.0
Object.layer 1

rem *** afghan_doorway4m01 ***
Object.create afghan_doorway4m01
Object.absolutePosition -3.564/26.423/3.041
Object.rotation 90.0/0.0/0.0
Object.layer 1

rem *** afghan_bare4m01 ***
Object.create afghan_bare4m01
Object.absolutePosition 2.284/26.423/-3.107
Object.layer 1

rem *** afghan_bare4m01 ***
Object.create afghan_bare4m01
Object.absolutePosition -3.565/26.423/-0.959
Object.rotation 90.0/0.0/0.0
Object.layer 1

rem *** afghan_bare4m01 ***
Object.create afghan_bare4m01
Object.absolutePosition -1.713/26.423/-3.107
Object.layer 1

rem *** afghan_sidewindow4m02 ***
Object.create afghan_sidewindow4m02
Object.absolutePosition 4.430/26.423/-1.257
Object.rotation 90.0/0.0/0.0
Object.layer 1

rem *** afghan_sidewindow4m02 ***
Object.create afghan_sidewindow4m02
Object.absolutePosition 2.582/26.423/4.885
Object.layer 1

rem *** afghan_sidewindow4m02 ***
Object.create afghan_sidewindow4m02
Object.absolutePosition -1.418/26.423/4.886
Object.layer 1

rem *** afghan_sidewindow4m02 ***
Object.create afghan_sidewindow4m02
Object.absolutePosition 4.430/26.423/2.742
Object.rotation 90.0/0.0/0.0
Object.layer 1

rem *** afghan_roof8m03f ***
Object.create afghan_roof8m03f
Object.absolutePosition 0.215/27.632/-1.052
Object.rotation -90.0/0.0/0.0
Object.layer 1