[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4866: Undefined array key "database_gc"
need help for new mod - FOSS gamedev and creative worlds

need help for new mod

Kacey
Member
 
Posts: 133
Joined: Sat May 05, 2012 16:20

need help for new mod

by Kacey » Wed Aug 01, 2012 20:47

ello i am working on making a mod that automaticly decays things very slowly and u can fix it with duct tape
but that is just my problem
i need help to figure out how to fix things and make them decay slowly
can anyone help
on a scale of 1 to 10 i am OVER 9000!!!!!!!!!!!!!!!!
 

User avatar
LocaL_ALchemisT
Member
 
Posts: 56
Joined: Thu Jul 19, 2012 16:21

by LocaL_ALchemisT » Wed Aug 01, 2012 21:34

to make a node decay:
you must have 2 types of node, one with good condition texture & the other with bad condition texture.
both nodes will have a metadata variable "age" with some value.

make an abm that decreases "age" over time. When the "age" of good node reaches 0 then it will be replaced with the bad node. When the "age" of bad node reaches 0 then it's destroyed.
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~
 

Kacey
Member
 
Posts: 133
Joined: Sat May 05, 2012 16:20

by Kacey » Fri Aug 03, 2012 02:53

thank u but i also need the code to fix things
on a scale of 1 to 10 i am OVER 9000!!!!!!!!!!!!!!!!
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 11 guests

cron