Jump to content

imthenewguy

Curator
  • Posts

    4,269
  • Joined

  • Last visited

  • Days Won

    54

Everything posted by imthenewguy

  1. Changed Status from Pending to Closed Changed Fixed In to 2.0.13
  2. Hi I am playing around with this plugin. I managed to get the NPC spawning and moving around, but it's state is always set to Roaming. It does not attack me if I go near it or attack it. It's state seems to be stuck in Roaming. What might I be doing wrong? JObject GetNpcConfig(NpcConfig npcConfig) { HashSet<string> states = npcConfig.Stationary ? new HashSet<string> { "IdleState", "CombatStationaryState" } : new HashSet<string> { "RoamState", "ChaseState", "CombatState" }; JObject sensory = new JObject() { ["AttackRangeMultiplier"] = npcConfig.attackRangeMultiplier, ["SenseRange"] = npcConfig.senseRange, ["MemoryDuration"] = npcConfig.memoryDuration, ["CheckVisionCone"] = npcConfig.checkVisionCone, ["VisionCone"] = npcConfig.visionCone }; JObject config = new JObject() { ["Name"] = npcConfig.name, ["WearItems"] = new JArray { npcConfig.wearItems.Select(x => new JObject { ["ShortName"] = x.shortName, ["SkinID"] = x.skinID }) }, ["BeltItems"] = new JArray { npcConfig.beltItems.Select(x => new JObject { ["ShortName"] = x.shortName, ["Amount"] = x.amount, ["SkinID"] = x.skinID, ["Mods"] = new JArray { x.Mods.Select(y => y) }, ["Ammo"] = string.Empty }) }, ["Health"] = npcConfig.health, ["RoamRange"] = npcConfig.roamRange, ["ChaseRange"] = npcConfig.chaseRange, ["DamageScale"] = npcConfig.damageScale, ["AimConeScale"] = npcConfig.aimConeScale, ["DisableRadio"] = true, ["Stationary"] = false, ["CanUseWeaponMounted"] = true, ["CanRunAwayWater"] = Name != "Underwater Lab" && Name != "Train Tunnel", ["Speed"] = npcConfig.speed, ["Sensory"] = sensory, ["AreaMask"] = 1, ["AgentTypeID"] = -1372625422, ["HostileTargetsOnly"] = npcConfig.HostileTargetsOnly, ["States"] = new JArray { states }, }; return config; } [ChatCommand("spawnnpc")] void SpawnNPC(BasePlayer player) { ScientistNPC npc = NpcSpawn.Call("SpawnNpc", player.transform.position, GetNpcConfig(config.npc)) as ScientistNPC; if (npc == null) return; SpawnedNPCs.Add(npc); NpcSpawn.Call("SetHomePosition", npc, player.transform.position); }
  3. He may be calling my hook to prevent the skill from working: STOnLockpickAttempt or is returning on CanUseLockedEntity.
  4. Yeah sounds like a conflict.
  5. Changed Status from Pending to Closed Changed Fixed In to Next Version
  6. Yeah can add those to next release.
  7. Changed Status from Pending to Closed
  8. Not sure; I don't own it. My plugin simply overrides the standard growth loop to accelerate it and ignore conditions like sunlight, temp, water and soil. It uses the native methods to handle the growth phases etc so all of the standard oxide hooks are called. Assuming autofarm uses those hooks, it should be compatible, but there is noway to tell without running them together.
  9. What commands specifically
  10. There isn't any way to achieve this really. This plugin simply provides group access for a temporary period of time when consuming the token. It doesn't restrict token consumption if another token is active.
  11. imthenewguy

    Unused plugin

    If you are not wearing any enhanced equipment or do not have an enhanced weapon/tool active, then nothing will show up. Run the command: /genitem hoodie, equip it, and then access the menu.
  12. imthenewguy

    No Mechanics Quest

    Changed Status from Pending to Closed
  13. imthenewguy

    No Mechanics Quest

    Oops. Updated the download package to include the mechanics quest plugin.
  14. Not with the current state of Professions. Have been contemplating a re-write though.
  15. imthenewguy

    Can not spawn arena

    Changed Status from Pending to Closed Changed Fixed In to Next Version
  16. imthenewguy

    Can not spawn arena

    I'll add a failsafe to the despawn process in the next release. Reloading the plugin will fix the issue for the moment.
  17. imthenewguy

    Button missing?

    Works fine for me. Be sure to use the entity name, not the item name.
  18. Nah it is setup to be player specific, not skin or weapon specific.
  19. imthenewguy

    Bug with Backpacks

    I'm still waiting for a response to my question from the 4th to clarify exactly what the issue is, because it's not happening to me.
  20. I've added an xp mod setting for each prestige level so you can set the xp gain rates in the next release.
  21. imthenewguy

    xp from raidable bases

    Hey mate, all my plugin does is watch the hook call "OnRaidableBaseCompleted", checks the mode (level), and awards the xp to each raider that RaidableBases feeds through. Not sure what constitutes a completed raid; you would need to find that out from NIvex.
  22. Changed Status from Pending to Closed Changed Fixed In to Next Version
  23. Will update in next release.
2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

140k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.