Changes to /npc

Post your ideas and suggestions here
Post Reply
User avatar
Corinth Alkorda
Lost One
Posts: 2062
Joined: Tue Aug 23, 2005 1:58 am
Location: The Shadowlands
Contact:

Changes to /npc

Post by Corinth Alkorda »

I sincerely doubt that everyone is always going to remember to reset the npcs, even if they should be able to. Perhaps there's a way to program RPMod to automatically reset NPC settings after a certain length of time, unless explicitly stated otherwise. For example:

By default, NPCs will stay in a frozen state for 20 minutes (note: 20 minutes is an arbitrary length of time).

/npc freeze 1
/npc spawn kyle kylebot red kyle

These two commands will freeze the NPCs, then spawn a frozen Kyle. If left unchecked, the server will be reset to /npc freeze 0 in 20 minutes.

/npc spawn kyle kylebot red kyle 1

Where the "1" value at the end controls a permanent frozen state. Based on this, the new NPC command values would be spelled out as:

/npc spawn [vehicle] <type> [targetname] [team] [model] [frozen] [X Y Z YAW]
race_human | mentor_axem.keigoku | padawans_cookanaka / kero.zen / bram.philipi / jude.alkorda / nivek.tholmai / aknaross.myotis / lena.aleksandrovna / sasha.raven|
User avatar
Aayla Vigil
Lost One
Posts: 2712
Joined: Sun Jul 29, 2007 3:11 am
Location: Jedi Temple on Alzoc III

Post by Aayla Vigil »

A good suggestion, mostly because selective npc freezing works only if you write the command AFTER the npc has been spawned, hence after it is locked on the spawner, which means that when unfrozen it attacks only the spawner.

You can't choose what is right

User avatar
Corinth Alkorda
Lost One
Posts: 2062
Joined: Tue Aug 23, 2005 1:58 am
Location: The Shadowlands
Contact:

Post by Corinth Alkorda »

I'd like to amend this with an extra location option.

Instead of only coordinates, we should be able to spawn a npc near a player, in the same way that we can rptele near a player.

This will help admins to spawn npcs for players remotely.
race_human | mentor_axem.keigoku | padawans_cookanaka / kero.zen / bram.philipi / jude.alkorda / nivek.tholmai / aknaross.myotis / lena.aleksandrovna / sasha.raven|
Post Reply