|
|
|
|
|
|
|
|
|
|
Re: How to use sector fortification?[message #353768 is a reply to message #353767]
|
Tue, 12 June 2018 21:52
|
|
Flugente |
|
Messages:3509
Registered:April 2009 Location: Germany |
|
|
Just add one of these to StructureDeconstruxt.xml to your liking.
<STRUCTURE><!-- sandbag -->
<usDeconstructItem>1543</usDeconstructItem> <-- number of misc. item required in main hand when deconstructing, add what you want
<usItemToCreate>1540</usItemToCreate> <-- number of item you want to create when removing a structure, add what you want
<usCreatedItemStatus>1</usCreatedItemStatus> <-- status of created item, values from 1 to 100
<szTileSetDisplayName>Sandbags</szTileSetDisplayName> <-- Name of structure you want to deconstruct for display purposes
<szTileSetName>sandbag.sti</szTileSetName> <-- name of tileset, you get that from pressing the 'f' key over a structure
<dCreationCost>2.5</dCreationCost> <-- cost of this action for the fortification assingment. Add whatever value you want
<allowedtile>0</allowedtile> <-- name of tileindexes, you get that from pressing the 'f' key over a structure
<allowedtile>1</allowedtile>
<allowedtile>2</allowedtile>
<allowedtile>3</allowedtile>
<allowedtile>4</allowedtile>
<allowedtile>5</allowedtile>
<allowedtile>6</allowedtile>
<allowedtile>7</allowedtile>
<allowedtile>8</allowedtile>
<allowedtile>9</allowedtile>
</STRUCTURE>
Also, look in the thread I linked above.
[Updated on: Tue, 12 June 2018 21:52]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|