Jump to content
Sign in to follow this  
Valmar

A16 Survivor's Pack Starting Gear

Recommended Posts

I honestly don't see how it would be possible for this mod to cause the problem you're describing. I don't even touch the items.xml. All I add to the game is two blocks and some lootgroups, really.

 

Also as my mod is only a XML mod you wouldn't need to do a lot to test and revert. Make a backup copy of your loot.xml and blocks.xml file then add my code. If it doesn't work you can just use the backup copies. That will save you from having to reinstall stuff.

 

It's up to you. I mean, like I said, I don't see how its possible my mod could cause this problem. I don't know anything about Rongo or Navezhattan so I can't comment there. If you still have the problem then by all means send the config folder and I will be happy to look into it and see if I can figure out the problem.

 

If the problem persists you could try removing the only thing my mod has that relates to skill books - the lootgroup.

 

Remove this lootgroup:

 

<lootgroup name="Survival Book" >

<item name="crossbowSchematic" count="1" />

<item name="hammerSchematic" count="1" />

<item name="huntingKnifeBook" count="1" />

<item name="pistolBook" count="1" />

<item name="wrenchSchematic" count="1" />

<item name="sawedoffPumpShotgunSchematic" count="1" />

<item name="pumpShotgunSchematic" count="1" />

<item name="huntingRifleSchematic" count="1" />

<item name="ammunitionNationBook" count="1" />

<item name="shotgunShellSchematic" count="1" />

<item name="9mmBulletSchematic" count="1" />

<item name="leatherTanning" count="1" />

<item name="leatherBootsSchematic" count="1" />

<item name="leatherHatSchematic" count="1" />

<item name="leatherJacketSchematic" count="1" />

<item name="leatherPantsSchematic" count="1" />

<item name="leatherGlovesSchematic" count="1" />

</lootgroup>

 

Then find the survival backpack group and remove the item group Survival Book.

 

<lootgroup name="Survival Backpack" count="all">

<item name="painkillers" count="1" />

<item name="firstAidKit" count="1" />

<item name="antibiotics" count="1" />

<item name="bottledWater" count="1" />

<item name="bandage" count="2" />

<item name="stoneAxe" count="0" />

<item name="wornBoots" count="0" />

<item name="flashlight02" count="0" />

<item name="bedRoll01_1" count="0" />

<item group="melee" />

<item group="cannedfood" count="1" />

<item group="Survival Hats" />

<item group="Survival Shirts" />

<item group="Survival Book" />

<item group="Survival Range" />

<item group="Survival Pants" />

<item group="Survival Tools" />

</lootgroup>

 

 

 

Doing that would remove literally the only references my mod makes to recipes in anyway. Though again, like I said, this shouldn't be able to cause the problem you're describing since it doesn't actually touch any of the books. Its possible one of your mods changed or remove some of the books and that is causing the problem... but even then, I don't think it'd cause THIS problem. It'd be more like a console error message whenever you try to place the backpack. It shouldn't have anything at all to do with you learning recipes.

 

Anyway without seeing the config folder I can't tell you what the problem is. In fact you don't even need to re-add my mod if its that big of a problem - you could just send your config as-is and I'll add the mod myself and see if I have the problem. Whichever is easier for you.

Share this post


Link to post
Share on other sites

Updated to A13 standards. Didn't take much, just a rename of a schematic and renumbering of block IDs.

Share this post


Link to post
Share on other sites

The "blocks.xml" link in your 1st post seems to have incomplete data as if cut-off. There are only 23 lines.

 

Thanks for sharing your mods,

LHammonds

Share this post


Link to post
Share on other sites

@LHammonds

 

My mouse probably spazzed when I copied the code. Annoying thing - makes highlighting things annoying sometimes.

 

Thanks for pointing it out. It should be fixed now. Sorry for the error.

Share this post


Link to post
Share on other sites

Valmar is it possible to use this mod in Alpha 14?

Just wondering cause according to the starting post you made it's geared for 13.7.

Share this post


Link to post
Share on other sites

It didnt work as-is. The basic structure itself I think is still perfectly fine but some items were renamed that I had to adjust and of course the block ID was no longer usable. Since you requested it I went ahead and updated the shared pastebin code. It should work in A14 now. Let me know if it doesn't and I'll take another crack at it. Pretty sure its fine though.

Share this post


Link to post
Share on other sites

