Shard 0.4/dev
Moderators: hoijui, Moderators
Re: Shard
there is no independent build file for Shard on linux, so you have to compile it through/with spring.
for the current release version of spring:
get the spring sources, unpack them, then:
for the last part onwards (cmake .), see:
http://springrts.com/wiki/Building_Spring_on_Linux
for the current release version of spring:
get the spring sources, unpack them, then:
Code: Select all
wget http://sourceforge.net/projects/springrts/files/springrts/spring-0.82.7.1/spring_0.82.7.1_src.tar.gz/download
tar xfvz spring_0.82.7.1_src.tar.gz
cd spring_0.82.7.1
cd AI/Skirmish
git clone git://github.com/Tarendai/Shard.git
cd ../..
cmake .
http://springrts.com/wiki/Building_Spring_on_Linux
Re: Shard
heh did the AI fill the cap and slow the sim down? I had stages with NTai where it would fill up brazillian battlefields till there were traffic jams of con units searching for places to build.
Currently I haven't focused on BA much, so the support is incomplete, but could be improved dramatically, very easily/quickly. If you do anything to taskqueues.lua please let me know, and if you have any suggestions, feel free =)
Currently I haven't focused on BA much, so the support is incomplete, but could be improved dramatically, very easily/quickly. If you do anything to taskqueues.lua please let me know, and if you have any suggestions, feel free =)
Re: Shard
Yup, 2 AIs filled everything, but the BA script is only buildinng LLT, pewees, solar and mexes. Build a single strong mech and watch the world fall. But couldnt manage to play much, it got too slow. I'm still learning LUA itself and geting a hold of the general structure, the first think I want to ask, is there a way to know which units an certain unit can build? I think it follows somewhat the same C/Java API, right? Is there any editor with code complete for LUA?
Edit: what I'm trying to do is this:
Edit: what I'm trying to do is this:
Code: Select all
build (Unit unit)
foreach Unit childUnit: unit.unitsItCanBuild
if !childUnit.unitsItCanBuild then
queueBuild(unit, childUnit)
end;
foreach Unit childUnit: unit.unitsItCanBuild
if childUnit.unitsItCanBuild then
build(childUnit)
end
-
- MC: Legacy & Spring 1944 Developer
- Posts: 1948
- Joined: 21 Sep 2004, 08:25
Re: Shard
Hey AF, I started using Shard because it seems cool. Got it basically functioning as much as building units and attacking me, but i'm not very capable of making it do much more than this. main goal is to have the ai detect various lus locals and change behaviour accordingly (for instance, withdrawing a unit when it becomes overheated, re-attacking when its cooled down, using jump jets, returning to base to repair, and capturing flags)
just wondering if you'd like to help me out :>
just wondering if you'd like to help me out :>
Re: Shard
Sure, though I don't know how much time I have for a lengthy sit down, and I have to tweak one or two things anyway regarding construction placement.
I assume you'll need to start on gadget<->Shard Comms? Do you have any objections to whatever arises being used as an example/tutorial?
I assume you'll need to start on gadget<->Shard Comms? Do you have any objections to whatever arises being used as an example/tutorial?
Re: Shard
http://darkstars.co.uk/2011/shard-attacks/
A discussion explaining how Shards attacking works. How it figures out which units to attack with, when to attack, and where to attack
A discussion explaining how Shards attacking works. How it figures out which units to attack with, when to attack, and where to attack
Re: Shard
tl;dr
if you want to document shard so others can actually use it, don't do it with chatlogs.
This is a documention:
http://love2d.org/wiki/love
This is useless:
[20:29:26] note
[20:29:31] that the entire attacking system can be either
[20:29:33] sidestepped
[20:29:35] or replaced
[20:29:53] all it would take is either your own behaviours, thats then assigned to attacker units
if you want to document shard so others can actually use it, don't do it with chatlogs.
This is a documention:
http://love2d.org/wiki/love
This is useless:
[20:29:26] note
[20:29:31] that the entire attacking system can be either
[20:29:33] sidestepped
[20:29:35] or replaced
[20:29:53] all it would take is either your own behaviours, thats then assigned to attacker units
Re: Shard
Momentary hiccup, my main machine has died, new one arrives thursday. No data has been lost. I still have my macbook so I am still contactable ( and still have developer tools ). Ill have my new machine setup Friday/Thursday evening, followed by a 5 day weekend ;D
-
- Posts: 3
- Joined: 28 Feb 2011, 02:44
Re: Shard
I see that the Shard github project is now hooked into the main Spring github tree.hoijui wrote:there is no independent build file for Shard on linux, so you have to compile it through/with spring.
https://github.com/spring/spring/commit ... 351f948fae
I'm assuming this means that more people can now look forward to being pwn3d by Shard in future Spring releases on all platforms?