Author Topic: What image/mount slot are the pain effects mounted to?  (Read 1294 times)

Does anyone know offhand which image SLOT (not node) the default pain effects are mounted to?
I suppose I could go find out myself, but it would save me  bit of time if anyone who already knows just share the info here, and it would be helpful to future content creators.

Thanks


EDIT: Also, to clarify for those who do not know, there are eight mount slots (numbered 0 to 7 0 to 3, in Blockland), and 32 mount nodes (numbed 0 to 31). The mount slots act as sort of a virtual list system, and you can only have up to eight four weapons (ie. images) mounted to a playertype at any given time.

The mount nodes are points in the playertype model (I've only ever defined them through bones in the playertype's skeleton) at which items can be mounted to.
« Last Edit: December 26, 2016, 10:33:33 PM by ArmyUnit »

couldn't you check the old blood+gore mod?

unless it's not replaced

Hm true, hadn't thought of that. Am checking now. Thanks for the tip!

i think there's only slots 0-3 for it to be mounted to, and it's the general emitter node. I think it's 3

Checked the blood and gore mod. It does just replace the emitters, unfortunately.

i think there's only slots 0-3 for it to be mounted to, and it's the general emitter node. I think it's 3

huh, is the 0-3 mount slots a blockland thing? The reference appendix pdf I have for torque script says 0-7. I don't think the pdf is for a newer version of torque, but Baddy has seemed to have changed quite a bit, annoyingly enough.

If there are indeed only a total of 4 slots, then slot 3 would make the most sense for the emitters. Thanks for the info
« Last Edit: December 26, 2016, 10:25:09 PM by ArmyUnit »

The 0 to 3 slots is true, sadly.
While you are right that the reference pdf says 7, sadly, we do not have access to 7.

One thing that works as a workaround for reserved emitter slots is just spawning the emitter at the player's hack transform and having it move every 33 ms until it ends. That way the slot can be used for armors and other mounted images

huh, is the 0-3 mount slots a blockland thing? The reference appendix pdf I have for torque script says 0-7. I don't think the pdf is for a newer version of torque, but Baddy has seemed to have changed quite a bit, annoyingly enough.
Pretty sure we had the usual 8 slots back in v0002, seems it was changed for retail.

The 0 to 3 slots is true, sadly.
While you are right that the reference pdf says 7, sadly, we do not have access to 7.

rip
Thanks for the double-confirmation though.

One thing that works as a workaround for reserved emitter slots is just spawning the emitter at the player's hack transform and having it move every 33 ms until it ends. That way the slot can be used for armors and other mounted images

Yeah I'll probably have to do something like that. Seems a little messy, but fortunately the effect I need is pretty short-lived.

Pretty sure we had the usual 8 slots back in v0002, seems it was changed for retail.

Aw what, really? Baddy whyyy

pain images are an 'emote'
which are played through the function

player::emote(%pl,%data,%spamOverride)

if %data is an image (ie pain images) they are mounted to slot 3


if a player datablock has a field set to true named "useCustomPainEffects"
and has valid %db.painHighImage / %db.painMidImage / %db.painLowImage
it will use those pain images instead

if a datablock does not have a valid image / projectile under one of the 3 datablock pain Images no pain image will be emitted



One thing that works as a workaround for reserved emitter slots is just spawning the emitter at the player's hack transform and having it move every 33 ms until it ends. That way the slot can be used for armors and other mounted images
this would probably look rather stuffty even from the hosts point of view let alone the clients with client prediction and all that jazz

if you really want a good hacky work around
mount an invisible bot with no model to the player an mount an image to that bot
« Last Edit: December 28, 2016, 01:08:57 AM by Swollow »