Home » MODDING HQ 1.13 » v1.13 General Development Talk » How to use sector fortification?
How to use sector fortification?[message #353738] Mon, 11 June 2018 15:03 Go to next message
orcam3 is currently offline orcam3

 
Messages:124
Registered:August 2011
Location: The Netherlands
I tried using a shovel on some items (furniture and car wrecks) and igor makes his happy sound ("Rock and Roll!") but nothing happens. Is there a tutorial that i missed?

Regards,

Orcam3

Report message to a moderator

Sergeant
Re: How to use sector fortification?[message #353740 is a reply to message #353738] Mon, 11 June 2018 19:43 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
You'll need a CAT P-5000 PWL to move car wrecks.


Chat with us!
#bearpit on IRC
Discord
Get your latest 1.13 Builds
(Pls don't use my forum PMs for general game queries)

Report message to a moderator

Captain

Re: How to use sector fortification?[message #353742 is a reply to message #353740] Mon, 11 June 2018 20:12 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
The proper definitions of what you can deconstruct with what need to exist in TableData/Items/StructureDeconstruct.xml. Without that the game won't know what to do.


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

Captain

Re: How to use sector fortification?[message #353743 is a reply to message #353742] Mon, 11 June 2018 20:46 Go to previous messageGo to next message
orcam3 is currently offline orcam3

 
Messages:124
Registered:August 2011
Location: The Netherlands
How would i get that, flugente?

Regards,

Orcam3

Report message to a moderator

Sergeant
Re: How to use sector fortification?[message #353744 is a reply to message #353743] Mon, 11 June 2018 20:55 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
Eh? Read the xml and add another entry for what you want. This thread is helpful.

https://i.imgur.com/ZJNagAf.png
The 'f' key helps, you get information on what tileset is used when you hover over structures.



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

Captain

Re: How to use sector fortification?[message #353752 is a reply to message #353738] Mon, 11 June 2018 22:34 Go to previous messageGo to next message
orcam3 is currently offline orcam3

 
Messages:124
Registered:August 2011
Location: The Netherlands
Is there any xml that i can just 'copy+paste' or doesn't it work that way?

Regards,

Orcam3

Report message to a moderator

Sergeant
Re: How to use sector fortification?[message #353753 is a reply to message #353752] Mon, 11 June 2018 22:39 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
Add new entries to the xml? Just copy existing entries and edit them to yur liking.


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

Captain

Re: How to use sector fortification?[message #353757 is a reply to message #353753] Tue, 12 June 2018 00:51 Go to previous messageGo to next message
orcam3 is currently offline orcam3

 
Messages:124
Registered:August 2011
Location: The Netherlands
Would it be possible for you to upload your .xml? (if it will work with my JA1.13 <it's the only mod i use>?)

Because i have no clue about anything in the .xml, it's just a bunch of -Insert foreign language here- to me

Report message to a moderator

Sergeant
Re: How to use sector fortification?[message #353758 is a reply to message #353757] Tue, 12 June 2018 00:59 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
The xml is already part of 1.13 when you install it. It's in Data-1.13/TableData/Items/StructureDeconstruct.xml.


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

Captain

Re: How to use sector fortification?[message #353767 is a reply to message #353738] Tue, 12 June 2018 21:16 Go to previous messageGo to next message
orcam3 is currently offline orcam3

 
Messages:124
Registered:August 2011
Location: The Netherlands
I am able to find the file but it makes no sense to me, i would't know what to add?

Report message to a moderator

Sergeant
Re: How to use sector fortification?[message #353768 is a reply to message #353767] Tue, 12 June 2018 21:52 Go to previous message
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

Captain

Previous Topic: fixing xml editor ?
Next Topic: Moving npc/rpc
Goto Forum:
  


Current Time: Thu Apr 25 23:55:26 GMT+3 2024

Total time taken to generate the page: 0.00968 seconds