I've tried to clone a snail with a brain of SkeletonArcher but it doesn't seem to work:
Code: Select all
cloneObject{
name = "ranger_snail",
baseObject = "snail", --clone of a snail
rangedAttack = "frost_arrow", --add rangedAttack property
brain = "SkeletonArcher", --change AI to ranged
health = 50, --lower health, as ranged is harder
sight = 4, -- increase sight co that snail can shoot from a distance
attackPower = 30, -- inc. attPower to hit for more dmg than original snail with normal attack
}
Attack animation plays when I'm approaching it but nothing happens except playing the attack anim.
When I try to move closer (to be like, 2 steps away, not 3) editor crashes with error:
Code: Select all
Podpis problemu:
Nazwa zdarzenia problemu: APPCRASH (Event name)
Nazwa aplikacji: grimrock.exe (app name)
Wersja aplikacji: 0.0.0.0 (app version)
Sygnatura czasowa aplikacji: 5065b25d (time signature)
Nazwa modułu z błędem: MSVCR100.dll (module that caused the error)
Wersja modułu z błędem: 10.0.30319.1 (that module version)
Sygnatura czasowa modułu z błędem: 4ba1dbbe (time signature of that module)
Kod wyjątku: c0000005 (exception code)
Przesunięcie wyjątku: 0007d101 (exception switch)
Wersja systemu operacyjnego: 6.1.7601.2.1.0.768.3 (OS version)
Identyfikator ustawień regionalnych: 1045 (regional settings modifier)
Dodatkowe informacje 1: 0a9e (aditional info 1)
Dodatkowe informacje 2: 0a9e372d3b4ad19135b953a78882e789 (add info 2)
Dodatkowe informacje 3: 0a9e (etc.)
Dodatkowe informacje 4: 0a9e372d3b4ad19135b953a78882e789 (etc.)
Przeczytaj w trybie online nasze zasady zachowania poufności informacji:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0415
Jeśli zasady zachowania poufności informacji w trybie online nie są dostępne, przeczytaj nasze zasady zachowania poufności informacji w trybie offline:
C:\Windows\system32\pl-PL\erofflps.txt