Jump to content
Sign in to follow this  
extaz93

Resource title not found

Recommended Posts

Hello,

I'm making an ofp remake of serial killer mission, and i've got an issue.

At start, i have a "Resource title not found" window opening.

As i know only basics of scripting, i don't even know what a "resource title" can be.

I have searched a little on the internet but couldn't find anything interesting.

 

 

I have checked all my triggers and i don't know where the error could come from.

 

 

For those who would like to take a look at the mission :

https://drive.google.com/drive/folders/0B_GYzSnPn2CFbGpZWmtla0pQVVk?usp=sharing

 

 

Any idea ?

 

Thanks

Share this post


Link to post
Share on other sites
Guest

Ressorce Titles must be an undefined part of a dialog you try to call.

It's probably in the mission.sqm since I don't see any calls in the other files.

Share this post


Link to post
Share on other sites

I looked inside the sqm for chat/sidechat commands or stuff like this : nothing.

I also tried to copy past the static objects/triggers in my mission to a new one, i've got the same issue...

Share this post


Link to post
Share on other sites

Resource titles(RscTitles) are defined in description.ext https://community.bistudio.com/wiki/cutRsc

There is a lot you can do with them and I'm no expert but afaik it is basically an overlay that gets put on top of current screen.

Lots of missions have custom text displayed when joining, showing mission title or maybe credits. This is a resource title.

Regular dialogs are also defined in RscTitles but are created with createDisplay and createDialog, not with cutRsc.

If it was a regular dialog, I'm pretty sure that the error would be different.

My guess is some kind of intro that you don't have at all or just don't have defined in description.ext.

It's probably being called from the player units init field, or a trigger.

All of this is afaik. Been learning about dialogs for some time now and still don't really understand it.

Share this post


Link to post
Share on other sites

Hello, I also got the same error and I have managed to solve it

 

ERROR:

55 cutRsc ["", "PLAIN", - 1, false];

which seems to be not a possible combination.
 

Solution:
Option 1: Delete it (in my case it is not entirely necessary).
Option 2: Create an RSCDefault (as Killzone_Kid says in the notes below this link: https://community.bistudio.com/wiki/cutRsc)
 

class RscTitles { 
	class Default { 
		idd = -1; 
		fadein = 0; 
		fadeout = 0; 
		duration = 0; 
	}; 
};

in your code:

55 cutRsc ["Default", "PLAIN"];


Hope it helps.
Spyke.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×