Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 10
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: Help with loading enemy  (Read 493 times)

0 Members and 1 Guest are viewing this topic.

Offline esn23

  • Sr. Member
  • ****
  • Posts: 255
Help with loading enemy
« on: September 08, 2012, 03:44:26 pm »
here is my enemy text

Code: [Select]
name poswom
health 55
speed 9
type enemy
shadow 4
falldie 2
noblink 1
diesound data/sounds/deathf.ogg
icon data/chars/poswom/icon.gif
palette data/chars/poswom/pal.gif
alternatepal data/chars/poswom/pal2.gif
alternatepal data/chars/poswom/pal3.gif
alternatepal data/chars/poswom/pal4.gif


anim idle
loop 1
offset 100 168
bbox 83 77 39 94
delay 10
frame data/chars/poswom/st1.gif
frame data/chars/poswom/st2.gif
frame data/chars/poswom/st3.gif
frame data/chars/poswom/st4.gif
frame data/chars/poswom/st5.gif
frame data/chars/poswom/st6.gif
        frame data/chars/poswom/st7.gif

anim walk
loop 1
offset 98 168
bbox 81 80 42 92
delay 8
frame data/chars/poswom/w1.gif
frame data/chars/poswom/w2.gif
frame data/chars/poswom/w3.gif
        frame data/chars/poswom/w4.gif


anim pain
loop 0
offset 100 168
bbox 81 80 42 92
delay 12
frame data/chars/poswom/hit1.gif
delay 50
frame data/chars/poswom/hit2.gif
delay 12
frame data/chars/poswom/hit1.gif

anim fall
loop 0
delay 20
offset 96 138
attack 48 14 25 62 15 1
frame data/chars/poswom/fall1.gif
attack 47 21 30 51 15 1
frame data/chars/poswom/fall2.gif

anim rise
loop 0
delay 15
offset 98 168
frame data/chars/poswom/up1.gif
move 10
offset 98 168
frame data/chars/poswom/up2.gif
move 10
offset 98 168
frame data/chars/poswom/up3.gif
move 10
offset 98 168
frame data/chars/poswom/up4.gif
move 10
offset 98 168
frame data/chars/poswom/up5.gif
move 10
        offset 98 168
frame data/chars/poswom/up6.gif
move 10
offset 98 168
frame data/chars/poswom/up7.gif



anim attack1
range 0 70
loop 0
delay 7
offset 100 168
bbox 91 78 26 93
frame data/chars/poswom/k1.gif
attack 110 116 33 44 10 0
frame data/chars/poswom/k2.gif
delay 10
attack 0 0 0 0 0 0
        frame data/chars/poswom/k3.gif



anim attack2
range 0 70
loop 0
delay 7
offset 100 168
bbox 82 85 31 81
frame data/chars/poswom/k21.gif
        frame data/chars/poswom/k22.gif
attack 101 108 51 23 10 0
frame data/chars/poswom/k23.gif
delay 10
attack 0 0 0 0 0 0
        frame data/chars/poswom/k22.gif
delay 10
attack 0 0 0 0 0 0
frame data/chars/poswom/k21.gif

anim attack3
range 0 70
loop 0
delay 7
offset 100 168
bbox 94 83 26 88
frame data/chars/poswom/k31.gif
        attack 119 83 40 37 10 0
        frame data/chars/poswom/k32.gif
delay 10
attack 0 0 0 0 0 0
        frame data/chars/poswom/k33.gif
delay 10
attack 0 0 0 0 0 0
        frame data/chars/poswom/k34.gif

anim death
loop 0
delay 10
offset 100 168
frame data/chars/poswom/die1.gif
frame data/chars/poswom/die2.gif
frame data/chars/poswom/die3.gif
frame data/chars/poswom/die4.gif
frame data/chars/poswom/die5.gif
frame data/chars/poswom/die6.gif
frame data/chars/poswom/die7.gif
frame data/chars/poswom/die8.gif
frame data/chars/poswom/die9.gif
frame data/chars/poswom/die10.gif
frame data/chars/poswom/die11.gif
frame data/chars/poswom/die12.gif
frame data/chars/poswom/die13.gif


anim death2
loop 0
delay 10
offset 100 168
frame data/chars/poswom/die1.gif
frame data/chars/poswom/die2.gif
frame data/chars/poswom/die3.gif
frame data/chars/poswom/die4.gif
frame data/chars/poswom/die5.gif
frame data/chars/poswom/die6.gif
frame data/chars/poswom/die7.gif
frame data/chars/poswom/die8.gif
frame data/chars/poswom/die9.gif
frame data/chars/poswom/die10.gif
frame data/chars/poswom/die11.gif
frame data/chars/poswom/die12.gif
frame data/chars/poswom/die13.gif



anim death3
loop 0
delay 10
offset 100 168
frame data/chars/poswom/die1.gif
frame data/chars/poswom/die2.gif
frame data/chars/poswom/die3.gif
frame data/chars/poswom/die4.gif
frame data/chars/poswom/die5.gif
frame data/chars/poswom/die6.gif
frame data/chars/poswom/die7.gif
frame data/chars/poswom/die8.gif
frame data/chars/poswom/die9.gif
frame data/chars/poswom/die10.gif
frame data/chars/poswom/die11.gif
frame data/chars/poswom/die12.gif
frame data/chars/poswom/die13.gif

here is what i loaded in the level.txt
group 2 1
at 103
wait
at 103

spawn poswom
alias Demoness
coords 350 50
at 50

spawn poswom
map 1
alias Demoness
health 70
coords 350 65
at 70

here is what i put in models.txt
# Enemies
know K' data/chars/k/k.txt
know biker-K' data/chars/biker-k/biker-k.txt
know Yashiro data/chars/yashiro/yashiro.txt
know Ralf data/chars/ralf/ralf.txt
know Shermie data/chars/shermie/shermie.txt
know Eiji data/chars/eiji/eiji.txt
know Joe data/chars/joe/joe.txt
know Yamazaki data/chars/yamazaki/yamazaki.txt
know Angel data/chars/angel/angel.txt
know Billy data/chars/billy/billy.txt
know Jhun data/chars/jhun/jhun.txt
know Mrbig data/chars/mrbig/mrbig.txt
know Robert data/chars/robert/robert.txt
know Heavy data/chars/heavy/heavy.txt
know K9999 data/chars/K9999/K9999.txt
know Rugal data/chars/Rugal/Rugal.txt
know    pssw                     data/chars/poswom/poswom.txt

bor keeps crashing with this message
Total Ram: 2147483647 Bytes
 Free Ram: 886259712 Bytes
 Used Ram: 3026944 Bytes

OpenBoR v3.0 Build 3703, Compile Date: May 23 2012

Game Selected: ./Paks/bor.pak

FileCaching System Init...... Disabled
Initializing video............
Reading video settings from 'data/video.txt'.
WARNING: data/video.txt tries to load a nonnumeric value at video, where a number is expected!
erroneus string: =
Initialized video............. 320x240 (Mode: 0, Depth: 32 Bit)

Loading menu.txt............. Done!
Loading fonts................ 1 2 3 4 Done!
Timer init................... Done!
Initialize Sound..............
sound_load_sample: Failed to load: data/sounds/go.wav

sound_load_sample: Failed to load: data/sounds/block.wav

Loading sprites.............. Done!
Loading level order.......... Done!
Loading script settings...... Done!
Loading scripts.............. Done!
Loading models...............

Cacheing 'Flash' from data/chars/misc/flash.txt
Cacheing 'Kula' from data/chars/kula/kula.txt
Cacheing 'skarlet' from data/chars/wq/wq.txt
Cacheing 'Apple' from data/chars/misc/apple.txt
Cacheing 'Meat' from data/chars/misc/meat.txt
Cacheing '1up' from data/chars/misc/1up.txt
Cacheing 'Money' from data/chars/misc/money.txt
Cacheing 'Gold' from data/chars/misc/gold.txt
Cacheing 'Time' from data/chars/misc/time.txt
Cacheing 'fog' from data/bgs/fog/fog.txt
Cacheing 'Color' from data/bgs/1-2/color/color.txt
Cacheing 'd1' from data/bgs/1-2/d1/d1.txt
Cacheing 'd2' from data/bgs/1-2/d2/d2.txt
Cacheing 'd3' from data/bgs/1-2/d2/d3.txt
Cacheing 'Box' from data/chars/misc/box.txt
Cacheing 'Crate' from data/chars/misc/crate.txt
Cacheing 'Trash' from data/chars/misc/trash.txt
Cacheing 'Table' from data/chars/misc/table.txt
Cacheing 'Chair' from data/chars/misc/chair.txt
Cacheing 'Fence' from data/chars/misc/fence.txt
Cacheing 'Drum' from data/chars/misc/drum.txt
Cacheing 'Trolly' from data/chars/misc/trolly.txt
Cacheing 'K'' from data/chars/k/k.txt
Cacheing 'biker-K'' from data/chars/biker-k/biker-k.txt
Cacheing 'Yashiro' from data/chars/yashiro/yashiro.txt
Cacheing 'Ralf' from data/chars/ralf/ralf.txt
Cacheing 'Shermie' from data/chars/shermie/shermie.txt
Cacheing 'Eiji' from data/chars/eiji/eiji.txt
Cacheing 'Joe' from data/chars/joe/joe.txt
Cacheing 'Yamazaki' from data/chars/yamazaki/yamazaki.txt
Cacheing 'Angel' from data/chars/angel/angel.txt
Cacheing 'Billy' from data/chars/billy/billy.txt
Cacheing 'Jhun' from data/chars/jhun/jhun.txt
Cacheing 'Mrbig' from data/chars/mrbig/mrbig.txt
Cacheing 'Robert' from data/chars/robert/robert.txt
Cacheing 'Heavy' from data/chars/heavy/heavy.txt
Cacheing 'K9999' from data/chars/K9999/K9999.txt
Cacheing 'Rugal' from data/chars/Rugal/Rugal.txt
Cacheing 'poswom1' from data/chars/poswom1/poswom1.txt
Cacheing 'Ramon' from data/chars/ramon/ramon.txt
Cacheing 'Knife' from data/chars/misc/knife.txt
Cacheing 'Shot' from data/chars/misc/shot.txt
Cacheing 'Star' from data/chars/misc/star.txt
Cacheing 'Steam' from data/chars/misc/steam.txt
Cacheing 'Steamer' from data/chars/misc/steamer.txt
Cacheing 'Furnace' from data/chars/misc/furnace.txt
Cacheing 'Crab' from data/chars/crab/crab.txt
Cacheing 'Lobster' from data/chars/Lobster/Lobster.txt

