Page 1 of 1

Some questions about Buildings..

Posted: 10 Nov 2010, 21:00
by Remotehorst
Would it be possible (and easy) to have new structures and give them a new tilesize?
I want to create a new building with 3x3 maybe even 4x4 size.

This building should only "work" if another special building is directly beneath it ("touching it").
I would be very glad if someone could help me into this.

If this all works my next question would be:
Can i recode the AI if i got only a little programming experience in PHP or do i need more?
I want the AI to build this special buildings directly after building the command center.

And my last question: How can i make it that the player and AI has only a little amount of time to build this structure? (10 minutes) If he did not build it, or the building will be destroyed the player looses the game.


Thanks in Advance!

Remotehorst

Re: Some questions about Buildings..

Posted: 11 Nov 2010, 00:11
by Per
New buildings with new sizes is not difficult, you just need to learn the stats and wrf stuff, which is painful.

AI coding is not very hard either, just be aware that the script language is very primitive and full of bugs and has little in the way of modern debugging aids. So be prepared to have exceptional patience.

Timeouts can be coded in campaign scripts, if you wish.

Re: Some questions about Buildings..

Posted: 11 Nov 2010, 00:46
by Remotehorst
So it should be possible! Thank you for the information. :)