aJynks Posted Thursday at 01:42 AM 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? 0 Share this post Link to post
Shepardus Posted Thursday at 01:53 AM 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. 1 Share this post Link to post
aJynks Posted Thursday at 02:06 AM (edited) 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. 0 Share this post Link to post
Shepardus Posted Thursday at 02:09 AM "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. 1 Share this post Link to post
aJynks Posted Thursday at 02:11 AM 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 0 Share this post Link to post
aJynks Posted Thursday at 02:16 AM (edited) 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 Thursday at 02:25 AM by aJynks 0 Share this post Link to post
Shepardus Posted Thursday at 02:21 AM (edited) 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. 1 Share this post Link to post