Jump to content

Help spawn a monster


Recommended Posts

Hello, first of all sorry for my bad english, I need help to be able to implement any monster in the game, and I tried with the file spawn.txt but it seems to be useless, for example, I want to put a Goblin_hunter_yellow_elite id 934 from Creatures. txt on the beach dryad and then add the following to spawn.txt:

--Enter your comment here

mgr.addSpawn (11,7,0,{ -- Dryad Turtles
    total_density = 20,
    layermap_id = 3,
    {934,3,"",0,0,3,0}, // here the new monster
    {206,3,"",0,0,1,0},
    {80,1,"",0,0,1,0},
    {206,5,"",0,0,2,0},
} )

 

I add these in all Dryad Turtles, but nothing happens, another thing, if I remove the file spawn.txt from my game folder and put it on the desktop and start the game, all the enemies continue to appear, as if that file was useless.

 

Then.. how I can add a monster to the ''world'', need a world editor or something? thanks in advanced.

  • Like! 1
Link to comment

Monsters are added in 3 different ways:

  1. in the sector files within "persector.zip"  - this is used for static solitary creatures you want to appear in a precise spot.  Most merchants and interactive NPC's are added here. Some monsters are added here, but not many. Mostly it's dungeon rats and creatures in the Sloeford area. Requires s2se.exe to edit these files.
  2. as a taskcreature within quest.txt - this is a good alternative to editing the sector files. Also seems to be more reliable, since sometimes creatures in the sector files don't appear.
  3. spawn entries in spawn.txt - this is used to randomly disperse groups of monsters within a given sector. This should be sufficient for what you're trying to do.  Are you sure you're looking in the right sector in-game?
Quote

 {934,3,"",0,0,3,0}, // here the new monster

Try changing it to this:

 {934,10,"",0,0,0,0},

  • Thanks! 1
Link to comment
8 hours ago, RagBoy said:

Hello, first of all sorry for my bad english, I need help to be able to implement any monster in the game, and I tried with the file spawn.txt but it seems to be useless, for example, I want to put a Goblin_hunter_yellow_elite id 934 from Creatures. txt on the beach dryad and then add the following to spawn.txt:

--Enter your comment here

mgr.addSpawn (11,7,0,{ -- Dryad Turtles
    total_density = 20,
    layermap_id = 3,
    {934,3,"",0,0,3,0}, // here the new monster
    {206,3,"",0,0,1,0},
    {80,1,"",0,0,1,0},
    {206,5,"",0,0,2,0},
} )

 

I add these in all Dryad Turtles, but nothing happens, another thing, if I remove the file spawn.txt from my game folder and put it on the desktop and start the game, all the enemies continue to appear, as if that file was useless.

 

Then.. how I can add a monster to the ''world'', need a world editor or something? thanks in advanced.

Happy to see you here playing the game and mods... 

welcome to the forums friend!

:)

 

gogo

Link to comment
8 hours ago, gogoblender said:

Happy to see you here playing the game and mods... 

welcome to the forums friend!

:)

 

gogo

ty.

 

14 hours ago, Flix said:

Monsters are added in 3 different ways:

  1. in the sector files within "persector.zip"  - this is used for static solitary creatures you want to appear in a precise spot.  Most merchants and interactive NPC's are added here. Some monsters are added here, but not many. Mostly it's dungeon rats and creatures in the Sloeford area. Requires s2se.exe to edit these files.
  2. as a taskcreature within quest.txt - this is a good alternative to editing the sector files. Also seems to be more reliable, since sometimes creatures in the sector files don't appear.
  3. spawn entries in spawn.txt - this is used to randomly disperse groups of monsters within a given sector. This should be sufficient for what you're trying to do.  Are you sure you're looking in the right sector in-game?

Try changing it to this:

 {934,10,"",0,0,0,0},

Thanks for answer me I have added {934.10, "", 0,0,0,0}, but it still doesn't work. I also added it to kueste but nothing. Maybe it is what you say and I am not looking in the correct sector, because I have the game in Spanish and in the document it is in English. I'm looking at the dryad's spawn when you create the character, in that area, but I only see turtles and bandits I adds it to kueste in case that area was coastal, but neither ... If you know what the maps are called in the spawn of when you create the dryad, it would help me a lot. Thanks in advanced.

Link to comment

Ok now I understand. You are adding the goblins in the "turtle island" area of the Dryad Islands. That's a very different part of the world than the starting area on the Golden Coast, where you're checking.  I'm having some trouble getting s2se.exe going on my new PC so I can't check the coordinates right now, but that is the tool that is most helpful for checking sectors and coordinates.

https://drive.google.com/open?id=0BwXXP3Exg5v4VVFoZGhOXzJqMTA

It should be extracted into the game's "pak" folder.

Link to comment
34 minutes ago, Flix said:

Ok now I understand. You are adding the goblins in the "turtle island" area of the Dryad Islands. That's a very different part of the world than the starting area on the Golden Coast, where you're checking.  I'm having some trouble getting s2se.exe going on my new PC so I can't check the coordinates right now, but that is the tool that is most helpful for checking sectors and coordinates.

https://drive.google.com/open?id=0BwXXP3Exg5v4VVFoZGhOXzJqMTA

It should be extracted into the game's "pak" folder.

Thanks, but I get the follow error when executte the program: https://ibb.co/TLPM4VP

Sacred 2 is not installed.

Sacred 2 Sector Editor needs Sacred 2 files but without a valid license you're not allowed to use them. xD

Link to comment
41 minutes ago, Flix said:

Make a dummy file called " nos2 " in the pak folder.  A dummy file is a file with no file extension.

Then try the program again.

Yeah now it open, but it¡s weird to understand. per example what is (37, 30) AQ-19?  37, 30 they look like coordinates, but AQ-19 ? xD

Link to comment
22 minutes ago, Flix said:

You don't have to worry about that part. Just look at the first part.  37,30 is the sector.  These numbers are used in spawn.txt.

For example 

mgr.addSpawn (11,7,0,{ -- Dryad Turtles
    total_density = 20,
    layermap_id = 3,
    {934,3,"",0,0,3,0}, // here the new monster
    {206,3,"",0,0,1,0},
    {80,1,"",0,0,1,0},
    {206,5,"",0,0,2,0},
} )

The first two numbers are the x and y axis sector coordinates.

The third number indicates overworld or dungeon levels.

  •  0 = overworld
  • -1 = dungeon level one
  • -2 = dungeon level two

Yes, he was finally able to add the goblin to the map, thank you very much for your help.

  • Like! 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up