How hard are custom resources to add in, as I don't wanna copy TA.
I am unsure of your coding background and what your vision of a custom resource system entails but I can say, it takes a little work. You should probably start a thread discussing what it is you want to do in game/mod development. That way it can be discussed more at length. I cannot spend much time talking as I will be busy today.
Custom resources depends on how many you want and how far away from the engine you want to go.
S44 uses engine metal and energy (Command - for buying units, and logistics - for supplying ammo) but they are gained and used quite differently to TA, as does BTL (CBills - for buying, Tonnage - to limit how many units you can control at once).
When I get near very steep cliffs, I get NAN errors on things like "BR_height"... which obviosly means everything else then errors. Anyone know why spring would return somthing like that? Or Is is because I'm doing somthing wrong? Do I need to have some kind of fail safe for that eventuality (and how would you suggest doing it?)
Also, If it's clunky as hell, I'm only learning at the mo... (hence all teh comented out bits...)
Joined: 24 Jan 2006, 21:12 Location: There is no god - and reality is his prophetess
nan means not a number. Imagine a sensor in a car, sometimes he just doesent get something and sends back a empty signal. Now if this was just 0 stuff could get ugly, or you would have to build in a thousand checks (if-else) per second, creating a huge workload. Thus nan was created. nan means the data doesent get delivered, but the calculation can continue with it anyway, without resulting in instant error. Basically NaN eats all calculations done with it, and vannishes at the end into thin air or echos.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum