creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Help Forum
old
Can't break volcano rocks   
Nutter
Senior Wrangler

Nutter
United Kingdom  


  9/7/2014

Hi folks - mods, please move this if required as I'm not sure where to post it!

I've tried this with the original volcano.cos, with the updated version that turns the rocks into toys (available from CC downloads) and with a version of volcano.cos called the "boulder renovation script". All allow the hand to pick rocks up (right click) but left-click doesn't do anything. If I drop the rocks from a height, they'll break. But I seem to remember on my old Creatures install, I used to be able to left-click rocks, and this would break them. Does anyone have a copy of that script, or know what I'd need to change to make this happen? Changing attr from 195 to 199 allows the hand to "hit" the rocks, but it's a simple-object-hit which just causes it to bounce. Is there a "hand hits object" script that needs modifying?

 
Luzze

Luzze



  9/7/2014

You'd have to set all rock type attributes to 199 as you said and add a 'push' script for them.

That would be

scrp 2 20 1 1
[...]
endm

for the hot rocks and

scrp 2 21 4 1
[...]
endm

for the cold rocks if I got it right in the original script. In the [...] part there has to be the collision part where the rocks break, which would be

setv va00 posx
setv va01 posy
doif ov00 = 1
snde "rok2"
reps 3
new: simp 2 21 4 "volcano" 1 62 2000
attr 199
perm 99

accg 5
mvto va00 va01
pose 0
aero 0
fric 60
elas 50
setv ov00 2
velo rand -10 10 rand -20 -10

repe
kill ownr
elif ov00 eq 2
snde "rok2"
reps 3
new: simp 2 21 4 "volcano" 10 63 2000
attr 199
perm 99

accg 5
mvto va00 va01
pose 0
aero 0
fric 60
elas 10
setv ov00 3
velo rand -10 10 rand -20 -10

repe
kill ownr
elif ov00 eq 3
snde "rok2"
anim [0 1 2 3 4 5 6 7 8 9]
over
kill ownr

(copied from the 'bad rock collision')

and of course in the removal script there should be the

scrx 2 20 1 1
scrx 2 21 4 1

part :)

I wonder where you got the handbreakable rocks before and what's the purpose of them..
I hope this helps a little bit!

 
Papriko
Peppery One

Papriko



  9/7/2014

The hot ones actually are not breakable.

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Nutter
Senior Wrangler

Nutter



  9/7/2014

No - it was never the hot ones, just after they'd cooled down and become "toy", then the hand could break them (and the bits were toys, too). I wonder if this was something to do with the garden box? I've got the GB gnarlers, and the more toys the better, as far as they're concerned.

Thanks for the scripts, Luzze - I'll have to have a play. :)

 
daz

daz



  9/7/2014

It might have been to do with garden box, I swear the only way I've ever been able to break them is through chucking them about!
 
Papriko
Peppery One

Papriko



  9/7/2014

Nah, I said it because Luzze also included the script ID for hot rocks.

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Luzze

Luzze



  9/8/2014

Hmm, I got the script part out of the commented cos file and it has one break script for 'BAD rocks' and 'GOOD rocks' which I thought to behot and cold ones..
If this isn't the case I wonder what the difference between the bad and the good is actually ^^ and if it is hot/cold then why do the hot ones have a seperate breaking script o.O

 
Papriko
Peppery One

Papriko



  9/8/2014

Well, I guess the bad rocks really are the hot ones, since ingame they are classified as "bad", but I don't think they can be broken, at least not by default.
Someone had to inspect the image file to see if smaller hot rock frames are provided at all. There had to be several for each size, as they have a slight animation for gradually cooling down.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Luzze

Luzze



  9/9/2014

No, there are no images for hot breaking rocks... according to the script, breaking a hot rock would result in cool rocks. But it's prevented by a ov - check on top it.. soo the hot - rock breaking is somehow unnessecary ..
 


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