The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the Player SkillClass
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #50
RE: How to change the Player SkillClass
The problem is your spawn groups look like this:

Code:
[SPAWN SPAWN_ForestMonsters]
CATEGORY=Spawn Groups
SUBSECTION=Nasties
DESCRIPTION=Forest Monsters
ID=c_ogre 5
ID=c_ettin_w_hammer 5
ID=c_troll 3
ID=c_orc 8
ID=c_orc_captain 3
ID=c_orc_w_club 5
ID=c_orc_mage 2
ID=c_m_mongbat_arboreal 10
ID=c_corpser
ID=c_gazer
ID=c_harpy 3
ID=c_headless 10
ID=c_reaper
ID=c_wisp 5
ID=c_lizardman 3
ID=c_lizardman_mace 3
ID=c_lizardman_spear 3
ID=c_scorpion_giant 5
ID=c_spider_giant 5

when they should look like this:
Code:
[SPAWN 08016]
DEFNAME=SPAWN_ForestMonsters
CATEGORY=Spawn Groups
SUBSECTION=Nasties
DESCRIPTION=Forest Monsters
ID=C_OGRE 5
ID=c_ETTIN_W_AXE 5
ID=c_troll 3
ID=c_ORC 8
ID=c_m_orc_captain 3
ID=c_orc_w_club 5
ID=c_m_orc_mage 2
ID=C_M_MONGBAT_ARBOREAL 10
ID=c_corpser
ID=c_gazer
ID=c_harpy 3
ID=c_headless 10
ID=c_reaper
ID=c_WISP 5
ID=c_lizardman 3
ID=c_lizardman_mace 3
ID=c_lizardman_spear 3
ID=c_scorpion_giant 5
ID=c_spider_giant 5

see the difference?
In the standard pack the [SPAWN XXXX] is a numeric value which is what the script uses, in the SCP pack that line is a string.

If you don't want to move up to the later nightly versions, you may be able to get away with just downloading the latest scripts that go with the nightly and copying the sphere_spawns.scp into your folder, overwriting your existing one.

Or you can go down the defs in my script and change the numbers to the names.

[Image: 2nis46r.jpg]
(This post was last modified: 01-05-2013 07:55 AM by Mordaunt.)
01-05-2013 01:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to change the Player SkillClass - Mordaunt - 01-05-2013 01:49 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)