Jump to content
Sign in to follow this  
tandwan

Spawning Ghilli Suits issue

Recommended Posts

So a bit of a back story. In an attempt to give my server some more meat for them to sink their teeth into, we starts added items to Types.xml to get them out and above. The first was the Smersh Vest, while it's buggy, it works and otherwise can be used as a vest (if you don't mind the bag being at your feet). The second thing we started spawning was green Kevlar helmets, the Nato blue ones painted green. Since paint is not in the game, we wanted to give people an alternative from the Gorka helmet, so we gave them this. The helmet works perfectly, soaks damage normally and does not clip, so success....

Then came the Ghilli suit. Currently, the game has no way to MAKE green Ghilli suits so we started spawning them in through the Types.xml. Unfortunately, I can't get them to appear, and i'm not sure what I did wrong here. I did the exact same thing that I did for the helmets and they worked but the Ghilli won't even come in. We can make the ghilli suit in a brown version (tan) so I know the model is in, but they won't even spawn the tan version. Here's my current code for it :

    <type name="GhillieAtt_Mossy">
        <nominal>10</nominal>
        <lifetime>5600</lifetime>
        <restock>1800</restock>
        <min>5</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="weapons"/>
        <usage name="Military"/>
    </type>


Now the first thing I think I should do is up the minimum because it's spawning at ALL military locations and that might help, but can anyone else see anything there that might be causing it not to spawn?

Edit : Something community admins might want to know, you can do this in your server. It doesn't require mods, it doesn't require your players to add files or anything. This is a server side adjustment that can be made by anyone with access to their servers main files. This gives your players more to play with, and also lets you learn a little server coding to boot.

Edited by tandwan
Adding information.

Share this post


Link to post
Share on other sites

Still hoping to find an answer to this if anyone wants to take a stab at it. I recently changed the min to 20, and the nominal to 20 as well, but i'm still not seeing anything. Do I need to tell it which tiers I want to have it spawn in? For what I understood, if I didn't specify then it would spawn in ALL the military loot points.

 

Share this post


Link to post
Share on other sites
1 hour ago, tandwan said:

Still hoping to find an answer to this if anyone wants to take a stab at it. I recently changed the min to 20, and the nominal to 20 as well, but i'm still not seeing anything. Do I need to tell it which tiers I want to have it spawn in? For what I understood, if I didn't specify then it would spawn in ALL the military loot points.

 

Have you tried this using GhillieSuit_Mossy as opposed to GhillieAtt_Mossy?

Ghillie_Att is just the attachment to the gun part, is it not?  Wouldn't Ghillie_Suit spawn the whole thing in one pile?

I have no idea to be fair, just taking a stab at it as you suggested.

Share this post


Link to post
Share on other sites

We're trying to get all three of them to spawn, what you're saying is IN the xml, i've actually listed all the parts. I just can't figure out why this thing won't spawn unless it has something to do with specifying  what Tier I want it to spawn in. That is, it could be because there is no model for green ghilli in the game... that might cause issues too.

Share this post


Link to post
Share on other sites

your min and nominal values are pretty low - they probably spawn yet you dont find them - having only around 5-10 ghillies on a server with around 5k military spawn locations (if not more) is pretty rare .... (0.20% per loot spot). Category=weapons isnt right aswell (i mean it should work anyway but meh) use "clothes"

here is something that should work

<type name="GhillieAtt_Mossy">
        <nominal>50</nominal>
        <lifetime>5600</lifetime>
        <restock>0</restock>
        <min>50</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="clothes"/>
        <usage name="Military"/>
    </type>

  • Thanks 1

Share this post


Link to post
Share on other sites
On 12/22/2018 at 11:26 AM, Niphoria said:

your min and nominal values are pretty low - they probably spawn yet you dont find them - having only around 5-10 ghillies on a server with around 5k military spawn locations (if not more) is pretty rare .... (0.20% per loot spot). Category=weapons isnt right aswell (i mean it should work anyway but meh) use "clothes"

here is something that should work

<type name="GhillieAtt_Mossy">
        <nominal>50</nominal>
        <lifetime>5600</lifetime>
        <restock>0</restock>
        <min>50</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="clothes"/>
        <usage name="Military"/>
    </type>

Use this google doc
!!! not tested but these are all the ghillies wich are in the catogory "containers" tho the have no slots, the atteachments is a category "weapon"


	<!-- mossy -->
	<type name="GhillieHood_Mossy">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieTop_Mossy">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieSuit_Mossy">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieBushrag_Mossy">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhilleAtt_Mossy">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
			<category name="weapons"/>
	<usage name="Military"/>
	</type>
	<!-- tan -->
	<type name="GhillieHood_Tan">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieTop_Tan">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieSuit_Tan">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieBushrag_Tan">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhilleAtt_Tan">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="weapons"/>
		<usage name="Military"/>
	</type>
	<!-- woodland -->
	<type name="GhillieHood_Woodland">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieTop_Woodland">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieSuit_Woodland">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhillieBushrag_Woodland">
		<nominal>50</nominal>
		<lifetime>5600</lifetime>
		<restock>0</restock>
		<min>50</min>
		<quantmin>-1</quantmin>
		<quantmax>-1</quantmax>
		<cost>100</cost>
		<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
		<category name="containers"/>
		<usage name="Military"/>
	</type>
	<type name="GhilleAtt_Woodland">
       <nominal>50</nominal>
       <lifetime>5600</lifetime>
       <restock>0</restock>
       <min>50</min>
       <quantmin>-1</quantmin>
       <quantmax>-1</quantmax>
       <cost>100</cost>
       <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
       <category name="weapons"/>
       <usage name="Military"/>
    </type>

 

Edited by kaspar rave
added googledoc link

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×