Eufloria > Eufloria Classic

Future

<< < (4/21) > >>

Pilchard123:
Is there an AI-specific gracetimer? Like GetEmpire().GraceTimer?

annikk.exe:
No, but there is an asteroid-specific grace timer.  So you can work around it.  :>
(I'm talking about the "old" version of Eufloria obviously)


--- Code: ---GetAsteroid(0).GraceTimer = 500
--- End code ---

I think that's how it's done..

Pilchard123:
Yeah, that's what I thought it was, but wondered if there was an empire-wide one.

Alex:
Yeah there's a grace timer per empire as well, although I think the asteroid ones override it.


--- Quote from: Pilchard123 on August 04, 2011, 04:59:49 AM ---I realise that the source would need to be compiled, I just thought that if you were to supply a list of some sort - what functions are called, what parameters they take, etc - we could work on producing some of the raw source, which you could then copy over and compile without having to write it yourself. Yes, there may be some tweaking nneded, but it could cut your workload some.

--- End quote ---
Ah, I wouldn't be releasing source for the new C++ version, only for the C# version (which doesn't need bindings that bring it up to date anyway, only new ones).

Pilchard123:
You may just find this annoying, my harping on about this, but I reckon I could work out something useful even without the source. Tell me to shut up if you want me to.

Would the following be something like the GetAsteroid() binding, assuming the class/namespace (I think namespace, but not sure) that GetAsteroid() is in is called eufloriagame.


--- Code: ---
module(L)
[
    def("GetAsteroid", &eufloriagame::GetAsteroid)
];



--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version