Loading 'Flash' from data/chars/misc/flash.txt
Loading 'Kula' from data/chars/kula/kula.txt
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Command 'drain' not understood in file 'data/chars/wq/wq.txt'!
Loading 'Emma' from data/chars/wq/wq.txt

Loading models............... Done!
Object engine init........... Done!
Input init................... 1. Logitech Dual Action - 4 axes, 12 buttons, 1 hat(s)
                                2. PPJoy Virtual joystick 1 - 6 axes, 16 buttons, 1 hat(s)
Done!


use cached bg
Level Loading:   'data/levels/1.txt'
Total Ram: 2147483647 Bytes
 Free Ram: 862162944 Bytes
 Used Ram: 16330752 Bytes

Loading 'fog' from data/bgs/fog/fog.txt
Command 'noblink' not understood in file 'data/chars/poswom1/poswom1.txt'!

sound_load_sample: Failed to load: data/sounds/deathf.ogg
Loading 'poswom1' from data/chars/poswom1/poswom1.txt
Loading 'K'' from data/chars/k/k.txt

********** An Error Occurred **********
*            Shutting Down            *

Unable to load file 'data/chars/poswom/icon.gif'
Total Ram: 2147483647 Bytes
 Free Ram: 862859264 Bytes
 Used Ram: 16625664 Bytes

Release level data...........Level Unloading: 'data/levels/1.txt'
Total Ram: 2147483647 Bytes
 Free Ram: 863371264 Bytes
 Used Ram: 16109568 Bytes

Done.
Total Ram: 2147483647 Bytes
 Free Ram: 863371264 Bytes
 Used Ram: 16109568 Bytes

Done!
Release graphics data........ Done!
Release game data............

Unload 'Flash' ..................done.
Unload 'Kula' ..................done.
Unload 'Emma' ..................done.
Unload 'fog' ..................done.
Unload 'poswom1' ..................done.
Unload 'K'' ..................done.
Unload 'Ralf' ..................done.

Release game data............ Done!
Release timer................ Done!
Release input hardware....... Done!
Release sound system......... Done!
Release FileCaching System... Done!

**************** Done *****************

Unable to load file 'data/chars/poswom/icon.gif'

Whats wrong with what im doing?





« Last Edit: September 08, 2012, 03:56:19 pm by MatMan »

Offline MatMan

  • Hero Member
  • *****
  • Posts: 1320
Re: Help with loading enemy
« Reply #1 on: September 08, 2012, 03:56:51 pm »
......Unable to load file 'data/chars/poswom/icon.gif' might be a clue.

Offline esn23

  • Sr. Member
  • ****
  • Posts: 255
Re: Help with loading enemy
« Reply #2 on: September 08, 2012, 04:01:45 pm »
yes but why cant it load ?  I tried renaming it making no icon and it still says the same thing

Offline k of evil

  • Jr. Member
  • **
  • Posts: 80
  • Learn, learn, learn to learn!
    • Brazil OpenBor
Re: Help with loading enemy
« Reply #3 on: September 08, 2012, 04:47:47 pm »
I discovery this error! ralf is wrong way
easy - low happy - overpower feelings
normal - normal happy - normal feelings
hard - high happy - rage feelings

Offline Die_In_Fire

  • Hero Member
  • *****
  • Posts: 1140
  • Where eagles dare!
Re: Help with loading enemy
« Reply #4 on: September 08, 2012, 05:20:19 pm »
maybe icon.gif need to be an indexed file...

Offline MatMan

  • Hero Member
  • *****
  • Posts: 1320
Re: Help with loading enemy
« Reply #5 on: September 09, 2012, 04:42:04 am »
After further investigation i think ur problem is...

Code: [Select]
WARNING: data/video.txt tries to load a nonnumeric value at video, where a number is expected!
erroneus string: =

Remove all space's and tabs between commands and there values and make sure it only has a single space. This is a rare error but basically the engine is expecting a number but is getting some letter.

edit..
openBorStats has a format factory that fix's these types of errors.
« Last Edit: September 09, 2012, 04:48:06 am by MatMan »

 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal