Jump to content

Telric

Members
  • Posts

    797
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Telric

  1. You'd need to add an onselfbuffupdate to remove the opposite buffs, when you add the other. in your first buff. <triggered_effect trigger="onSelfBuffUpdate" action="AddBuff" buff="BuffPVE"> <requirement name="NotHasBuff" buff="god"/> <requirement name="CVarCompare" cvar="_biomeradiation" operation="Equals" value="0"/> </triggered_effect> change that to: <triggered_effect trigger="onSelfBuffUpdate" action="RemoveBuff" buff="BuffPVP"> <requirement name="NotHasBuff" buff="god"/> <requirement name="CVarCompare" cvar="_biomeradiation" operation="Equals" value="0"/> </triggered_effect> <triggered_effect trigger="onSelfBuffUpdate" action="AddBuff" buff="BuffPVE"> <requirement name="NotHasBuff" buff="god"/> <requirement name="CVarCompare" cvar="_biomeradiation" operation="Equals" value="0"/> </triggered_effect> and the same thing with the other part. Also of note an update rate of .0001 is extremely un needed and may cause fps issues if that buff is added to several people at once. every .0001 second it would be forced to check those variables. An update rate of .1 to .3 would be more then enough for this type of buff.. i'd even say a 1 sec update check would suffice. but just food for thought for ya.
  2. A placeholder will randomly choose between the blocks set in the blockplaceholders.xml... This one will be one of these: <placeholder name="metalSheetRandomHelper"> <block name="corrugatedMetalSheetBent1"/> <block name="corrugatedMetalSheetBent2"/> <block name="corrugatedMetalSheetBent3"/> <block name="corrugatedMetalSheetBent4"/> </placeholder> However for some reason i'm having slight memory of me trying this before and it wouldnt work, so I had to put a plant or an upgraderated block between the one the player upgrades and the blockplaceholder... I could be misremembering, but I'm fairly sure i remember I couldn't get it to be random or something like that, when it was upgraded with an item... A growing block would work though. I know that for a fact as I use them in my mods a lot. Edit: Also you're able to use a prob attribute, so you're able to do % chances of that block being chosen.
  3. Just added German localization to the Horses2.0 mod, courtesy of @sechsterversuch ! Thanks for translating!
  4. Yeah, i was tryin to get all of them without having to go through the blocks.xml and name each container. But that looks like what i might have to do. Thanks!
  5. err loading prefab "maybellsfarm" failed: block "plantedmaybellsfarmrandomhelper" used in prefab is unknown. This line is saying it cannot find the block used in the prefab. It doesnt matter if you have the prefab folder if you don't have the blocks and models as well. Both the server and the client need the files installed in order to play together.
  6. Hey all, I'm attempting to remove the Loot class from all blocks. <remove xpath="/blocks/block[contains(@name, a)]/property[contains(@name, Class and @value, Loot)]"/> This is my latest attempt. I've tried a && in place of the and, and a few other methods. My first attempt was just to remove the class, but that also removed all other types of classes, so I'm trying to pin point just the ones with Loot. I've also tried just @value, Loot.. But it threw errors saying something can't be null. Any help would be sweet. Ty
  7. You still need the files on the client as it adds new blocks with new models.
  8. For starters, read up on what each xpath does. Setattribute would be to add something within a node. Think of it more like AddAttribute. If i wanted to add a value to a line that doesnt have one, for example: <item name="billysbillystick"> doesnt have a value. I could use setattribute to add value="x" and it would come out <item name="billysbillystick" value="x">.. What you're looking for is to add to something existing. In other words append. So... <append xpath="..."> Also note, you have to go to where the items are located in this instance. You can't just go to the trader items. You're trying to add an item to an item group, not the trader itself. Second up, if you have notepad++, I suggest doing this.. Open the normal traders.xml and hit alt 0. This will collapse all nodes. As you open them up, write them in the xpath, untill you get to where you're trying to add. Seems like you understand how the bracket stuff works, so nothin to really say there. To help, here's the xpath you'd want to use, but try to do it yourself first to see how close you get with this new information.
  9. Would need to see the xpath you're using to put that item into the trader groups / inventory. Selling blocks is possible, so it might just be a typo or some incorrect node in the xpath.
  10. Ill be doing more windows eventually.. A bit burned out on modeling a ton right now, but I want to get more for the pack. It is nice to open windows.. Plus i made it so the hitboxes move out of the way, letting you shoot things out of it, but only when its open. lol That makes sense about other authors work being in compo.. Would be a shame if all kinds of POIs were negated because they used some decoration pack that is no longer supported..
  11. Thanks! The animations are whats missing in vanilla.. Not too many blocks move around. lol. Idk how compopack does their stuff, but they are welcome to use my deco mod in their mod if they wish..
  12. Hey all! Just dropped a new mod. Lately I've been in the mood to do some modeling, so i made a little decoration pack. It will be updated over time when i get the itch to do a lot of modeling, or when i make other mods with decorations. If you have any comments about the decorations, or suggestions, let me know. This first release puts out about 120 new blocks to place.
  13. Np. Any mod that adds new things such as models, sounds, icons, etc need to be installed on both client and server to work. I personally will change my forum post to include that each mod needs to be installed this way, and will show if the mod is server side or not. Ill do that tomorrow after work.
  14. It seems you don't have them installed on the client. They need to be both on the server and the client, since they add new models.
  15. I'm actually working on a mod just like this. Inspired by Project Zomboid. At the start of the game, you'll choose (or let the game randomly choose) your personality traits. Each one has a positive, but also a negative. An example: Trait: Vegetarian + Get 100% more food and stam from plant based meals + Gather 1 additional crop from wild plants - Cannot consume any form of meat products. Even just one trait will completely change the way the game is played. Some obviously more than others.. But imagine not being able to eat meat products alone... That puts much more focus on farming, which i personally never do. So if I got that trait via random or chosen, it would make me play a whole new way that I havent done since.... Probably a12. lol. Never was a farmer. The mod isn't near completion, but its coming eventually. You'll have to check it out for a varied playstyle when its out.
  16. Right. When i tried it with a few friends on a server, some of them couldnt even see the thumper, only hear it. Then after it finished, even though we were all in the same area, no one got the buff to be able to harvest the finished thumper. That test was done quite a while ago, though i doubt anything has changed for buffs since then.
  17. I just tried the 19.2 version of the horses modlet and it works fine on 19.4, so I'll add that to the post that it works on current version. Spiders should run fine on 19.3. I dont recall having to do much to that one when updating. As for the crashing, I'm not sure if it would be mod related. If it was any mod, it would spit out an error or some information about the crash. If it's just hard crashing to desktop, that sounds more like a memory issue to me. I've been playing around with the horses mod on a single player game for a bit and its working just fine. No crashes. When yours crashes, are there a lot of people on the server? or is someone spawning in a ton of horses or something? If it was somehow mod related, specific information like what was going on when it crashed would be greatly helpful in tracking any problems down. As of right now, all I can really do is test it.. which it's working fine on my end. One thing is, I never test with any other mods from others. All of my modlets should work together with any other of my modlets (unless specified like horses 2.0 and horses 1.0)... So if you do have any other mods from others, I cannot guarantee all will play fairly.
  18. I don't think you'd use a setattribute. I believe that's only for adding some new attribute to a node. You'd want to do something like this: <set xpath="/lootcontainers/lootcontainer[@id="256"]/@count">all</set> as an example.
  19. Hey all, I just put up a poll for anyone to "vote" (it's not a competition so vote isn't the correct word) on which mods from me you enjoy playing. Choose any that apply. I've been slackin on motivation to mod lately but want to get back into it. Your answers will help me see what kind of mods are enjoyed the most. Then i can focus more on those types of mods. Thank you for playing the mods, and I hope you let me know what you enjoy!
  20. Np. I just loaded it up in a game that only has modlets i've made and the robot made a b line straight to that juicy thumper... So it must be some weird happening or some interference with another mod. Adding that line to get it to attack the player should work though.
  21. I'm not sure what would be causing them to not attack the thumper. The thumper is an entity with the EntityNPC class. The robot has the AI task: <property name="AITask-5" value="ApproachAndAttackTarget" data="class=EntityNPC,0"/> which would make it attack anything with the EntityNPC class. It could be something with the other mods in that list.. I haven't messed with most of them. If you want it to attack the player as well, you can add ",EntityPlayer,25" after the 0 in that data property. Without quotes of course. Make sure you only put it on the DualBladeRobot entity. Accidentally adding it to the thumper somehow will cause the thumper to start walking. lol.
  22. What exactly are you trying to accomplish? Do you want the robots to attack the player / zombies? That would be easy enough to change...
  23. Those robots are only able to specifically target the thumper. No other zombies or even the player. They make a b line to the thumper and wail on it. I guess if it doesnt detect the thumper in range or something, it's possible it'd just wander around aimlessly.
×
×
  • Create New...