Zartuim Posted July 11, 2015 Share Posted July 11, 2015 The biggest problem I have with 7 Days to Die is that there is no "removal" tool. I "LOVE" to big stuff. Big Stuff. However, in order to build big stuff, I am always in need of clearing space. So, I took some things from around this forum and created this "admin tool". There is no icon for it (but you see the degredation bar) and it acts exactly like a pistol. (yes, there was another floating around and that is where I got this idea) Aside from the "gun shot" noise, there is no other sounds (like the idle auger sound). Oh, and it does hit everything, in case you need to defend yourself while clearing/building. (yes, I copied the pistol and tweaked it for admin use) <item id="800" name="adminTool"> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/PistolPrefab" /> <property name="Material" value="metal" /> <property name="HoldType" value="1" /> <property name="Stacknumber" value="1" /> <property name="RepairTools" value="repairKit" /> <property name="Degradation" value="1750" param1="false" /> <property name="DegradationBreaksAfter" value="false" /> <property name="SoundJammed" value="Weapons/weapon_jam" /> <property name="Attachments" value="flashlight02" /> <property class="Action0"> <!-- AttackAction --> <property name="Class" value="Ranged" /> <property name="Delay" value="0.15" /> <property name="Range" value="1200" /> <property name="DamageEntity" value="100000" /> <property name="DamageBlock" value="100000" /> <property name="Magazine_size" value="15000" /> <property name="Magazine_items" value="9mmBullet" /> <property name="Reload_time" value="2" /> <property name="Bullet_icon" value="pistol" /> <property name="Sound_start" value="Weapons/Ranged/Pistol/pistol_fire" /> <property name="Sound_repeat" value="" /> <property name="Sound_end" value="" /> <property name="Sound_empty" value="Weapons/weapon_empty" /> <property name="Sound_reload" value="Weapons/Ranged/Pistol/pistol_reload" /> <property name="Particles_muzzle_fire" value="nozzleflash" /> <property name="Particles_muzzle_smoke" value="nozzlesmoke" /> <property name="DamageBonus.head" value="6" /> <property name="DamageBonus.glass" value="25" /> </property> <property class="Action1"> <!-- UseAction --> <property name="Class" value="Zoom" /> <property name="Zoom_max_out" value="35" /> <property name="Zoom_max_in" value="35" /> </property> <!-- Start: Needed for the attachment flashlight --> <property name="LightSource" value="lightSource" /> <property name="ActivateObject" value="Attachments/flashlight/lightSource" /> <property name="AttachmentFlashlight" value="flashlight02" /> <!-- End: Needed for the attachment flashlight --> <property name="Group" value="Ammo/Weapons" /> <property class="Preview"> <property name="Zoom" value="14" /> <property name="Pos" value="0.1,-0.1" /> <property name="Rot" value="0,-45,0" /> </property> </item> Link to comment Share on other sites More sharing options...
Rentrac Posted July 11, 2015 Share Posted July 11, 2015 this doesnt hit everything, try hitting a truss with this ? tell me ur results Link to comment Share on other sites More sharing options...
Zartuim Posted July 11, 2015 Author Share Posted July 11, 2015 this doesnt hit everything, try hitting a truss with this ? tell me ur results Your right! I never noticed pistols cant hit trussings. Shall I edit my comment to say that mine hits anything a pistol can hit? Link to comment Share on other sites More sharing options...
Valmar Posted July 11, 2015 Share Posted July 11, 2015 You could apply the same concept to something like a hammer and give it crazy attack range. That way you'd be able to break trussing and won't need to use ammo. Also if you remove the degradation I believe it would never break. This is what I used for a building project - though it goes a bit beyond just destroying blocks. Might be interesting though: <item id="857" name="Wood Stack"> <property name="Meshfile" value="Items/Weapons/Melee/Axe/Axe" /> <property name="Material" value="organic" /> <property name="CustomIcon" value="oldWood" /> <property name="HoldType" value="17" /> <property name="Stacknumber" value="999999" /> <property name="FuelValue" value="4" /> <property class="Action0"> <!-- AttackAction --> <property name="Class" value="Melee" /> <property name="Delay" value="0.6" /> <property name="Range" value="14" /> <property name="Sphere" value="0.1" /> <property name="Block_range" value="14" /> <property name="DamageEntity" value="20" /> <property name="DamageBlock" value="350" /> <property name="Sound_start" value="swoosh" /> <property name="Stamina_usage" value="0" /> <property name="DamageBonus.wood" value="25" /> <property name="DamageBonus.head" value="2" /> <property name="DamageBonus.glass" value="25" /> </property> <property class="Action1"> <!-- UseAction --> <property name="Class" value="PlaceAsBlock" /> <property name="Delay" value="0.2" /> <property name="Blockname" value="oldWood" /> <property name="Change_item_to" value="Wood Stack" /> </property> <property name="Group" value="Building" /> <property class="Preview"> <property name="Pos" value="-0.13,-0.7" /> </property> </item> Link to comment Share on other sites More sharing options...
Zartuim Posted July 11, 2015 Author Share Posted July 11, 2015 I tried removing the degradation entries, but the item would not load into the game. I am not the brightest bulb in the box, but it does last quite a long time. Link to comment Share on other sites More sharing options...
Rentrac Posted July 11, 2015 Share Posted July 11, 2015 just for YOU Link to comment Share on other sites More sharing options...
Zartuim Posted July 11, 2015 Author Share Posted July 11, 2015 After some considerations, I made another tweak to my admin tool. It is basically the same except for no sound and it is an automatic fire like the SMG. (but with a MUCH bigger clip) <item id="800" name="adminTool"> <property name="Meshfile" value="Items/Weapons/Ranged/Pistol/PistolPrefab" /> <property name="Material" value="metal" /> <property name="HoldType" value="1" /> <property name="Stacknumber" value="1" /> <property name="RepairTools" value="repairKit" /> <property name="Degradation" value="15000" param1="false" /> <property name="DegradationBreaksAfter" value="false" /> <property name="SoundJammed" value="Weapons/weapon_jam" /> <property name="Attachments" value="flashlight02" /> <property class="Action0"> <!-- AttackAction --> <property name="Class" value="Ranged" /> <property name="Delay" value="0.15" /> <property name="Range" value="1200" /> <property name="Auto_fire" value="true" /> <property name="DamageEntity" value="100000" /> <property name="DamageBlock" value="100000" /> <property name="Magazine_size" value="15000" /> <property name="Magazine_items" value="9mmBullet" /> <property name="Reload_time" value="2" /> <property name="Bullet_icon" value="pistol" /> <property name="Sound_start" value="" /> <property name="Sound_repeat" value="" /> <property name="Sound_end" value="" /> <property name="Sound_empty" value="Weapons/weapon_empty" /> <property name="Sound_reload" value="Weapons/Ranged/Pistol/pistol_reload" /> <property name="Particles_muzzle_fire" value="nozzleflash" /> <property name="Particles_muzzle_smoke" value="nozzlesmoke" /> <property name="DamageBonus.head" value="6" /> <property name="DamageBonus.glass" value="25" /> </property> <property class="Action1"> <!-- UseAction --> <property name="Class" value="Zoom" /> <property name="Zoom_max_out" value="35" /> <property name="Zoom_max_in" value="35" /> </property> <!-- Start: Needed for the attachment flashlight --> <property name="LightSource" value="lightSource" /> <property name="ActivateObject" value="Attachments/flashlight/lightSource" /> <property name="AttachmentFlashlight" value="flashlight02" /> <!-- End: Needed for the attachment flashlight --> <property name="Group" value="Ammo/Weapons" /> <property class="Preview"> <property name="Zoom" value="14" /> <property name="Pos" value="0.1,-0.1" /> <property name="Rot" value="0,-45,0" /> </property> </item> Link to comment Share on other sites More sharing options...
Barinou Posted July 11, 2015 Share Posted July 11, 2015 Instead of the magazine size, you can add <property name="Infinite_ammo" value="true" /> if you want. And you can create a new ammo with <property name="UserHidden" value="true" />. With that code, you don't need to have the ammo in your inventory anymore. I didn't tested with a gun, so maybe you will have to change the class of the gun with "Launcher". edit : i tested, and it works with the "Ranged" class too. you don't need to have the ammo in your inventory with the code i gave you. Link to comment Share on other sites More sharing options...
Zartuim Posted July 11, 2015 Author Share Posted July 11, 2015 ... And you can create a new ammo with <property name="UserHidden" value="true" />. With that code, you don't need to have the ammo in your inventory anymore. Where does this come in? I don't see an ammo entry other than the "Magazine_items". Link to comment Share on other sites More sharing options...
Barinou Posted July 11, 2015 Share Posted July 11, 2015 that's it^^. you can copy the 9mmBullet item and add the UserHidden property. Link to comment Share on other sites More sharing options...
MrFreak Posted July 13, 2015 Share Posted July 13, 2015 After some considerations, I made another tweak to my admin tool. It is basically the same except for no sound and it is an automatic fire like the SMG. (but with a MUCH bigger clip) English. Hello There, I would ask a very important question. I hope I get a quick response. (About an answer I would be very happy). My question is. Is it possible this Admintool somewhere looting ?. When zombies ?. Buildings ?. Crates ?. Can normal players in the game this Admintool looting or not ?. Because if the players come to this tool ran Admin. Make the whole game broken ?. Has only the Server Admin right to use this admin tool ?. Is a very important question. I thank you already for your answer. Apologize for bad English. German. Hallo, Ich würde eine sehr wichtige Frage stellen. Ich hoffe ich bekomme eine schnelle Antwort. (ـber eine Antwort würde ich mich sehr Freuen). Meine Frage ist. Ist es mِglich diese Admin Tool irgendwo zu Looten?. Bei Zombies?. Gebنuden?. Kisten?. Kِnnen normale Spieler im Spiel diese Admin Tool Looten oder nicht?. Weil, wenn die Spieler an diese Admin Tool ran kommen. Machen Sie das ganze Spiel kaputt?. Hat nur der Server Admin das recht diese Admin Tool zu benutzen?. Ist eine sehr wichtige Frage. Ich bedanke mich schon mal für deine Antwort. MFG Link to comment Share on other sites More sharing options...
TehAgent Posted July 13, 2015 Share Posted July 13, 2015 I had two items used for this purpose. One was the sniper rifle with 50 rounds per mag that one shorted any block it could hit (probably could have done unlimited ammo, but that was months and months ago) and the auger that also one shorted everything, had no spread and one single Ray to control the destruction. I suggest using both since bullets don't hit every block. Link to comment Share on other sites More sharing options...
Tayluca Posted July 13, 2015 Share Posted July 13, 2015 Mr Freak, If I understand your question correctly, you are asking if adding this item will make it available in-game for other players to randomly find. It is my limited understanding that just by adding an item to the items.xml, does not spawn the item in-game since it is not added to any loot groups. You can only spawn the item via the creative menu. You can have cheat mode turned off on your server and then, as an admin, use the console command "cm" (without quotes) to temporarily allow the creative menu. Type "admin" in the search bar to filter results and find the tool. Then, drag the adminTool on your toolbar and close the creative menu window. Remember to use the console command "cm" again to turn off the creative menu. Link to comment Share on other sites More sharing options...
MrFreak Posted July 13, 2015 Share Posted July 13, 2015 Mr Freak, If I understand your question correctly, you are asking if adding this item will make it available in-game for other players to randomly find. @Tayluca Hello There, Exactly it was what I wanted to know. Thank you for your quick response. (And very good explanation). I wish you a nice day. Link to comment Share on other sites More sharing options...
Barinou Posted July 13, 2015 Share Posted July 13, 2015 If you don't put the item in a lootlist, it won't be lootable in game. Link to comment Share on other sites More sharing options...
MrFreak Posted July 15, 2015 Share Posted July 15, 2015 Hello There, @Zartuim, Tayluca or Barinou I need your help please. On my server where I have added this Admintool. (Of course, only for the Admin). Writes a player in chat that he has yet found anything with the name "Admin Tool" that it has 15K rounds of ammunition. And asks guests what that is ?. For what it's good. And what you do with it ?. I do not understand that. I thought that this tool can only have the admin. And that it does not drop to normal players ?. How can this happen please ?. I have copied the normal text and inserted it. I did not change anything to the text. Why Drops for normal players ?. I had my server switch to Offline, and this Admintool again removing ?. Can someone please explain this a how is that possible ?. I thank you already times in advance. Sincerely Yours Link to comment Share on other sites More sharing options...
Barinou Posted July 15, 2015 Share Posted July 15, 2015 hacker. you just have to ban him Link to comment Share on other sites More sharing options...
MrFreak Posted July 15, 2015 Share Posted July 15, 2015 Hello There, @Barinou I've banned him. And he added in the same blacklist. The text file that the admin tool creates. It must be copied into the file item.xml ?. Is that right ?. So that would be as follows: \ 7 Days To The \ Data \ Config \ items.xml I was told that this admin tool can not drop. The player has what is written in the chat, said that he has looted it. I have the text file may be copied into the wrong xml file ?. Sincerely Yours. Link to comment Share on other sites More sharing options...
Barinou Posted July 15, 2015 Share Posted July 15, 2015 If the item isn't in the loot.xml, noone can loot it. And probably a hacker put it in a loot container. Link to comment Share on other sites More sharing options...
MrFreak Posted July 15, 2015 Share Posted July 15, 2015 Hello There, @Barinou Is there any way (Mod or programs) to the hackers / cheaters to visualize ?. One can see the same. When he logs on the server's. There must be some way to give these people excluded. So you can never log back in. And I just do not have to banish. Or something else. These hackers / cheaters, to ruin the whole game. Eventually the game on the server will no longer be playable. Because with your hacking / cheating the whole game Destroy principle. You do not just break the game. But also interfere with the other honest players playing. Thanks for your response. Sincerely Yours. Link to comment Share on other sites More sharing options...
Rentrac Posted July 15, 2015 Share Posted July 15, 2015 bullets can hit everything by adding this code to the attack <property name="Hitmask_override" value="Melee" /> Link to comment Share on other sites More sharing options...
Rentrac Posted July 15, 2015 Share Posted July 15, 2015 just click Here for a good admin tool Link to comment Share on other sites More sharing options...
Barinou Posted July 15, 2015 Share Posted July 15, 2015 Sorry MrFreak, i don't know about the tools. Link to comment Share on other sites More sharing options...
Zartuim Posted July 15, 2015 Author Share Posted July 15, 2015 mr. freak, The code I put in was only to be added to the items.xml file. First, if you have our own server, only you can add it the the items.xml file. Second, if you added it to the loot.xml file, then it can be found by anyone. Lastly, if you did not add it to the loot.xml file, then someone either hacked your server or guessed (default?) your passwords. I hope this helps you. Z Link to comment Share on other sites More sharing options...
twoguidosgaming Posted July 15, 2015 Share Posted July 15, 2015 Or an Admin dropped the tool, and someone picked it before it vanished? Its a possiblilty. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.