Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
aJynks

autoexec - how to add "give everything" or equivalent when doom opens?

Recommended Posts

I'm trying my hands at some zscript and still working on my doom environment for testing... I have everything working.. but I can not get the game to load with my player having all items.

 

dmflags 262144
god

my autoexec currently looks like this, disabling MouseLook and turning on God Mode... as both of these work when I load the game via -warp 1 (to first level in doom2) I know that autoexec is working.

 

I have tried IDKFA, give weapons, give everything... etc etc .. all commands that work in the console, but not in the autoexec.

 

Is there a way, maybe gz command line to load the game with "everything", as if I typed "give everything" into the console?

Share this post


Link to post

give all

 

Putting this in an autoexec would only work if you're warping directly to a level, so it may be useful to bind it to a key.

Share this post


Link to post
14 minutes ago, Shepardus said:

give all

 

Putting this in an autoexec would only work if you're warping directly to a level, so it may be useful to bind it to a key.

 

I couldn't get give all or give everything to work

 

give chainsaw
give pistol
give shotgun
give chaingun
give rocketlauncher
give plasmarifle
give bfg9000
give supershotgun
give redcard
give bluecard
give yellowcard
give megasphere

this worked though....

I just need to work out how to get the ammo now... give shells 100 and give shotgunammo 100 are nto working... 

 

EDIT : I can get it sorta working by adding sv_infiniteammo 1 at the end. Though it is not "As good" as just adding ammo, so still looking for a solution.

Share this post


Link to post

"give all" works for me in an autoexec, as does "give ammo."

 

You can also put commands in the launch options by prepending them with + (instead of - for parameters like -warp), e.g. +give all.

Share this post


Link to post
1 minute ago, Shepardus said:

"give all" works for me in an autoexec, as does "give ammo."

 

strange.. it totally dose not for me?

 

1 minute ago, Shepardus said:

You can also put commands in the launch options by prepending them with + (instead of - for parameters like -warp), e.g. +give all.

 

As in a console command? like gzdoom.exe +give all 

Share this post


Link to post

actually... you are correct.. no idea why it was not working before.... I must have spelt it wrong... give ammo is working.. but give all is 100% not working

 

dmflags 262144
give chainsaw
give pistol
give shotgun
give chaingun
give rocketlauncher
give plasmarifle
give bfg9000
give supershotgun
give megasphere
give ammo
give redcard
give bluecard
give yellowcard
give yellowskull
give blueskull
give redskull

final autoexec.cfg for my doom script editing environment. (the last weapon "given" is the one you end up holding)

Edited by aJynks

Share this post


Link to post

Yeah I just noticed, "give all" gives me ammo, keys, and armor, but not weapons. "give weapons" doesn't work either when used at startup. The command works after loading into the game, though, so as a workaround you could just bind it to a key, e.g. bind b "give all" to make b execute "give all," or just give the weapons individually like you did.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×