creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Eat Hand.... help   
KC11

KC11
United States  

 visit KC11's website: DragonClawWritings (Tumblr)
  12/13/2008

Well, I'm trying to redo the eat hand agent. I'm keeping to the basic one bite agent at the mo, but it seems to be wanting to drive me insane....



****Y HELLO THAR

inst
new: simp 2 11 7000
"eathand" 3 1 5000
attr 195
bhvr 48
elas 30
fric 50
accg 3
mvto 1294 9584
cmrt 0

*****om nom nom

scrp 2 11 7000 12
lock
sndc "chwp"
stim writ from 79 2
pose 1
wait 20
kill ownr
endm

*****bai

rscr
enum 2 11 7000
kill targ
next



I looked at it in the CAOS tool, and it says these lines are bad:

new: simp 2 11 7000
"eathand" 3 1 5000


And it won't inject.

Help?


Do not upset the ugly worm, lest it be a dragon in disguise. (>oo)>

 
Papriko
Peppery One

Papriko



  12/13/2008

you want to let creatures eat the hand? would a sucking function not be better? like a small cow sucks the milk of mum? something like that.

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
KC11

KC11


 visit KC11's website: DragonClawWritings (Tumblr)
  12/13/2008

Actually, this agent would inject a food agent that the norns would eat. They would not eat the actual hand cursor.

It's more of a joke agent than anything. ;) (you know, norns are always saying "eat hand" and similar?)


Do not upset the ugly worm, lest it be a dragon in disguise. (>oo)>

 
Papriko
Peppery One

Papriko



  12/13/2008

hehe, then is ok ^^
I though you want to let them eat the hand itself...


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
RisenAngel
Sanely Insane

RisenAngel

Manager


 visit RisenAngel's website: The Realm
  12/16/2008

Try putting:

new: simp 2 11 7000



and

"eathand" 3 1 5000



on the same line, if they aren't already. You also have one heck of a strange sense of humor with those comments, but I highly doubt that has to do with anything.


~ The Realm ~
Risen Angel's Creatures Blog


 
KC11

KC11


 visit KC11's website: DragonClawWritings (Tumblr)
  5/30/2010

Alright, I'm trying this project yet again now that summer is coming up. THe agent now injects with "ject "eathand.cos" 7" , can be moved around, and causes no errors. However, all my norn ends up doing is kinda humping it instead of eating the meal.

Initially, I found I had not changed the agent identifier for the eat script, so I thought that would solve the issue, but my norn is continually humping my hand.

Code here:


inst
new: simp 2 11 7645 "ediblehand" 1 0 500
attr 195
elas 10
accg 2
perm 100
seta va00 targ
enum 1 2 11
spas targ va00
doif ov00 = 0 and clac = 0
mesg writ targ 0
endi
next

scrp 2 11 7645 12
snde "chwp"
stim writ from 79 1
kill ownr
endm


rscr
enum 2 11 7645
kill targ
next
scrx 2 11 7645 12


Do not upset the ugly worm, lest it be a dragon in disguise. (>oo)>

 
Papriko
Peppery One

Papriko



  5/30/2010

You didn't set BHVR. I had a similar problem that my creatures could not push a gun (for the Zombie Project) when I did not set BHVR.
Perhaps that's it.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
KC11

KC11


 visit KC11's website: DragonClawWritings (Tumblr)
  5/30/2010

Thank you, added BHVR command and hand is now being digested correctly.

Now I run into yet another problem. I'm trying to compile all this into an agent. I tried EasyPray, and while it said it compiled perfectly, I cannot find the agent file anywhere. Several attempts to fix this have gone without hope.

Therefor, I decided to cut out the middle man and compile using PrayBuilder. I copied the compile given to me by EasyPray, which is at the end of this message. I got this error:

Error on line 0/ Expecting Quoted String, got ***LEXOR ERROR***


This comes to my conclusion that one reason we do not have more agenteers is because many people would set their computer on fire at this point.

"en-GB"

group AGNT "eathand"
"Agent Type" 0

"Agent Description" "Satisfy your norn's hunger for hand without injury to yourself! "
"Agent Animation File" "ediblehand.c16"
"Agent Animation Gallery" "ediblehand"
"Agent Animation String" "0"
"Agent Bioenergy Value" 50

"Script Count" 1
"Script 1" @ "eathand.cos"

"Dependency Count" 2
"Dependency 1" "ediblehand.c16"
"Dependency Category 1" 2
"Dependency 2" "chwp.wav"
"Dependency Category 2" 1


"Remove script" "enum 2 11 7645 kill targ next scrx 2 11 7645 12"


group DSAG "eathand DS"
"Agent Type" 0

"Agent Description" "Satisfy your norn's hunger for hand without injury to yourself! "
"Agent Animation File" "ediblehand.c16"
"Agent Animation Gallery" "ediblehand"
"Agent Animation String" "0"
"Agent Sprite First Image" 0

"Script Count" 1
"Script 1" @ "eathand.cos"

"Dependency Count" 2
"Dependency 1" "ediblehand.c16"
"Dependency Category 1" 2
"Dependency 2" "chwp.wav"
"Dependency Category 2" 1


"Remove script" "enum 2 11 7645 kill targ next scrx 2 11 7645 12 scrx 2 11 7645 12"


inline FILE "ediblehand.c16" "ediblehand.c16"


Edit: Alright, I have now figured out this error and have made some progress. Now I get a completely different error!

Trying to add a file mapping to eathand.cos
Oh dear, couldn't open the file :(


I placed both the .cos file and the image file in the same folder with the PrayBuilder. What now?

Edit2: Also, let it be known that I followed all instructions exactly. And let it be known I am using Windows 7.

Edit3: Disregard that, figured it out, tested it, now have a brand new agent to put out there.


Do not upset the ugly worm, lest it be a dragon in disguise. (>oo)>

 
Laura
Tea Queen

Laura

Administrator


 visit Laura's website: CC Chat
  5/30/2010

I've just seen it in the COBs section - what a cool idea for an agent! :D
 
C-Rex
Lollipop Lord

C-Rex


 visit C-Rex's website: The Norn Nebula
  5/31/2010

"...my norn is continually humping my hand." XD

 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki