It works well with Unit and Model ... However when it comes to Actor it's getting lame.
<!-- Not working ... The unit does not show up! --><CActorUnitid="TDWave1"parent="Ultralisk"/><!-- If you use the Ultralisk parent as parent, then it kinda works. However the attack is not working--><CActorUnitid="TDWave1"parent="GenericUnitStandard"><Parentvalue="Ultralisk"/></CActorUnit>
I don't know exactly what is going on but there are really strange things going on within the ActorData.xml file. Here are some strangeness.
##id## (why not $id like they do with $parent?)
<On> tag containing strings similar to code
Actor referencing random data from everywhere (unit, abilities ...)
If you know if that's possible to make parenting work, that would be of great help :)
@vjeux: Go
I don't know exactly what is going on but there are really strange things going on within the ActorData.xml file. Here are some strangeness.
id (why not $id like they do with $parent?)
<</quote>>
$parent is only used in layouts. It is sadly clear that the layout programmers had a different convention scheme from the game data dudes.
id is actually used A LOT in the Core.SC2Mod game data files.
Hello,
For the Tower Defense, I've been trying to make complete new units. In order not to copy & paste I used the parent="" utility of the XML files.
It looks like that:
It works well with Unit and Model ... However when it comes to Actor it's getting lame.
I don't know exactly what is going on but there are really strange things going on within the ActorData.xml file. Here are some strangeness.
#
#id#
# (why not $id like they do with $parent?)If you know if that's possible to make parenting work, that would be of great help :)
@vjeux: Go I don't know exactly what is going on but there are really strange things going on within the ActorData.xml file. Here are some strangeness.
id
(why not $id like they do with $parent?) <</quote>>$parent is only used in layouts. It is sadly clear that the layout programmers had a different convention scheme from the game data dudes.
id
is actually used A LOT in the Core.SC2Mod game data files.Examples:
@vjeux: Go <On> tag containing strings similar to code <</quote>>
Well, it is way better than how requirements/requirement nodes work. At least when doing it by hand.
@vjeux: Go Actor referencing random data from everywhere (unit, abilities ...) <</quote>>
It really isn't random, and you know it :p
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Appdneding to teh
id
thing, tehre is alos some neat referencing method for inheritance that I ripped from the chinese:I think mentioned that before, but just in case I didint :P
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!