Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

MovieCube: new register... commands, attachments for chars

Talk about anything related to Platinum Arts Sandbox here!
Locked
offtools
Member
Member
Posts: 125
Joined: June 23rd, 2009, 2:10 pm
Name: offtools
IRC Username: offtools

MovieCube: new register... commands, attachments for chars

Post by offtools »

hi,

i added new register commands to add playermodels and items. i will add it to the wiki soon:

commands for the map.cfg:

Code: Select all

registercharactermodel uh/chars/man //added as playermodel 0
registercharactermodel rc //added as playermodel 1

registercharacteritem 0 0 uh/attach/hat 0 //params: playermodel, bodypart, model, anim rule, added as item 0
registercharacteritem 0 16 uh/attach/lshoe 0 //added as item 1
registercharacteritem 0 17 uh/attach/rshoe 0 added as item 2
registercharacteritem 0 9 uh/attach/flag 0 //added as item 3
attach stuff onto player:

Code: Select all

playerattach 0
playerattach 1

playerdetach 0 //detach item 0
playerdetach 2
attach stuff onto characters:

Code: Select all

appendactionattach charname 0 0 //params: charname, state - should be 0, item as above
appendactiondetach charname 0 0
offtools.
Locked