English Eating with Scriptkey icon

2 comments
23.02.11 12:24:19 am
like 1 likes it!
2 kb, 126 Downloads
Kirschkaffee
User
Offline Off
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
ok This file has been reviewed and approved by Fraizeraust (07.07.17 06:55:41 pm)

Comments

2 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
26.02.11 09:58:58 am
Up
Kirschkaffee
User
Offline Off
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.
26.02.11 09:18:09 am
like I like it!
Up
jessetheduck
User
Offline Off
good job :). Keep i the good work!
To the start Previous 1 Next To the start