DoomRL > Discussion

Ultra Keybindings - 3 Technical Questions

<< < (2/2)

bwross:
I found them by creating macros that would alternate calling quick_weapon on pistol with a guesses on an ID.  Then I'd run the game and hit the macros to see if it generated the "You don't have" message, and count the number of "already using a pistol" messages to see which one was correct.  Naturally, this couldn't be used to get IDs for boots or armour.

shark20061:
The boots' sid is: unboots

Evilpotatoe:
I'm trying to create a function which would queue 3 actions :

* Wait
* Shoot
* Reload
(This seems quite close to point 1 of the op)
I encountered 2 problems :

* It's possible to queue commands in a function, but I wonder if I could execute commands defined by constants, like COMMAND_RUNMODE or COMMAND_FIRE. Seems I can only access a few functions (namely : quit, use_item, quick_weapon, fire, reload, assemblies, messages, help).
So, I can use two medkits, but not move or fire :/

* The "fire" command seems deprecated, and only aims at a target. I'd like my command to shoot at the first aimed target, whatever it is.
Is there any way to do that ?

Navigation

[0] Message Index

[*] Previous page

Go to full version