[MOD IDEA] Epic Legends of the Hierach: The Elemenstor Saga - Page 2

[MOD IDEA] Epic Legends of the Hierach: The Elemenstor Saga

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Guessmyname wrote:Uhh...

there's a zombie melee unit, works well but have to set them to roam or they don't go after people

That's the main problem. Is there a way to make units automatically set to roam?
Yes there is!
I'd either let an endless loop run in the background which sets it roam every second or so or set it to roam in Create()/StartMove()/StopMove() without the need of an endless loop.

"set STANDINGFIREORDER to 2;" should do the trick. You'll need an SVN build for this to work.
User avatar
Muzic
Posts: 950
Joined: 09 Aug 2006, 07:08

Post by Muzic »

SinbadEV wrote:Look, I even got started

Image
Cute oddly enough o_O
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Heh heh heh
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Hey, um, I want to use this STANDINGFIREORDER stuff. For Create() simplicity, this would rule.

I take it 0 is Hold Position, 1 is Engage, 2 is Roam?

Sorry to derail the thread. Nice... pumpkin... thing. I'd love to do a pure fantasy game, btw, but I'm still in the middle of my current project, so I can't help right now, but might be available later.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

I take it 0 is Hold Position, 1 is Engage, 2 is Roam?
Think so, yes.
Just noticed that it's STANDINGMOVEORDERS, my bad.

Code: Select all

int fireState;							//0=hold fire,1=return,2=fire at will
int moveState;							//0=hold pos,1=maneuvre,2=roam
Also, the UI LED buttons are not being updated. But it seems to work at least.

Sorry for borrowing the thread.
Post Reply

Return to “Off Topic Discussion”