Mordaunt
Super Moderator
Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35
|
RE: How to change the Player SkillClass
in the file it's this section:
Code:
[DEFNAME spawner_setting]
gembit_gap 20 //gap between gembits (suggested: water ~200, forest & grass ~75, town & jungle ~50, sand, snow & swamp ~40, dirt ~30, GY 20)
Red_spawn 50 //% chance that a spawn placed with be a monster spawn for said terrain 0 to disable
//If the map you are spawning has dungeons to the left hand of the map set this figure about 100 time after the point the map starts
//0=start spawning at def.gembit_gap +5 tiles from map edge
dungeon_offset 0
//If the map you are spawning has dungeons to the right hand of the map set this figure about 100 tiles from the edge of the map
//(4906 default map) spawning will stop at def.gembit_gap +5 tile from edge of map if dungeon_cutoff is larger than map size.
dungeon_cutoff 4906
//GEMBITS WILL ONLY BE PLACED IF <type>_spawn = 1 for each terrain type listed below.
//Water spawns:
t_water_spawn 0 //Toggle to enable/disable spawning on water
t_water_amount 2 //number to spawn in this area
t_water_spawn_group 0800e //Spawn group to use to populate this type
t_water_min_time 60
t_water_max_time 120
//Land spawn types:
//These spawns cover the various terrain types on land
t_grass_spawn 0 //Toggle to enable/disable spawning on grass
t_grass_amount 10
t_grass_spawn_group 08010
t_grass_spawn_group_red 08007
t_grass_min_time 5
t_grass_max_time 20
t_forest_spawn 0 //Toggle to enable/disable spawning in forest
t_forest_amount 10
t_forest_spawn_group 08010
t_forest_spawn_group_red 08016
t_forest_min_time 5
t_forest_max_time 20
t_dirt_spawn 0 //Toggle to enable/disable spawning on dirt (farm type)
t_dirt_amount 3
t_dirt_spawn_group 08011
t_dirt_min_time 5
t_dirt_max_time 20
t_jungle_spawn 0 //Toggle to enable/disable spawning in jungle
t_jungle_amount 5
t_jungle_spawn_group 08012
t_jungle_spawn_group_red 08018
t_jungle_min_time 5
t_jungle_max_time 20
t_swamp_spawn0 //Toggle to enable/disable spawning in swamp
t_swamp_amount 10
t_swamp_spawn_group 08013
t_swamp_spawn_group_red 08017
t_swamp_min_time 5
t_swamp_max_time 20
t_town_spawn 0 //Toggle to enable/disable town critters affects guarded towns only!
t_town_amount 1 //number to spawn in this area
t_town_spawn_group 08049 //Spawn group to use to populate this type
t_town_min_time 5 //minumum spawn time
t_town_max_time 20 //maximum spawn time
t_snow_spawn 0 //Toggle to enable/disable spawning on snow
t_snow_amount 5 //number to spawn in this area
t_snow_spawn_group 010011 //Spawn group to use to populate this type
t_snow_min_time 5
t_snow_max_time 20
t_sand_spawn 0 //Toggle to enable/disable spawning on sand
t_sand_amount 5
t_sand_spawn_group 010012
t_sand_min_time 5
t_sand_max_time 20
//NEW! GY SPAWNING
t_graveyard_spawn 4 //0=off, 1=weak, 2=strong, 3=all, 4=random
t_graveyard_amount 3
t_graveyard_spawn_group_1 08001 //weak
t_graveyard_spawn_group_2 08002 //strong
t_graveyard_spawn_group_3 08003 //all
t_graveyard_min_time 5
t_graveyard_max_time 20
t_graveyard_roam 18 //roam distance for graveyard creatures to keep them within the vicinity
//Language compatibility. If language is other than english, adjust for translation here
Graveyard_name Graveyard //name for graveyards
Cemetary_name Cemetary //name for cemetaries
//END OF DEF SETTINGS
If you want different spacing of the gembits, you'll have to spawn those terrains seperately in the script. The first line in each section switches spawning for that terrain type on and off.
Also make sure you followed the instruction here:
Code:
The Map section of your sphere.ini should look like this (Uncomment the lines starting with MAP obviously):
//
// To activate ML-sized map #0 uncomment the next line (don't forget to uncomment
// sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want
// to use the default areas)
// Map0=7168,4096,-1,0,0
//
// To activate ML-sized map #1 uncomment the next line
// Map1=7168,4096,-1,1,1
//
//
// MAP2=2304,1600,32,2,2
// MAP3=2560,2048,32,3,3
// MAP4=1448,1448,8,4,4
// MAP5=1280,4096,64,5,5
the script uses these settings from your ini to work out how big the map is supposed to be.
|
|
12-31-2012 11:49 AM |
|
|
AmpereJoule
Journeyman
Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
|
RE: How to change the Player SkillClass
now my "function_spawnbackground.scp" is:
Code:
//GEMBITS WILL ONLY BE PLACED IF <type>_spawn = 1 for each terrain type listed below.
//Water spawns:
t_water_spawn 1 //Toggle to enable/disable spawning on water
t_water_amount 2 //number to spawn in this area
t_water_spawn_group 0800e //Spawn group to use to populate this type
t_water_min_time 60
t_water_max_time 120
//Land spawn types:
//These spawns cover the various terrain types on land
t_grass_spawn 1 //Toggle to enable/disable spawning on grass
t_grass_amount 10
t_grass_spawn_group 08010
t_grass_spawn_group_red 08007
t_grass_min_time 5
t_grass_max_time 20
t_forest_spawn 1 //Toggle to enable/disable spawning in forest
t_forest_amount 10
t_forest_spawn_group 08010
t_forest_spawn_group_red 08016
t_forest_min_time 5
t_forest_max_time 20
t_dirt_spawn 1 //Toggle to enable/disable spawning on dirt (farm type)
t_dirt_amount 3
t_dirt_spawn_group 08011
t_dirt_min_time 5
t_dirt_max_time 20
t_jungle_spawn 1 //Toggle to enable/disable spawning in jungle
t_jungle_amount 5
t_jungle_spawn_group 08012
t_jungle_spawn_group_red 08018
t_jungle_min_time 5
t_jungle_max_time 20
t_swamp_spawn 1 //Toggle to enable/disable spawning in swamp
t_swamp_amount 10
t_swamp_spawn_group 08013
t_swamp_spawn_group_red 08017
t_swamp_min_time 5
t_swamp_max_time 20
t_town_spawn 1 //Toggle to enable/disable town critters affects guarded towns only!
t_town_amount 1 //number to spawn in this area
t_town_spawn_group 08049 //Spawn group to use to populate this type
t_town_min_time 5 //minumum spawn time
t_town_max_time 20 //maximum spawn time
t_snow_spawn 1 //Toggle to enable/disable spawning on snow
t_snow_amount 5 //number to spawn in this area
t_snow_spawn_group 010011 //Spawn group to use to populate this type
t_snow_min_time 5
t_snow_max_time 20
t_sand_spawn 1 //Toggle to enable/disable spawning on sand
t_sand_amount 5
t_sand_spawn_group 010012
t_sand_min_time 5
t_sand_max_time 20
//NEW! GY SPAWNING
t_graveyard_spawn 4 //0=off, 1=weak, 2=strong, 3=all, 4=random
t_graveyard_amount 3
t_graveyard_spawn_group_1 08001 //weak
t_graveyard_spawn_group_2 08002 //strong
t_graveyard_spawn_group_3 08003 //all
t_graveyard_min_time 5
t_graveyard_max_time 20
t_graveyard_roam 18 //roam distance for graveyard creatures to keep them within the vicinity
//Language compatibility. If language is other than english, adjust for translation here
Graveyard_name Graveyard //name for graveyards
Cemetary_name Cemetary //name for cemetaries
//END OF DEF SETTINGS
and my "sphere_spawns.scp" has the
Code:
[SPAWN 010011]
DEFNAME=SPAWN_SnowMonsters
CATEGORY=Spawn Groups
SUBSECTION=Nasties
DESCRIPTION=Snow Monsters
ID=c_m_elem_ice
ID=c_m_elem_snow
ID=c_m_ice_serpent
ID=c_m_frostooze
ID=c_m_frostspider
ID=c_m_frost_troll
ID=c_m_frost_ettin
[SPAWN 010012]
DEFNAME=SPAWN_SandMonsters
CATEGORY=Spawn Groups
SUBSECTION=Nasties
DESCRIPTION=Sand Monsters
ID=c_scorpion_giant
ID=c_snake_giant
that you made.
and here it is my "sphere.ini":
Code:
// To activate ML-sized map #0 uncomment the next line (don't forget to uncomment
// sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want
// to use the default areas)
Map0=7168,4096,-1,0,0
// To activate ML-sized map #1 uncomment the next line
Map1=7168,4096,-1,1,1
MAP2=2304,1600,32,2,2
MAP3=2560,2048,32,3,3
MAP4=1448,1448,8,4,4
MAP5=1280,4096,64,5,5
(This post was last modified: 12-31-2012 12:23 PM by AmpereJoule.)
|
|
12-31-2012 12:19 PM |
|
|
AmpereJoule
Journeyman
Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
|
RE: How to change the Player SkillClass
my spheretables.scp is like this:
Code:
// -----------------------------------
scripts/maps/sphere_map0.scp
scripts/maps/sphere_map0_ml.scp
scripts/maps/sphere_map1.scp
scripts/maps/sphere_map2.scp
scripts/maps/sphere_map3.scp
scripts/maps/sphere_map4.scp
scripts/maps/sphere_map5.scp
scripts/maps/sphere_map_points0.scp
scripts/maps/sphere_map_points0_ml.scp
scripts/maps/sphere_map_points1.scp
scripts/maps/sphere_map_points2.scp
scripts/maps/sphere_map_points3.scp
scripts/maps/sphere_map_points4.scp
scripts/maps/sphere_map_points5.scp
// -----------------------------------
my sphere.ini was like this: (before I change the maps)
Code:
// To activate ML-sized map #0 uncomment the next line (don't forget to uncomment
// sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want
// to use the default areas)
Map0=7168,4096,-1,-1
// To activate ML-sized map #1 uncomment the next line
Map1=7168,4096,-1,-1
So, I have to sleep.
Thank you man, let's forget this for a while. I think I will be back in a month \o\.
(This post was last modified: 12-31-2012 01:22 PM by AmpereJoule.)
|
|
12-31-2012 01:13 PM |
|
|