@ Eugene
Quote: "The setup.ini file copied into the game path only points to the level that uses RPG-Mod - could this be the reason why only one level uses the rpg_mod and the rest do not?"
It would not be the rpg_setup.fpi, but the rpg_clues_setup.fpi where it will tell the mod what to use for what level. For example, here is a snippet from my WW2 Game rpg_clues_setup.fpi:
;Artificial Intelligence Script
;Header
desc = rpg setup clues and quests
;Triggers
;
;
:rpg_setup_cluetextstyle:rpg_cluefontbold=0,rpg_cluefontsize=24,rpg_cluestartx=10,rpg_cluefontname=verdana,rpg_clueusetitle=1,rpg_cluetitletext=Your Clues,rpg_cluetitleusergb=1,rpg_cluetitlefontcolor_blue=132,rpg_cluetitlefontcolor_green=119,rpg_cluetitlefontcolor_red=19,rpg_cluefontcolor_blue=37,rpg_cluefontcolor_green=208,rpg_cluefontcolor_red=216,rpg_clueusergb=1,rpg_drawtextborder=1,rpg_clueplaceholder=Clue has not been found
;
:rpg_create_cluemaxnumber:rpg_cluemaxnumber=1
:rpg_start_cluelist:none
:rpg_addclue:rpg_cluegroupidentifier=Paper Level01,rpg_cluename=paper01_l01,rpg_cluetext=The woodshed holds supplies for emergency usage.
:rpg_end_cluelist:none
;
:rpg_setup_questtextstyle:rpg_questfontbold=1,rpg_questfontsize=14,rpg_questx=10,rpg_questfontname=verdana,rpg_questusetitle=1,rpg_questtitletext=These Are Your Missions,rpg_questtitleusergb=1,rpg_questtitlefontcolor_blue=255,rpg_questtitlefontcolor_green=255,rpg_questtitlefontcolor_red=255,rpg_questfonttransparent=0,rpg_questfontcolor_blue=101,rpg_questfontcolor_green=88,rpg_questfontcolor_red=191,rpg_questusergb=1
;
:rpg_create_questmaxnumber:rpg_questmaxnumber=4
:rpg_start_questlist:none
:rpg_addquest:rpg_questidentifier=quest1,rpg_questname=Mission 01,rpg_questdescription=Infiltration - ,rpg_questtracktime=1,rpg_queststartlevel=1
:rpg_addquest:rpg_questidentifier=quest2,rpg_questname=Mission 02,rpg_questdescription=Underground Mine Entrance- ,rpg_questtracktime=1,rpg_queststartlevel=2
:rpg_addquest:rpg_questidentifier=quest3,rpg_questname=Mission 03,rpg_questdescription=Underground Mine - ,rpg_questtracktime=1,rpg_queststartlevel=2
:rpg_addquest:rpg_questidentifier=quest4,rpg_questname=Mission 04,rpg_questdescription=Save Point #2 - ,rpg_questtracktime=1,rpg_queststartlevel=1
:rpg_end_questlist:none
;
:rpg_create_quizmaxnumber:rpg_quizmaxnumber=0
:rpg_start_quizlist:none
;
:rpg_create_quizmaxquestions:rpg_quizmaxquestions=0
;
:rpg_create_quizmaxanswerselections:rpg_quizmaxanswerseletions=0
;
:rpg_end_quizlist:none
;
:rpg_setup_objectivetextstyle:rpg_objectivelevelbased=1,rpg_objectivefontbold=0,rpg_objectivefontsize=14,rpg_objectivefontname=courier,rpg_objectiveusetitle=0,rpg_objectivefonttransparent=1,rpg_objectivefontcolor_blue=40,rpg_objectivefontcolor_green=40,rpg_objectivefontcolor_red=40,rpg_objectiveusergb=1
:rpg_setup_objectivehudbackground:rpg_objectiveusebackgroundhud=1,rpg_objectivehudbackgroundloc=rpg_mod\huds\ww2_bf\ww2_bf_objective_log.tga,rpg_objectivehudbackgroundx=10,rpg_objectivehudbackgroundy=365
:rpg_objectivetextplacement:rpg_startobjectivex=45,rpg_startobjectivey=430,rpg_checkmarkx=44,rpg_scalecheckmark=50
:rpg_objectivetextplacement:rpg_continuepromptx=70,rpg_continueprompty=730,rpg_usecontinueprompt=1
:rpg_create_objectivemaxnumber:rpg_objectivemaxnumber=16
:rpg_start_objectivelist:none
:rpg_addobjective:rpg_objectiveidentifier=radio_l01,rpg_objectivedescription=Collect Radio,rpg_objectiveuseinlevel=1,rpg_inwhichlevelisobjective=1
:rpg_addobjective:rpg_objectiveidentifier=radio_hq_l01,rpg_objectivedescription=Radio HQ,rpg_objectiveuseinlevel=1,rpg_inwhichlevelisobjective=1
:rpg_addobjective:rpg_objectiveidentifier=key01_l01,rpg_objectivedescription=Locate key to bunker,rpg_objectiveuseinlevel=1,rpg_inwhichlevelisobjective=1
:rpg_addobjective:rpg_objectiveidentifier=door2_l01,rpg_objectivedescription=Enter bunker underground,rpg_objectiveuseinlevel=1,rpg_inwhichlevelisobjective=1
:rpg_addobjective:rpg_objectiveidentifier=l01_level_end,rpg_objectivedescription=Locate level exit,rpg_objectiveuseinlevel=1,rpg_inwhichlevelisobjective=1
:rpg_addobjective:rpg_objectiveidentifier=exit_lev02,rpg_objectivedescription=Enter mine,rpg_objectiveuseinlevel=2,rpg_inwhichlevelisobjective=2
:rpg_addobjective:rpg_objectiveidentifier=maps_l03,rpg_objectivedescription=Collect maps,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=upper_tunnel_l03,rpg_objectivedescription=Navigate upper level mine,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=explosives_l03,rpg_objectivedescription=Collect explosives,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=switch01_l03,rpg_objectivedescription=Open door to lower level,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=lower_tunnel_l03,rpg_objectivedescription=Navigate lower level mine,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=explosives_plant001_l03,rpg_objectivedescription=Destroy Treasure Room #1,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=explosives_plant002_l03,rpg_objectivedescription=Destroy Treasure Room #2,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=switch02_l03,rpg_objectivedescription=Locate switch for exit,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=l03_level_end,rpg_objectivedescription=Exit Mine,rpg_objectiveuseinlevel=3,rpg_inwhichlevelisobjective=3
:rpg_addobjective:rpg_objectiveidentifier=exit_lev04,rpg_objectivedescription=Exit mine,rpg_objectiveuseinlevel=4,rpg_inwhichlevelisobjective=4
:rpg_end_objectivelist:none
;
;End of Script
As you can see, I have defined objectives and quests for each level, and they all point to which level they belong to. I did not post the entire script, but rather showing only four levels. Again, notice the script points to where my huds are, and you may need to change your script to match.
In each level at the start marker, I have an init script for my keys to activate certain RPG elements. Here is the script for Level 1, and is the template for each level (I just modify anything pointing to Level 01 and replace with the level I'm using it for):
;Artificial Intelligence Script
;Header
desc = Initlevel #1 and scan for keys pressed
;Triggers
:state=0:rpg_addhealthunits=0,rpg_displayhealthunits
;:state=0:hudreset,hudx=95,hudy=92,hudimage=languagebank\english\gamecore\huds\reserve.tga,hudmake=display
;:state=0:hudreset,hudx=94,hudy=95,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=7,hudmake=numeric
:state=0:state=1
:state=1:rpg_deletefile=mission01.txt
:state=1:rpg_openfile2write=1 mission01.txt
:state=1:rpg_write2file=1 WW2- Germany's Uprising
:state=1:rpg_write2file=1 Mission 01- Infiltration
:state=1:rpg_write2file=1 ×tamp
:state=1:rpg_write2file=1 ----------------------------
:state=1:rpg_write2file=1
:state=1:rpg_write2file=1 Objectives Completed-
:state=1:rpg_write2file=1
:state=1:state=2
;keyboard
;THIS IS THE COMMAND LINE TO DISPLAY INVENTORY
:state=2,scancodekeypressed=23:rpg_selectcatinv,rpg_entitytimerstart,state=3
;
;function keys
:state=2,scancodekeypressed=59:rpg_displaydoc=help,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=60:rpg_displaydoc=keyboard_keys,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=61:rpg_displaydoc=mission01,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=62:rpg_displayquests,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=63:rpg_showallclues,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=64:rpg_showcluecategories,rpg_entitytimerstart,state=3
;:state=2,scancodekeypressed=68:rpg_displayweaponsinventory,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=24:rpg_displayobjectives,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=34:rpg_drawplayerweapon,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=35:rpg_holsterplayerweapon,rpg_entitytimerstart,state=3
:state=2,scancodekeypressed=44:rpg_rankcontinueprompttype=0,rpg_showrank,rpg_showplayerexperience=450-225-0-0 Arial-16-r,rpg_wait4enter,state=3
;reset delay
:state=3,rpg_entitytimergreater=150:state=2
;End of Script
Quote: "the message is Category icon not found and in the game path I find that the rpg_setup file points to huds\rpg_modv320|backpack01_menu.png Should this image file not be copied somewhere into the game path?"
Here is the rpg_setup.fpi file for my WW2 game. Remember I use most, if not all items including rank, experience. If you are not, disregard the ;rank system lines. The main thing to look at is how I define my category, how I define my items, and ensure my array variable (:rpg_create_invmaxnumber:rpg_invmaxnumber=10) and (rpg_numberitemsincategory=10) equals the number of instances of :rpg_addinvitem exist.
;RPG Setup Script
;Header
desc = RPG Setup
;Triggers
;define initial setup control first
:rpg_initsetup:rpg_syncrate=7,rpg_blobshadow=0,rpg_showblood=1,rpg_playerfootfall=1,rpg_muteplayerjumpsound
;define Variables
:rpg_createvar=Gold-Artifacts-Maps-Radio-Keys-Dossiers-Books-Battery-Flashlight-Explosives-PrimaryLevelObjectives-SecondaryLevelObjectives-PrimaryObjectivesTotal-SecondaryObjectivesTotal-healthpack:none
:rpg_initvar=Gold 0-Artifacts 0-Maps 0-Radio 0-Keys 0-Dossiers 0-Books 0-Battery 0-Flashlight 0-Explosives 0-PrimaryLevelObjectives 0-SecondaryLevelObjectives 0-PrimaryObjectivesTotal 0-SecondaryObjectivesTotal 0-healthpack 0:none
;define categories
:rpg_create_catmaxnumber:rpg_catmaxnumber=1
:rpg_start_catlist:rpg_usebackgroundcathud=0,rpg_usecatnumbers=0
:rpg_addcategory:rpg_catname=Backpack,rpg_catdesc=Items I need/find on my mission.,rpg_cattype=1,rpg_caticonloc=rpg_mod\huds\ww2_bf\backpack01_menu.png,rpg_caticonx=120,rpg_caticony=715,rpg_caticonscale=75
:rpg_end_catlist:none
;define inventory
:rpg_invtitletextstyle:rpg_invtitlecategory=1,rpg_invtitleusefirstline=0,rpg_invtitle=Inventory,rpg_invtitlefontname=Verdana,rpg_invtitlefontsize=36,rpg_invtitleusergb=1,rpg_invtitlergb_red=0,rpg_invtitlergb_green=100,rpg_invtitlergb_blue=0,rpg_invtitley=75
;
:rpg_create_invmaxnumber:rpg_invmaxnumber=10
;
:rpg_start_invlist:none
:rpg_newcategory,rpg_useinvbackgroundhud=1:rpg_numberitemsincategory=10,rpg_invbackgroundhudloc=rpg_mod\huds\ww2_bf\backpack01.png,rpg_invbackgroundhudx=160,rpg_invbackgroundhudy=15
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Gold,rpg_invdesc=Gold Bars,rpg_invtype=1,rpg_inviconx=420,rpg_invicony=260,rpg_inviconloc=rpg_mod\images\ww2_bf\gold_bar.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Artifact,rpg_invdesc=Artifacts,rpg_invtype=1,rpg_inviconx=490,rpg_invicony=260,rpg_inviconloc=rpg_mod\images\ww2_bf\artifact.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Maps,rpg_invdesc=Maps,rpg_invtype=1,rpg_inviconx=420,rpg_invicony=340,rpg_inviconloc=rpg_mod\images\ww2_bf\maps.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Radio,rpg_invdesc=Radio,rpg_invtype=1,rpg_inviconx=490,rpg_invicony=340,rpg_inviconloc=rpg_mod\images\ww2_bf\radio.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Keys,rpg_invdesc=Keys,rpg_invtype=1,rpg_inviconx=420,rpg_invicony=410,rpg_inviconloc=rpg_mod\images\ww2_bf\keys.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Dossier,rpg_invdesc=Dossiers,rpg_invtype=1,rpg_inviconx=490,rpg_invicony=410,rpg_inviconloc=rpg_mod\images\ww2_bf\dossier.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Books,rpg_invdesc=Weathered Books,rpg_invtype=1,rpg_inviconx=520,rpg_invicony=230,rpg_inviconloc=rpg_mod\images\ww2_bf\weathered_book.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Battery,rpg_invdesc=Flashlight Batteries,rpg_invtype=1,rpg_inviconx=560,rpg_invicony=340,rpg_inviconloc=rpg_mod\images\ww2_bf\battery.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Flashlight,rpg_invdesc=Flashlight,rpg_invtype=1,rpg_inviconx=560,rpg_invicony=410,rpg_inviconloc=rpg_mod\images\ww2_bf\flashlight.png
:rpg_addinvitem:rpg_invcategory=1,rpg_invname=Explosives,rpg_invdesc=Explosives,rpg_invtype=1,rpg_inviconx=420,rpg_invicony=460,rpg_inviconloc=rpg_mod\images\ww2_bf\explosives.png
:rpg_end_invlist:none
;
;rank system
:rpg_rank:1-Sergeant,50000-Warrant Officer
:rpg_create_rankbackgroundhud:rpg_rankusebackgroundhud=1,rpg_rankbackgroundhudloc=RPG_Mod\Huds\ww2_bf\ww2_bf_mission_experience.tga,rpg_rankbackgroundhudx=320,rpg_rankbackgroundhudy=100,rpg_rankbackgroundhudscale=100
:rpg_create_ranktextstyle:rpg_centertext=0,rpg_rankfontname=Arial,rpg_rankfontsize=14,rpg_rankfontbolditalic=1,rpg_rankfonttransparent=1,rpg_rankfontcolor_red=22,rpg_rankfontcolor_green=221,rpg_rankfontcolor_blue=1,rpg_rankx=410,rpg_ranky=192
:rpg_create_ranktextstyle:rpg_usecontinueprompt=1,rpg_centercontinueprompt=1,rpg_centercontinuepromptonx=500,rpg_continuepromptsize=14,rpg_continuepromptbold=1,rpg_continueprompt_red=255,rpg_continueprompt_green=255,rpg_continueprompt_blue=255,rpg_continuepromptx=500,rpg_continueprompty=280
;
;End of Script
As you can see from this line:
:rpg_addcategory:rpg_catname=Backpack,rpg_catdesc=Items I need/find on my mission.,rpg_cattype=1,rpg_caticonloc=rpg_mod\huds\ww2_bf\backpack01_menu.png,rpg_caticonx=120,rpg_caticony=715,rpg_caticonscale=75
It tells RPG Mod that the category icon I am using is at the path specified. If that file is not there, you will get the *Category icon not found* message and then the game closes. So you have to check your paths to all your icons, huds, etc to ensure they are either in the RPG_Mod\Huds\<yourgamefolder> or RPG_Mod\Images\<yourgamefolder>, or specify the path if elsewhere.
Quote: "I am also unable to load a saved game, so I'll follow your advice in that respect."
It can be frustrating. Like I said, we can save AND load our SciFi and Egyptian developments, but not our WW2. I've swapped RPG Mod with vanilla FPSC and another mod and it's the same thing. So it leads me to believe that it is not the mods, but some media causing the issue. Just have to be creative when finding work-arounds.
Hopefully this gives you a bit more help when troubleshooting why the elements work in one level and not the others, or why RPG Mod will crash right away if critical info is missing or incorrect. Again, if you need further help, all you need to do is post here and I'll get to you. I do keep tabs on this thread daily, so it is no problem.
- BlackFox
RPG Mod- Create a world full of adventure