Installation & Configuration/Explosives

Explosives.yml - Create your explosives here

Throwable:
    Grenade:
        texture: 'http://dl.dropbox.com/u/44243469/GrenadesPack/Textures/itemGrenade.png'
        sound:
            url: 'http://dl.dropbox.com/u/44243469/GrenadesPack/Sounds/stungrenade.ogg'
            volume: 100
        speed: 1.4
        triggers:
            onhit:
                activation: onthrow
            time:
                args: 
                - time: 100
                activation: onthrow
        effects:
            Get_those_creepers_down:
                type: explosion
                args:
                - size: 3
                target:
                    type: explosivelocation
                    args:
                    - radius: 1
Placeable:
    C4:
        design:
            type: step
            attach-to-walls: true
            texture:
                url: 'https://dl.dropbox.com/u/44243469/Grenades+/Textures/C4.png'
                width: 16
                height: 16
                sprite: 16
                used-ids: 0, 0, 0, 0, 0, 0
        hardness: 20
        sound:
            url: 'http://dl.dropbox.com/u/44243469/GrenadesPack/Sounds/c4_explode1.wav'
            volume: 100
        triggers:
            redstone:
                args:
                - powered: true
                activation: onplace
            detonator:
                activation: oninteract
        effects:
            House_Destructor:
                type: explosion
                args:
                - size: 5
                target: 
                    type: explosivelocation
                    args:
                    - radius: 1

These are the nodes, the accepted value types and their function - For Throwables

nodevaluefunction
texturestringthe texture url
sound.urlstringthe sound url
sound.volumeintthe sound volume in percent
speedfloatthe speed of the throwable in air; 1.0 would be normal speed because it is a factor
triggers-see the triggers page for more information
effects-see the effects page for more information

These are the nodes, the accepted value types and their function - For Placeables

nodevaluefunction
design.typestringthe custom block design to use; Available: cube, step, pyramid
design.attach-to-wallstrue/falseShould the block be rotated to look like it was attached to the wall you have placed it on
design.texture-Just change the url for a custom texture, for more information go to the Texture Page
sound.urlstringthe sound url
sound.volumeintthe sound volume in percent
hardnessintthe hardness of the block -> how long it takes to mine
triggers-see the triggers page for more information
effects-see the effects page for more information

Comments

Posts Quoted:
Reply
Clear All Quotes