From what I can tell its working in 14.6 as in the item is in the inventory when the player arrives on the server. They can put the bag on the ground, they can open it and get the items out of it, however after they close the bag, it poofs as if it destroyed itself, but.... the bag is still there. I'm still trying to figure this one out by comparing it to other items that do what this is supposed to do and that is destroy itself after being closed.

Share this post


Link to post
Share on other sites

@Pacid

 

Thank you for mentioning it. I believe I see the problem. It extends from the "locked" backpack which is set to downgrade into the unlocked version. As such it copies the locked versions downgrade event.

 

param1="DowngradeBlock" added to the extends property should fix it, as I have done to the code now.

 

Sorry for the oversight.

Share this post


Link to post
Share on other sites

is their an updated version i added all this to the server and when i hit E it doesnt open the backpack.

Share this post


Link to post
Share on other sites

It is updated. You have to break the backpack first to open it. Like shamway crates.

Share this post


Link to post
Share on other sites
is their an updated version i added all this to the server and when i hit E it doesnt open the backpack.

 

You have to break (attack) the first backpack you place.

Share this post


Link to post
Share on other sites

i broke it wont let me loot tells me too loot press E i click E nothgn happens:\ did i miss something?

Share this post


Link to post
Share on other sites

Recheck the steps and ensure you installed everything correctly. It should work fine.

Share this post


Link to post
Share on other sites

<property name="ItemsOnEnterGame.GameModeSurvivalMP" value="Survivor's Pack (Locked)" />

 

is this correct?

Share this post


Link to post
Share on other sites

Yes. That your character started with the pack at all shows that you got that step right.

 

The problem sounds like a loot.xml related one. Did you add the loot code at the bottom of the loot.xml, above the </lootcontainers> line?

Share this post


Link to post
Share on other sites

yup i have that line too i can break the backpack when i drop it just cant loot it... weird

Share this post


Link to post
Share on other sites

For future reference to others:

 

Your problem was likely due to the fact that you were putting the groups AFTER their calls in containers. A container or other group cannot call on a group that comes after it in the list or it breaks. Order matters.

Share this post


Link to post
Share on other sites
For future reference to others:

 

Your problem was likely due to the fact that you were putting the groups AFTER their calls in containers. A container or other group cannot call on a group that comes after it in the list or it breaks. Order matters.

 

val your right i dotn know what i did but w/e i did screwed up the loot i can break the bag but after that i get the magnifying glass on the bag cant loot it... was working fine screwed something up can u look at this code below that's how i placed the code at the end of loot.xml

 

<lootgroup name="backpackwep" count="all">

<item name="9mmBullet" count="200"/>

<item name="gunPistol" />

<item name="gunPistol" />

</lootgroup>

<lootgroup name="Survival Backpack" count="all">

<item name="painkillers" />

<item name="firstAidKit" />

<item name="antibiotics" />

<item name="bottledWater" />

<item name="bandage" />

<item name="flashlight02" />

<item name="bedroll" />

<item name="keystoneBlock" />

<item name="cementMixer" />

<item group="cannedfood" count="3" />

<item group="backpackwep" />

</lootgroup>

<lootcontainer id="180" count="1" size="8,4" destroy_on_close="true" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="baseTemplate">

<item group="Survival Backpack" />

</lootcontainer>

 

</lootcontainers>

Share this post


Link to post
Share on other sites

nvm just exhausted everything works fine... just server crashed cause of the amount of coding i keep doing had to restart it all fixed my bad!

 

Back to coding!

Share this post


Link to post
Share on other sites

just something extra if you guys want the quality of the items in the backpack at a certain level just create a template place this code in before this line </lootqualitytemplates>

 

<lootqualitytemplate name="backpacktemplate">

<qualitytemplate level="0,200" default_quality="500,600">

<loot quality="500,600" prob="1"/>

</qualitytemplate>

</lootqualitytemplate>

 

 

then also change the loot quality template="backpacktemplate" example below

 

<lootcontainer id="180" count="1" size="8,4" destroy_on_close="true" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="backpacktemplate">

<item group="Survival Backpack" />

</lootcontainer>

 

thx

Share this post


Link to post
Share on other sites

You dont have to make a quality template for that. You can assign quality directly on the item in the container or group.

 

Example:

<item name="huntingKnife" count="1" quality="200,200"/>

Share this post


Link to post
Share on other sites
You dont have to make a quality template for that. You can assign quality directly on the item in the container or group.

 

Example:

<item name="huntingKnife" count="1" quality="200,200"/>

 

ahhhhhhhhh nice 1 thx bro

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...