spawning ncp`s?

Discussion in 'The Temple of Elemental Evil' started by devil of all rumors, Jul 17, 2005.

Remove all ads!
  1. devil of all rumors

    devil of all rumors Member

    Joined:
    Jul 16, 2005
    Messages:
    32
    Likes Received:
    0
    Can some one please explain to me the basic way of spawning ncp`s please.
     
  2. Cujo

    Cujo Mad Hatter Veteran

    Joined:
    Apr 4, 2005
    Messages:
    3,636
    Likes Received:
    1
    Do a search, I seen it somewhere around ages ago, but I'm not looking for it and I can't do spawning either.
     
  3. Shiningted

    Shiningted The Thunder of Justice Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,748
    Likes Received:
    376
    from utilities import * (hit enter)

    game.obj_create(#####, location_from_axis(###L, ###L)) (hit enter)

    The first number is the id# from the protos.tab of the NPC u want to spawn - Meleny is 8015, or, if you have other tastes, Kobort is 8005.

    The other numbers are the X and Y locations of where u want to spawn them. To find these, stick you first (leftmost) character where u want them to appear, then do this:

    location_to_axis(game.party[0].location)
     
  4. devil of all rumors

    devil of all rumors Member

    Joined:
    Jul 16, 2005
    Messages:
    32
    Likes Received:
    0
    cheers ted i will test it inabit
     
  5. devil of all rumors

    devil of all rumors Member

    Joined:
    Jul 16, 2005
    Messages:
    32
    Likes Received:
    0
    1 last thing if it`s possible can i have a numbered list of ncp`s?
     
  6. Morpheus

    Morpheus Mindflayer Veteran

    Joined:
    Nov 11, 2003
    Messages:
    539
    Likes Received:
    1
    Right on. Continue like this, and you'll suffer the same fate as your twin domonater.

    Listen carefully now: DO NOT spam this board with posts that go "plz plz plz anser me!".

    Patience is a virtue.

    The file "description.mes" as a list of all NPCs. What are ncp's?
     
  7. devil of all rumors

    devil of all rumors Member

    Joined:
    Jul 16, 2005
    Messages:
    32
    Likes Received:
    0
    ok morpheus i will stop spamming
     
  8. devil of all rumors

    devil of all rumors Member

    Joined:
    Jul 16, 2005
    Messages:
    32
    Likes Received:
    0
    my toee program shuts down when i try to spawn an ncp any thoughts why this is happening?
     
  9. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    This may happen if one of the parameters is wrong (almost surely the prototype identifier - the first parameter). It's a good idea to have a list of all objects in the game, but there's no such a list here on Co8. It's kind of hard to explain how to get the list of objects though (if you never modded the game before) - basically speaking there is a file (description.mes) that can be extracted from one of the DAT files, that contains a list of numbers and corresponding object descriptions... Hope this helps.

    Also, check the thread "SPAWNING CREATURES (A LITTLE WEIRD BUT WORKS)" in "General modification", it has plenty of basic information about spawning objects (NPCs too).

    By the way, Morpheus has a good point when he says that spamming this board is not a good idea. It's your first time you do it, so you won't get punished right now, but if you continue doing the same thing it's a good way to get banned. You have been warned. All the spam posts are deleted.

    - Agetian
     
Our Host!