View unanswered posts | View active topics It is currently Wed Dec 25, 2024 8:02 pm



Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
 CC Build 30 Info: Lua Draw Functions 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
At the very least, you can select the teams of the first four players. If you want to get fancy, use Weegee's fancy in-game designator, and Clairvoyance's skirmish plus mod for dropping things in during battle.

You could probably have as many teams and npcs you want, but the issue is lag, and having to designate them by non-standard methods.


Tue Feb 18, 2014 8:04 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Can you make it so that AI go-to paths are only visible when you are controlling the actor? (or the waypoint, provided that it's an actor too)

Also, will there be a group-go-to option to set the same waypoint for all actors in a squad? (potentially dismissing the squad leader, instead of "following")


Wed Feb 19, 2014 4:07 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
It's easy to show paths only for selected actor and a bit more complicated to show paths of all squad members, need to think if it's worth doing at all.

Currently they just follow their commander, and the commander himself is gotoing somewhere. This should allow them to act as a group, and not spread everywhere. But when commander dies, they'll switch to goto modes and proceed to commander's destination. I don't think we'll change this, but who knows.


Thu Feb 20, 2014 6:26 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
You can also set the leader to Go To and disband the squad, and the followers will copy the Go To point and move towards it individually.


Thu Feb 20, 2014 7:50 am
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
CaveCricket48 wrote:
You can also set the leader to Go To and disband the squad, and the followers will copy the Go To point and move towards it individually.

Perfect, this is more or less exactly what I was looking for.

Anyway, what comes to hiding the waypoints, I'd be glad if they could at least be set so that they would only be visible when the actor is selected.


Thu Feb 20, 2014 10:16 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
This, assuming it still works last I tried.


Thu Feb 20, 2014 1:35 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Wed Sep 05, 2007 4:14 am
Posts: 3966
Location: Canadida
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Can we have mopixel glows, like the glowing gold from way back when?


Sat Feb 22, 2014 1:03 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Image


Sat Feb 22, 2014 11:43 am
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Will the default FoW in B30 be bigger, also maybe more fitting to the bunker module sizing, such as 96x96 or 192x192?


Sat Feb 22, 2014 11:50 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Now that you asking, I think we need to discuss it. Probably yes.


Sat Feb 22, 2014 12:28 pm
Profile

Joined: Fri Sep 10, 2010 1:48 am
Posts: 666
Location: Halifax, Canada
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
New menu looks nice, easier customisability for players is definitely a good thing.

Also for fow, can it be set up so the awful white reveal colour is toggleable when making fog of war?

Also, I noticed data added or fixed the lua binding for the waypoint function actor:GetAIMOWaypointID(). Since we're getting this waypoint functions to complement the already existing movepath stuff (actor.MOMoveTarget in this case) can I put in a request for the rest of them, i.e. actor:GetClosestAIWaypoint() and actor:GetAllAIWaypoints()? I realise the same stuff can be done using movepath, but a one line solution that doesn't require checking through a bunch of tables would be nice.


Sat Feb 22, 2014 6:50 pm
Profile

Joined: Fri Nov 23, 2012 5:42 am
Posts: 143
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
How will the fog of war and infinite gold options work with custom activities? Similar to the faction selection or do those options overwrite anything the activites' lua says?


Sun Feb 23, 2014 9:02 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
No, they don't overwrite anything, activity must read those values and apply if it want's so.


Mon Feb 24, 2014 3:23 am
Profile
User avatar

Joined: Sun Sep 26, 2010 2:36 pm
Posts: 31
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
It's great to see some progress done on CC. :grin:

Has there been any thought given to designing an updater for the non-steam version of CC?


Mon Feb 24, 2014 8:58 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: CC Build 30 Info: Lua Draw Functions
Image

If you know what I mean.

Also, Bad Boy, Abdul exposed plenty of pathfinding stuff to Lua, they will probably helpful for you.


Wed Mar 05, 2014 2:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.044s | 14 Queries | GZIP : Off ]