Help Forum |
|
Can't set metaroom in Game | |
|
Bifrost
|
12/14/2016 | |
I'm currently working on the Albian ReGenesis metaroom, trying to set it in the game from the Map Editor. But when I try to do so, I get this error:
Any idea what I'm doing wrong here? The world size has been expanded in the game. |
Lodestar
Doringo
|
12/14/2016 | |
Have you tried injecting it as an addon before setting it in game? |
Bifrost
|
12/14/2016 | |
Cannot execute "dgb: paws" |
Sanely Insane
RisenAngel
Manager
|
12/14/2016 | |
Did you expand the map in-game first (depending on where the metaroom's located)? If it's outside the default map, you'll need to expand the map by opening the CAOs Command Line (Shift + Ctrl + C) and typing this into it:
Alternatively, most third-party metarooms expand the map automatically when they're injected (at least, I know mine do).
Never mind, I didn't notice the bit where you said you did. In that case, I don't know what might be happening. Maybe try making sure the Remastered Patch is installed (if you're using Exodus)?
~ The Realm ~
Risen Angel's Creatures Blog
|
Bifrost
|
12/14/2016 | |
Also, in accordance with this guide: http://www.creatures.org.uk/ccsf2006/articles.php?id=17
I've attempted to export the map as an addon. But where the guide suggests the !addon.cos file should read something like
setv game "mapeditortmp" addm 22276 36156 2296 1248 "c2swamp"
mmsc 23424 36780 ""
setv va00 addr game "mapeditortmp" 24367 24461 36475 36478 36612 36615
rtyp va00 0
rmsc 24414 36545 ""
setv game "mapeditortmp_600" va00
setv va00 addr game "mapeditortmp" 24278 24367 36471 36475 36607 36612
rtyp va00 0
The file I get is much, much, MUCH longer. And I have no idea where I'm supposed to replace any text, nor what I'm supposed to do with the .cos file from there either, in order to get this into the game...
I'm using DS only. And I've run the remastered patch. |
Allekha
|
12/14/2016 | |
I'm not sure about the errors you're getting, but it's okay if the cos file is long - it has to individually set each of the rooms in the metaroom and then the doors between them, then delete a bunch of temporary variables.
What do you mean by replace text? You should be able to inject the .cos like any other cos file. |
Lodestar
Doringo
|
12/14/2016 | |
The immense length is likely due to the code for all the massive amounts of rooms that are in such a large map, you should be able to find the parts you mentioned with ctrl + f, also .cos files may be injected via CAOS Tool, which is a useful utility that I'd honestly recommend anyone who's getting into creatures development to get, just because it makes testing and debugging less tedious. |
Bifrost
|
12/15/2016 | |
I've rewritten the script to look like this, and it appears to be working:
"en-GB"
group DSAG "Albian ReGenesis"
"Agent Type" 0
"Agent Description" "Creatures: Albian ReGenesis."
"Agent Animation String" "0"
"Agent Sprite First Image" 0
"Remove script" "enum X X XXXX kill targ next scrx X X XXXX 1 scrx X X XXXX 2"
"Script Count" 1
"Script 1" @ "!regenesis.cos"
"Dependency Count" 1
"Dependency 1" "ReGenesis2016.bmp"
"Dependency Category 1" 6
inline FILE "ReGenesis2016.bmp" "ReGenesis2016.bmp"
|
However, after injection, I have no idea how to actually get to the room. None of the tutorials I can find tell me this. |
Bifrost
|
12/15/2016 | |
Also, after a seemingly successful injection of the world (which I don't know how to access), I often get the following error:
Sorry, the injection of this agent failed. Please contact the author for further assistance.
Script 1 failed to set room type ... 9 88819 88947 88947 @ rtyp va00 0 rmsc 70898 88883 " ...
|
I've validated the map in the Map Editor, and it says everything is fine. |
Lodestar
Doringo
|
12/15/2016 | |
A really dumb (but really useful) strat I try to do is to find a coordinate in the map editor in the metaroom that a thing can be in, I get either a norn or a DS camera and I put my hand over it and I use the mvsf/mvto and hots commands to move the object into the metaroom, and then I either follow the norn or I use the camera teleport button.
Still I dunno why Set Metaroom Ingame wouldn't be working, back when I was mapping that it worked every time I used it when I was testing it. |
Allekha
|
12/15/2016 | |
Use CMRA to get into the room - CMRA (x coordinate in your room) (y coordinate in your room) 0. |
Bifrost
|
12/16/2016 | |
I'm stuck. The injections sometimes appears to be working, but most of the times the Sorry, the injection of this agent failed. Please contact the author for further assistance.
Script 1 failed to set room type ... 9 88819 88947 88947 @ rtyp va00 0 rmsc 70898 88883 " ... error appears. And when I try cmra 85850 85950 0 (which are central coordinates in the world, as I can find them in the map editor, it tells me that it "Failed to get meta room location". |