-
Posts
4,269 -
Joined
-
Last visited
-
Days Won
54
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by imthenewguy
-
Changed Status from Pending to Closed Changed Fixed In to 2.0.13
-
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); }
-
He may be calling my hook to prevent the skill from working: STOnLockpickAttempt or is returning on CanUseLockedEntity.
-
Yeah sounds like a conflict.
-
Changed Status from Pending to Closed Changed Fixed In to Next Version
-
Yeah can add those to next release.
-
Changed Status from Pending to Closed
-
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.
-
What commands specifically
-
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.
-
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.
-
Changed Status from Pending to Closed
-
Oops. Updated the download package to include the mechanics quest plugin.
-
-
Changed Status from Pending to Closed Changed Fixed In to Next Version
-
I'll add a failsafe to the despawn process in the next release. Reloading the plugin will fix the issue for the moment.
-
-
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.
-
- 1,394 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
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.
-
- 1,394 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
Changed Status from Pending to Closed Changed Fixed In to Next Version
-
Will update in next release.
-
- 1,394 comments
-
- #leveling
- #progression
- (and 19 more)
