qzdoom/wadsrc/static
Shiny Metagross 5abadd3aab A_ChangeModeldef
-Added A_ChangeModelDef
A_ChangeModel(modeldef, modelpath, model, modelindex, skinpath, skin, skinid, flags)

This can change the modeldef, model and skins of an actor.

Currently, modelindex and skinindex accept indices from 0-15.

An actor MUST have a modeldef in order to use this function, either defined from modeldef, or given one through the modeldef parameter. You can pass "" to use the same modeldef. Likewise, passing "" for model or skin will just revert to the default model.

Available flags:
CMDL_WEAPONTOPLAYER - If used on a weapon, this instead change's the model on the player instead.

One issue I am aware of right now is that clearing a model by "" sort of works but is buggy. For now you can just manually set the model back using the names explicitly. However, I am stumped and I think getting more eyes on it would help.
2022-07-22 17:11:59 +02:00
..
credits - implement player setup background by Enjay 2020-01-12 19:21:31 +01:00
engine - Add keybindings presets. 2020-09-27 14:09:28 +02:00
filter Show subtitles for the Entity's greeting lines in Strife. 2021-03-10 14:41:36 +01:00
fonts - replaced the alt HUD's index font with a sheet based variant. 2021-08-12 20:07:04 +02:00
glstuff
graphics - fixed y-offsets of bal7scr* decal images. 2022-04-13 08:10:20 +02:00
maparrows
mapinfo - properly deal with 'gototitle'. 2022-04-26 20:50:36 +02:00
sbarinfo - added a 'protrusion' property to SBARINFO so that the map name display can properly be handled here as well. Until now it was only working for scripted status bars. 2017-05-05 19:32:37 +02:00
shaders Re-enable ray query in the shader 2022-06-22 07:55:19 +02:00
shaders_gles GLES: Fix blend flags 2022-04-15 21:06:27 +02:00
sounds - recompressed the dog sounds and removed the long stretches of silence at their ends. 2017-09-30 08:30:01 +02:00
sprites Set the ZDRay-specific things to not spawn in the MAPINFO 2021-10-05 18:17:28 +08:00
textures
xlat - fixed: MBF21' scrollers need to divide the offsets by 8. 2021-07-04 11:33:34 +02:00
zscript A_ChangeModeldef 2022-07-22 17:11:59 +02:00
althudcf.txt
animdefs.txt - replaced the procedural backdrop texture with some warped noise texture. 2018-07-15 00:00:00 +02:00
botsupp.txt - removed the bot related properties from AWeapon. 2018-11-24 23:48:23 +01:00
compatibility.txt - add a few njdoom maps to the rebuildnodes comptibility block 2022-07-07 08:59:13 -04:00
decaldef.txt - added missing decal assignments to the medium macs spheres for Heretic. 2020-10-17 09:14:58 +02:00
dehsupp.txt - fixed MBF21's A_SeekTracer. 2022-01-07 00:33:56 +01:00
etc.h.txt
fontdefs.txt - implemented the status bar's DrawString function and ported the fullscreen HUD part of the Strife status bar to use the new functionality. 2017-03-24 20:09:50 +01:00
in_epi1.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
in_epi2.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
in_epi3.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
in_htc1.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
in_htc2.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
in_htc3.txt - use explicit virtual screen sizes for the scripted intermission backgrounds to better cope with background replacements. 2021-09-18 09:19:34 +02:00
language.0 - text update 2022-07-15 08:48:18 +02:00
language.csv - text update 2022-07-15 08:48:18 +02:00
language.def - added some placeholder strings to language.def. 2019-03-16 18:56:20 +01:00
lmacros.csv - language update 2021-05-22 12:48:14 -04:00
lockdefs.txt
menudef.txt - ENDOOM is not Windows only anymore. 2022-06-29 10:12:55 +02:00
menudef.zsimple - add longsavemessages to simple menu. set longsavemessages default to false. 2022-07-21 13:22:52 -04:00
netnotch.dat
newconsolefont.hex - restored indication of console scrolling 2019-06-17 10:32:13 +03:00
notch.dat
reverbs.txt
sbarinfo.txt
sndinfo.txt add support for DEHEXTRA's extended sound range (#1258) 2021-01-02 07:40:59 -05:00
sndseq.txt
spaldoom.lmp
spalhtic.lmp
strifehelp.acs Show subtitles for the Entity's greeting lines in Strife. 2021-03-10 14:41:36 +01:00
teaminfo.txt
terrain.txt - added 'damageonland' property to terrain definition 2019-12-12 15:14:30 +01:00
textcolors.txt - added more contrast to the Cream font color. 2020-07-02 23:43:45 +02:00
textures.txt
things.h.txt
x11r6rgb.txt
xg.wopn Updated default xg.wopn bank 2020-10-04 08:14:21 +02:00
xhairs.txt
zbigfont.lmp - moved several IWAD dependent files into the game_support resource 2019-07-17 00:54:59 +02:00
zscript.txt Screenjob WIP stuff 2022-04-26 20:50:35 +02:00