Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


3 posters

    A question regarding mapping with ChaosEdit

    avatar
    TheLoneSurvivor
    Wolf3d n00b
    Wolf3d n00b


    Male
    Number of posts : 5
    Age : 22
    Registration date : 2015-08-11

    A question regarding mapping with ChaosEdit Empty A question regarding mapping with ChaosEdit

    Post by TheLoneSurvivor Tue Aug 11, 2015 1:32 pm

    I am planning on adding weapons to my Wolf4SDL mod, but I do not know how to add a custom item into ChaosEdit. I am able to code the item in, but not add it to chaosedit.
    Basically, after I add an item to the game, how do I get it into ChaosEdit?
    ronwolf1705
    ronwolf1705
    Hardcore Wolfer
    Hardcore Wolfer


    Male
    Number of posts : 1252
    Age : 33
    Registration date : 2007-03-26

    A question regarding mapping with ChaosEdit Empty Re: A question regarding mapping with ChaosEdit

    Post by ronwolf1705 Tue Aug 11, 2015 5:04 pm

    Go to the sprites tab. Assuming you added a new item after the last sprite (the chaingun firing), go to that last sprite and then click on the icon that has a plus on it. This gives you a blank image, after which you can import your sprite into that place. Hope this helps! Smile



    A question regarding mapping with ChaosEdit MMCS0206
    avatar
    TheLoneSurvivor
    Wolf3d n00b
    Wolf3d n00b


    Male
    Number of posts : 5
    Age : 22
    Registration date : 2015-08-11

    A question regarding mapping with ChaosEdit Empty Re: A question regarding mapping with ChaosEdit

    Post by TheLoneSurvivor Tue Aug 11, 2015 5:30 pm

    ronwolf1705 wrote:Go to the sprites tab. Assuming you added a new item after the last sprite (the chaingun firing), go to that last sprite and then click on the icon that has a plus on it. This gives you a blank image, after which you can import your sprite into that place. Hope this helps! Smile
    I know how to add the sprites, but how do I place the weapon in the map?
    Officer-Michael John
    Officer-Michael John
    Seasoned Wolfer
    Seasoned Wolfer


    Male
    Number of posts : 332
    Age : 26
    Hobbie : Video and Wolf 3D mode making
    Registration date : 2014-08-04

    A question regarding mapping with ChaosEdit Empty Re: A question regarding mapping with ChaosEdit

    Post by Officer-Michael John Tue Aug 11, 2015 9:40 pm

    You adding new static object (weapon) with code change. You found a tutorial:http://diehardwolfers.areyep.com/viewtopic.php?t=3203 (WL_GAME.CPP) and http://diehardwolfers.areyep.com/viewtopic.php?t=3870#45911 (WL_ACT1.CPP and WL_DEF.H) or
             case 88: 
             case 89: 
                SpawnStatic(x,y,tile-23); 
                break; 

             case 100: 
             case 101:                                 // etc. 
                SpawnStatic(x,y,tile-33); 
                break;



    case 88: 
             case 89: 
                SpawnStatic(x,y,tile-23); 
                break; 

             case 1: 
             case 2: 
    ...etc 
             case 18: 
                SpawnStatic(x,y,tile+66); 
                break;
     

             case 100: 
             case 101: 
    ...etc 
             case 107: 
                SpawnStatic(x,y,tile-5); 
                break;
     

             case 260: 
             case 261: 
    ...etc 
                SpawnStatic(x,y,tile-158) 
                break;




    See how object 89 is 66, so the next one will be 67? 

    case 23-23=0, case 89-23=66, case 100-33=67 or case 1+66=67, case 100-5=67+18, etc.

    Sponsored content


    A question regarding mapping with ChaosEdit Empty Re: A question regarding mapping with ChaosEdit

    Post by Sponsored content


      Current date/time is Thu Nov 21, 2024 7:20 am