Creating a room with floor and walls

  • Hello, I was wondering about how to create a map.


    I followed Nitemare's video tutorial and although I didnt understand a word in German the video was so clear that now I have a working ChaptEd installation ready to mod.


    I am trying to understand how the tiles should be applied since some of them seem to form a scenery. Are these the ones we use for a level creation or do we just apply dirt and grass from the diamonds tab?

  • Good to see that my video was clear enough to be understood without the need to speak German.


    If I remember it correctly, you select the tiles and apply them directly to the desired spot in the map. So yes, just try to apply dirt and grass and start creating cool maps.


    These tiles are on applied to the background so they won't contain any collision information. If you want to add walls you need to drag and drop them to the map.

  • Do tiles layer over each other of do they simply fall in like a puzzle?


    EDIT: Also where can one find walls? I found some tiles that include the word 'wall' in their title but I cant seem to drag them to the level

  • Thank you for the reply. Most of my object folders contain nothing. Is this normal?


    EDIT#1: In essence when I take a look at each of the folders in object mode there is nothing but very few things: a sack, a corner something, sound, a bulb, etc...


    EDIT#2: Does it matter if the game is installed in this path?


    C:\Games\SiegeofAvalon\

    • Official Post

    No it's not normal.


    How long does ChaptEd need tp start up? It should take around a minute or longer, otherwise he doesn't parse all objects.


    In Object-Mode you should have a folder-tree in the upper left.
    There must be two folders: GameObject and StaticObject.


    GameObject contains several triggers and stuff to change light, sound,
    teleport-points and stuff like that.


    All the usal objects to place on a map are unter StaticObject.


    Did you edit and apply the ChaptEdPOX.reg?


    If not, please do it according to this thread and try again.


    Also, Chapted should be started with administrator-rights.


    //Edit: Moved the thread to the ChaptEd board.

  • I had edited the chaptEd reg file (I spent a good 4 hours checking it between the thread, the translation and ther video), but I had forgotten to run it as administrator. I just did that and it worked. Yeyyy!!!


    Also what button is "STRG"? Is it CRTL?

  • Awesome thanks! Learning German IT one keyboard button at a time :P


    Also one more question (I hope I am not annoying with all those questions). Is it possible to open a map and start changing the gear each of the character has equipped?


    For example I want to change what a couple of guards look like soldiers and not a ragtag group of warriors. Is this possible, cause when I opened the map the various NPCs were there and editing their properties I noticed the option "Equipment" which has the various slots of the characters, which are empty.

    • Official Post

    Every NCP has two *.pox Files.


    The First one lies in:

    Code
    ArtLib\Resources\SpriteObject\Character\Layered


    The Second one in:

    Code
    ArtLib\Resources\Editor\SpriteObject\Character\Layered


    That is important, if you want to create NCP's on your own.


    If you just want to change the Equipment, you can open a *.pox
    file with a Editor (e.g. Notepad++). You see a Section like:



    So, for some reason the Equip for every NCP is hardcoded in it's *.pox file. You can just change the items with the Editor.

  • One more thing:


    I want to create a new item based on an old. For example I want to take the canvas cloak, edit it in photoshop applying a different tint and have it as a completely new item. I understand I will have to make the pox files (2 files, one for FRONT and one for BACK), but how may I edit the gif file? I ask because I see no gif file anywhere in the folders. Is it in the POX file? If yes how may I unpack it?


    Thank you once again.

    • Official Post

    Have a look at: http://soamigos.de/wbb/thread.php?threadid=4240


    Ok, I think it would be quite hard to understand (it's a german thread) so I try to explain it in english.


    Quote

    I ask because I see no gif file anywhere in the folders. Is it in the POX file? If yes how may I unpack it?

    Have a look at the End of my post


    For the inventory image:
    You need two pictures. One for the Item and one for its Shadow (white edging in the picture). Save them as *.bmp.
    Now you need a .ini file for the inventory picture. It's quite easy if you change a item because you just need the old .ini. Open the old Item with Poxconvert.exe or poxini.exe an copy the ini into the notepad. Save it as Cloak.ini
    Make sure that the background of the cloak picture has the same color (pink). If you changed it to black you'll have to edit the new ini-file. Just write TransparentColor=0 instead of TransparentColor=16776960.
    At last change FileName=canvascloak.gif to Filename="same name like the new gif-file should have".gif


    Now open bmpwork.exe, add the two pictures and select the new ini-file under "Ini propertie files" (-> ... )
    Click on output (-> ... ). And give the .gif file a Name. ->Convert


    For the pox file:
    Set the bitrate from your system to 16 bit. If you don't do it the pox file will have bugs such like here: http://soamigos.de/wbb/thread.php?threadid=4205
    Open gif2pox.exe select the folder where you saved the new gif-file and click convert. Now you have an new inventory item. (Of course you have to copy it into SoA/Artlib/Resources/Enigine/InventoryImages and you have to edit the item.db so that the new Inventory Item can be used)


    For the Layered Images:
    Open the canvascloak form LayeredImages/HumanMale in the PoxConvert.exe. Options ->Export Frames. But the first picture won't be usually exported. So you have to make a screenshot from the first one an save with the same settings like the over 359.
    Do the same thing I wrote for the inventory image.


  • When I use the pox convert and I do export frames it creates only the shadow and not the actual item itself. I am certin I do it the wrong way. But what is the exact course of action I should take to export both images?


    EDIT#1: Ok I was silly and forgot that I had to take a screenshot. I did and now I have a GIF file. Thing is when I run the GIF2POX program it shows me nothing in the areas where the folders should be. Something I must be missing.


    EDIT#2: Never mind, got it. I had to click convert to select the folder the GIF is in. Hmmm I might use this thread to create an English version Tutorial. Anyways now I have my inventory pox. Now I have to do the same for the layered item on the avatar.

  • In the Item maker, what is the Image part? which parameter goes in the tab Image Parts?And what does the Process New button does?


    EDIT#1: I managed to test it in the game, and while the inventory item appears, when I equip it on my character it doesn't show on the character.


    EDIT#2: I noticed that for cloaks for every FRONT file there is also a pox file named BACK. For example:


    OpenCanvasCloakFRONT.pox
    OpenCanvasCloakBACK.pox


    and that in their ini file they seem to be referring one another. Is it possible this might be making my layered item invisible on the character?


    [Blocked Image: http://img.photobucket.com/albums/v353/JG_overseer13/Siege%20of%20Avalon%20creations/Layeredcloakdoesnotshow_zps7c70de6f.jpg]

    • Official Post
    Quote

    when I equip it on my character it doesn't show on the character


    The Itemanimation is missing in the xref.db or the allocation from the item.db to the xref.db is missing.


    I don't use the Itemmaker. Every item I made was made with bmpwork, gif2pox, Poxconvert and the win-editor (notepad).
    So I can show you how to get this Item worked without the Itemmaker.


    You have add your item like this in the Item.db:

    Code
    Gladiusswordshield|1||1|||||||||2|1|6||||||||||||||||||||||||||||||||||||7|||||||||4|[Shield]|Schildwaffe!<CRLF>Diese Schwertart diente meist in Gladiatorenkämpfe.|6|||Shield||||GladiusSword.gif|prt_SwordGladiusShield|Gladius|156|54||16|12|16|45|SwordMiss,AxeMiss|Swordwfl,Swordwle|Swordwm1,Swordwme


    Gladiusswordshield=Itemname (chose it by your own)
    |||||...||=are the gaps for the values of the Item (for example: stealth 10)
    Schildwaffe!...=description of the Item
    2000=price for purchasing (also depends on the Markup and selling value of the player and the npc)
    ||||...||=gaps where you can add titles when you wear it, write down what this item is (sword, shield,...)


    Now the interesting part:
    GladiusSword.gif=allocation to the inventory Item (.pox file must have the same name: GaldiusSword.pox and the .ini should have the line: Filename=GaldiusSword.gif), I'm not sure but I think upper and lower case is imortant.
    prt_SwordGladiusShield=allocation to the xref.db, there you have to write:

    Code
    prt_SwordGladiusShield|HumanMaleLayers\GladiusSwordShield.gif|HumanMaleLayers\GladiusSwordShield.gif|HumanMaleLayers\SGladiusSwordShield.gif|HumanMaleLayers\GladiusSwordShield.gif|


    If you want to have an adaptaion for other characters, you'll have to write something like this:

    Code
    prt_SwordGladiusShield|HumanMaleLayers\GladiusSwordShield.gif|HumanFemaleLayers\GladiusSwordShield.gif|NagaMaleLayers\GladiusSwordShield.gif|ElfMaleLayers\GladiusSwordShield.gif|

    and so on...
    156|54=Item size in the Inventory
    16|12|16|45=necessity for the Item
    SwordMiss,AxeMiss|Swordwfl,Swordwle|Swordwm1,Swordwme=sounds


    Edit:
    The two pox-files linked with each other. Have a look at the ini...

  • It worked! I edited the xref.db and the item showed on my character. Now all I have to do is edit the BACK file and I will have a completely new cloak. Thank you :)

  • Ok I managed to make it work with the cloak, one more question,though, in regards to transparency.


    Due to the fact that the transparency is set to black, some darker parts of the cloak are transparent. I believe this can be corrected by setting the transparency to pink, correct?


    When I extract the bmp files from the pox the background of the item is black. How to I set it to pink? Do I need to do it through photoshop, editing each image separately?