(Tutorial) Changing tedlevel number with Chris Chokan

View previous topic View next topic Go down

(Tutorial) Changing tedlevel number with Chris Chokan

Post by Officer-M. John (Admin) on Sun Jan 22, 2017 11:08 am

You like use:wolf3d --hard --tedlevel XX (DOS or 4GW) or Wolf4SDL.exe --hard --tedlevel XX (SDL) and from 11th level to XX level only uses 1-10 level number. Easy fixing the Problem.

You go to WL_MAIN.C or WL_MAIN.CPP and you search on DOS or 4GW (tedlevelnum) or SDL (param_tedlevel):

Code:

#ifndef SPEAR
                gamestate.episode = tedlevelnum/10;
                gamestate.mapon = tedlevelnum%10;
#else
                gamestate.episode = 0;
                gamestate.mapon = tedlevelnum;
#endif

Code:

#ifndef SPEAR
        gamestate.episode = param_tedlevel/10;
        gamestate.mapon = param_tedlevel%10;
#else
        gamestate.episode = 0;
        gamestate.mapon = param_tedlevel;
#endif

And you changing the 10 number to XX number if you use level as 10.

For example to on DOS or 4GW:

Code:

#ifndef SPEAR
                gamestate.episode = tedlevelnum/60;
                gamestate.mapon = tedlevelnum%60;
#else
                gamestate.episode = 0;
                gamestate.mapon = tedlevelnum;
#endif

Or for example to on SDL:

Code:

#ifndef SPEAR
        gamestate.episode = param_tedlevel/60;
        gamestate.mapon = param_tedlevel%60;
#else
        gamestate.episode = 0;
        gamestate.mapon = param_tedlevel;
#endif

Have you properly will display the numbers, which on level do you. Enjoy! Thanks Chris Chokan,that be changed tedlevel numbers. Smile
avatar
Officer-M. John (Admin)
Admin

Posts : 323
Join date : 2015-10-02
Age : 19

View user profile http://wolf3dfanboys.usersboard.com

Back to top Go down

Re: (Tutorial) Changing tedlevel number with Chris Chokan

Post by Ferir987 on Tue Jan 24, 2017 8:58 am

WOW this so much!!!
Where do you get these codes?
avatar
Ferir987
Cool mod maker
Cool mod maker

Posts : 199
Join date : 2016-04-15
Age : 18
Location : Hungary,Heves Gyöngyös country

View user profile https://jhoni196.blogspot.hu/

Back to top Go down

Re: (Tutorial) Changing tedlevel number with Chris Chokan

Post by Officer-M. John (Admin) on Tue Jan 24, 2017 9:23 am

You need enabling in the mods.
avatar
Officer-M. John (Admin)
Admin

Posts : 323
Join date : 2015-10-02
Age : 19

View user profile http://wolf3dfanboys.usersboard.com

Back to top Go down

Re: (Tutorial) Changing tedlevel number with Chris Chokan

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum