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...


5 posters

    New Wolfer

    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty New Wolfer

    Post by jayngo26 Sun Aug 10, 2008 7:27 am

    This is my first post, since I just became a member. Have just started my own mod these last few weeks. Not a computer guy, but have got into the source code and made many changes. Two problems I am having tho. Can't figure out how to add new static sprites!! Every tutorial I have tried has not worked for me. Also, I use chaos edit. Is there anything out there for it like flo edits help tutorials??? Thanks fellow wolfers!
    PicNic
    PicNic
    Veteran
    Veteran


    Male
    Number of posts : 1584
    Age : 31
    Registration date : 2007-04-16

    New Wolfer Empty Re: New Wolfer

    Post by PicNic Sun Aug 10, 2008 10:36 am

    Hello, enjoy your stay!
    Valts
    Valts
    Seasoned Wolfer
    Seasoned Wolfer


    Male
    Number of posts : 384
    Age : 39
    Location : Estonia, Tartu
    Job : Student (Estonian University of Life Sciences)
    Hobbie : reading, history, poker, billiard and snooker, gaming
    Message : I am mapper.
    Registration date : 2007-05-17

    New Wolfer Empty Re: New Wolfer

    Post by Valts Sun Aug 10, 2008 6:43 pm

    Welcome to the forum, hope you enjoy your stay here.
    Nexion
    Nexion
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 277
    Age : 111
    Location : Dimension of Anti-Time
    Hobbie : bringing chaos & madness into universe
    Message : Planet N
    Registration date : 2008-02-27

    New Wolfer Empty Re: New Wolfer

    Post by Nexion Sun Aug 10, 2008 6:55 pm

    Hello there. Have a nice time here.

    Static Sprites or also collectable items?
    Anyways, the code for static sprites: 

    WL_DEF.H
    Code:
    SPR_CHAINREADY,SPR_CHAINATK1,SPR_CHAINATK2,SPR_CHAINATK3, SPR_CHAINATK4, SPR_NEWKILLERFRIDGE,
    WL_ACT1.C
    Code:
    {SPR_STAT_26,bo_clip2},         // Clip            "
    {SPR_NEWKILLERFRIDGE},
    //{SPR_NEWKILLERFRIDGE,block}, // if it's a solid object
    {-1}                     // terminator
    WL_GAME.C
    Code:
    case 70: // wolf3d vines
    case 71: // SPR_STAT_26 - bo_clip2
    case 72: // id number of your new killerfridge sprite
             
    As far as I remember I haven't seen a tutorial for ChaosEdit. There is a special menu in FloEdit to add object map definitions. I have no clue 
    about adding stuff in WDC. And for ChaosEdit you have to modify the lists.txt 
    and sprinfo.txt in the mapobjects folder.
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Sun Aug 10, 2008 8:36 pm

    Thanks for the post. I will try that and see how it works. Had been using both Flo and chaos together. Chaos seems to except wav files better than flo. Flo corrupted all my sprites eventually. So, lately, I have been sticking with Chaos. I would also appreciate a tutorial on adding another treasure item. Think I know how, but any help would be really appreciated!!
    PicNic
    PicNic
    Veteran
    Veteran


    Male
    Number of posts : 1584
    Age : 31
    Registration date : 2007-04-16

    New Wolfer Empty Re: New Wolfer

    Post by PicNic Sun Aug 10, 2008 9:57 pm

    My wolf3D engine got a new treasure item in it.
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Mon Aug 11, 2008 12:04 am

    Nexion, you helped me out. The one thing I was not doing was changing those two files in the mapobjects folder of chaos edit! But, could you be more specific with how to alter those two. Thanks. Again, I am learning the ropes here.
    Nexion
    Nexion
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 277
    Age : 111
    Location : Dimension of Anti-Time
    Hobbie : bringing chaos & madness into universe
    Message : Planet N
    Registration date : 2008-02-27

    New Wolfer Empty Re: New Wolfer

    Post by Nexion Mon Aug 11, 2008 12:51 am

    Heh. I thought your problem was rather a code problem than an editor problem. Ok. I try to explain it but beware of my text style. It can be weird at times.

    I assume you use Wolfenstein 3D files (WL6). Then you have to modify the list files in the 'Wolfenstein 3D' folder. You can also add a new folder. Then check the last menu of ChaosEdit ('Customize'), add your new extension and choose your new mapobject folder.

    -Lists.txt-
    //some lines after the walls and the first objects
    44,"Silver key",
    52,"Cross",
    72,"My Killerfridge",   
    53,"Chalace",

    Put your new obj somewhere in the object list. Now it'll appear after the cross 
    in the obj screen. id=72 because of the wl_game, wl_act1 order/definition.

    -sprinfo.txt-
    ;Statische_Objekte(1)
    // some lines later
    70 49 1 0 // the green vines. Number 50-1 in the sprite editor
    124 95 1 0
    72 496 1 0 // your new object

    Again: id=72 and 496 or something like that. It's number of the pic so that ChaosEdit can display the pic for the obj (3D edit and obj screen)
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Mon Aug 11, 2008 3:24 am

    Thankyou. It all makes more sense to me. I will definitely try that out. Thanks for being so quick!!
    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-25

    New Wolfer Empty Re: New Wolfer

    Post by Dark_wizzie Mon Aug 11, 2008 8:45 am

    Hi, this is Dark_wizzie Smile Hope you enjoy your stay. We have cookies. For adding new walls or objects I always use Flo Edit! Smile



    Wolf3d Haven
    Minute Logic Blog
    PicNic
    PicNic
    Veteran
    Veteran


    Male
    Number of posts : 1584
    Age : 31
    Registration date : 2007-04-16

    New Wolfer Empty Re: New Wolfer

    Post by PicNic Mon Aug 11, 2008 10:23 am

    Dark_wizzie wrote:Hi, this is Dark_wizzie Smile Hope you enjoy your stay. We have cookies. For adding new walls or objects I always use Flo Edit! Smile

    If you have used floor and ceiling textures, they are all away. thats why I can't put many of the extra objects in moha now >_< Sad
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Mon Aug 11, 2008 11:12 pm

    Thanks for all the advice. I tried Nexion's walkthrough last night and still had issues. It was a good tutorial, just think I'm doing something wrong. The issue I am having is this. The code compiles fine and I changed the files in chaos like Nexion said-but I am not sure where to add my new sprite on the sprite editor tab in ChaosEdit. Do I put it at the end(No.437)? In the middle of the sprites? I believe that messes up the order of the rest of the sprites?? After the vines sprite?

    Have not added ceiling and floors yet. Wanted too, but not at the expense of losing extra sprites. And I kinda want to retain the "old school" feel on this mod.

    Would like to use FloEdit again. However, the game I am currently working on corrupted the sprites when I run Flo. Dont really wanna start over from scratch again. (I had been using Chaos to import new sounds and Flo for everything else-don't think it liked that.) Have made numerous changes on my own up till now. Just this sprite thing is kickin my butt!!!
    Nexion
    Nexion
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 277
    Age : 111
    Location : Dimension of Anti-Time
    Hobbie : bringing chaos & madness into universe
    Message : Planet N
    Registration date : 2008-02-27

    New Wolfer Empty Re: New Wolfer

    Post by Nexion Tue Aug 12, 2008 12:57 am

    Sorry, I keep forgetting stuff which is important for people who have less experience with the code (:

    You can see the order of the sprites in WL_DEF.H (SPR_CHAINATK4, SPR_PIZZA,). So you add the new sprite after the last chaingun frame.
    It's No. 437 and 72 436 1 0 in the sprinfo.txt.

    You won't lose any extra sprites if you add textured ceilings/floors...
    FloEdit is pretty old now and the last update was 2003 or so. You can also try WDC if you haven't already.
    http://winwolf3d.dugtrio17.com/
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Tue Aug 12, 2008 1:04 am

    You are the man Nexion! I thought that was the case. Last night I tried that, but for sprinfo.txt. I put in 72 437 1 0. So, I will try it later on tonight. And I am assuming I can just keep adding more sprites in the same manner. I heard you could add up to 18 more or something like that....
    Nexion
    Nexion
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 277
    Age : 111
    Location : Dimension of Anti-Time
    Hobbie : bringing chaos & madness into universe
    Message : Planet N
    Registration date : 2008-02-27

    New Wolfer Empty Re: New Wolfer

    Post by Nexion Tue Aug 12, 2008 3:08 am

    Add as many sprites as you want. Just don't run out of memory and object id cases. It works until you hit case 90 which is a direction mark for the enemies.
    Case 71 (Spr_stat_26, bo_clip2) isn't used in wolf3d. Modify it or use it as an additional ammo clip. So if you want more than 19 objects then you need a new case routine

    Heh, the welcome to this madness thread mutated into a mind-eating code/mapedit thread.
    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 144
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-10

    New Wolfer Empty Re: New Wolfer

    Post by jayngo26 Tue Aug 12, 2008 5:32 am

    Success. I have added my first sprite (finally)! Thanks Nexion. As for what you said with adding a new case routine-that may be a project for another day. (Since I don't really know what or how the heck to do that.) I should be able to figure out how to add about 19 more for now.

    Oh, and from now on I will post questions I have in the proper locations. Don't wanna scare off any new wolfers with all this deep talk!!

    Sponsored content


    New Wolfer Empty Re: New Wolfer

    Post by Sponsored content


      Current date/time is Thu Nov 21, 2024 7:03 pm