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

 
Messages:98
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
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

 
Messages:3805
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)


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:3407
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.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

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.


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

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

Regards,

Orcam3
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:3407
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.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

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.


Re: How to use sector fortification?[message #353745 is a reply to message #353744] Mon, 11 June 2018 21:10 Go to previous messageGo to next message
sob1

 
Messages:12
Registered:June 2018
Interesting developments! I am loving the 20+ year time this game has been improved upon. Thank you, Flugente!



Dr. Phil as a playable comedy IMP: http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=353751&#msg_353751

Lawrence of Arabia as an IMP:

http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=353801&#msg_353801
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

 
Messages:98
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
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:3407
Registered:April 2009
Location: Germany
Add new entries to the xml? Just copy existing entries and edit them to yur liking.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

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.


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

 
Messages:98
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
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:3407
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.



The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

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.


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

 
Messages:98
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?
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:3407
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]




The android shrugged. "Sometimes I break into your quarters and watch you sleep. And measure you to satisfy my electronic need for precision."
Will stared.
"It's not that unusual, I do it all to the crew."

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.


Previous Topic: fixing xml editor ?
Next Topic: Can only gumpy hack?
Goto Forum:
  


Current Time: Tue Sep 25 00:32:39 EEST 2018

Total time taken to generate the page: 0.01518 seconds