

Grid offset - is an offset of position snapping while you move or place item. It is NOT offset of position X/Y, it is only helps to correctly snap your NPC by "snap to grid" feature.Sambo wrote:I tried to change the grid offset of an NPC, but it doesn't do anything. And I made sure to save the config file, reload configurations, and reload the level. Still nothing.



Code: Select all
[npc-10]
name="Coin (Gold)"
group="Super Mario Bros. 3"
category="Bonus"
image="npc-10.gif"
algorithm="0"
default-effect=10
shell-effect=10
gfx-offset-x=0
gfx-offset-y=0
gfx-height=32
gfx-width=28
grid=16
grid-offset-x=2
grid-offset-y=0
fixture-height=32
fixture-width=28
frame-style=0
frames=4
frame-speed=128
foreground=1
custom-animation=0
speed=0
container=0
have-special=0
score=1
moving=0
scenery=0
immortal=0
yoshicaneat=0
allow-bubble=1
allow-egg=1
allow-lakitu=1
allow-buried=1
takable=1
grab-side=0
grab-top=0
grab-any=0
default-health=1
hurtplayer=0
hurtnpc=0
block-npc=0
block-npc-top=0
block-player=0
block-player-top=0
collision-blocks=1
gravity=0
adhesion=0
deactivate=1
kill-slside=0
kill-onjump=0
kill-bynpc=0
kill-fireball=0
kill-iceball=0
kill-hammer=0
kill-tail=0
kill-spin=0
kill-statue=0
kill-with-mounted=0
kill-on-eat=0
cliffturn=0
lava-protection=0
[npc-258]
name="Coin (Blue)"
group="Super Mario World"
category="Bonus"
image="npc-258.gif"
algorithm="0"
default-effect=10
shell-effect=10
gfx-offset-x=0
gfx-offset-y=0
gfx-height=32
gfx-width=28
grid=16
grid-offset-x=2
grid-offset-y=0
fixture-height=32
fixture-width=28
frame-style=0
frames=4
frame-speed=128
foreground=1
custom-animation=0
speed=0
container=0
have-special=0
score=1
moving=0
scenery=0
immortal=0
yoshicaneat=0
allow-bubble=1
allow-egg=1
allow-lakitu=1
allow-buried=1
takable=1
grab-side=0
grab-top=0
grab-any=0
default-health=1
hurtplayer=0
hurtnpc=0
block-npc=0
block-npc-top=0
block-player=0
block-player-top=0
collision-blocks=1
gravity=0
adhesion=0
deactivate=1
kill-slside=0
kill-onjump=0
kill-bynpc=0
kill-fireball=0
kill-iceball=0
kill-hammer=0
kill-tail=0
kill-spin=0
kill-statue=0
kill-with-mounted=0
kill-on-eat=0
cliffturn=0
lava-protection=0Users browsing this forum: 1 guest