Files

> > Stranded II > Misc. > Eating with Scriptkey
Files overviewStranded II overviewMisc. overview

English Eating with Scriptkey >

2 comments2 kb, 415 Downloads

old Eating with Scriptkey

Kirschkaffee
User Off Offline

Hi folks! I guessed some of you guys may be interested in the eating-script i coded for the Candyland-Mod. So here is the code for the game.inf

It allows the player to eat directly from objects and units. It isnt working in items, and for you can eat items with R, it aint necessary also.

It is running without any problems in my mod, though you may have to adapt a few thing when using it for other mods, especially the scriptkeys. I hereby allow you to use this for other mods.

In order to run properly, you have to declare 6 variables on:load in objects and 3 variables in units, further explanations in the comments.

Updates:
> dynamical scaling of objects in relation to eating-counter
> planted objects not scaled by eating counter until grown up
> fixed bug which allowed the player to do something else while eating / doing sports

Also included:
> a little script for gaining and loosing weight, meaning getting fat. i think for this arent any adaptions necessary, maybe the scriptkey again.
> examples for game.inf definitions and objectsscripts, necessary to get the stuff working

Have fun!
Kirschkaffee
edited 3×, last 04.03.11 11:04:49 am
Approved by GeoB99

Download Download

2 kb, 415 Downloads

Comments

2 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Kirschkaffee
User Off Offline

thanks. actually i already developed my code for the mod some further, so this isnt the code as it is in the mod right now, but i want to finish the mod first before adding an updated code with more functions.

old

jessetheduck
User Off Offline

good job :). Keep i the good work!
I like it!
To the start Previous 1 Next To the start