Dateien

> > Stranded II > Misc. > Eating with Scriptkey
DateiübersichtStranded II-ÜbersichtMisc.-Übersicht

Englisch Eating with Scriptkey >

2 Kommentare2 kb, 415 Downloads

alt 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
3× editiert, zuletzt 04.03.11 11:04:49
Zugelassen von GeoB99

Download Download

2 kb, 415 Downloads

Kommentare

2 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

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.

alt

jessetheduck
User Off Offline

good job :). Keep i the good work!
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang