Help with RGL error please

Users who are viewing this thread

clayton117

Banned
Ive been coding a new city in , and when i start it and luanch a new game it gives me a
"RGL Error failed to get item : city"

The module_parties code

("mod_town","Mod_Town",  icon_new_icon|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-1, -1),[], 45),

module_map_icons code

("new_icon",0,"city",2,0),

Thanks and appreciated
 
We could use some more detail on the problem. Post the code of your "new town". Also tell us the name of the file and the line where the problem is.
 
Nope, he doesn't. Anyway, try this.

Code:
module_parties.py
94|  ("town_19","Mod_Town",  icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-1, -1),[], 45),

module_scripts.py
1019|      (call_script, "script_give_center_to_lord", "p_town_19", "trp_knight_1_1", 0),
 
Then the city mesh is the problem.

cdvader said:
Nope, he doesn't. Anyway, try this.

Code:
module_parties.py
94|  ("town_19","Mod_Town",  icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-1, -1),[], 45),

module_scripts.py
1019|      (call_script, "script_give_center_to_lord", "p_town_19", "trp_knight_1_1", 0),

How is that related to his problem?
 
I was suggesting a fix on how he would be able to start a new game.

You know, you should try getting a city in-game first, before starting to create new icons & meshes for it.  :wink:
 
cdvader said:
You know, you should try getting a city in-game first, before starting to create new icons & meshes for it.  :wink:

Are you talking to me or him?

The code he already has works fine, the only problem is that he has made it look for a mesh that doesn't exist.

You should look in native's BRF files to see what the Town (not city) meshes are called.
 
I was talking to him, yes. And you're right. I was just ... pointing him in the right direction. :razz:
 
Back
Top Bottom