-
Who's Online 8 Members, 1 Anonymous, 573 Guests (See full list)
-
Topics
-
Posts
-
By ThePoshBarbarian · Posted
Ah sorry, forgot to specify. The camel file is from the base game files, so this would have to be edited and included in the mod files. -
By Grautvornix · Posted
Wow! I am deeply impressed! Now we the AI to convert that into blender and minimize the nmber of triangles, right? -
I am not seeing the file in the mod. It is in the public folder though. So, is something in the mod causing a problem with the base game file? I added the file, and took out the line you said, and pushed it to github
-
By ThePoshBarbarian · Posted
Whenever I'm playing on a map with camels on it, and whenever I hover my mouse over a camel, I get an error message, and the camel isn't selectable. ERROR: JavaScript error: simulation/components/Auras.js line 116 AuraTemplates.Get(...) is undefined Auras.prototype.CalculateAffectedPlayers@simulation/components/Auras.js:116:38 Auras.prototype.Clean@simulation/components/Auras.js:244:8 Auras.prototype.Init@simulation/components/Auras.js:18:7 ERROR: JavaScript error: simulation/components/Auras.js line 116 AuraTemplates.Get(...) is undefined Auras.prototype.CalculateAffectedPlayers@simulation/components/Auras.js:116:38 Auras.prototype.Clean@simulation/components/Auras.js:244:8 Auras.prototype.OnOwnershipChanged@simulation/components/Auras.js:489:7 ERROR: Script message handler OnOwnershipChanged failed ERROR: JavaScript error: simulation/components/Auras.js line 171 AuraTemplates.Get(...) is undefined Auras.prototype.GetType@simulation/components/Auras.js:171:23 Auras.prototype.IsRangeAura@simulation/components/Auras.js:196:14 Auras.prototype.GetRangeOverlays@simulation/components/Auras.js:89:13 RangeOverlayManager.prototype.UpdateRangeOverlays@simulation/components/RangeOverlayManager.js:29:51 RangeOverlayManager.prototype.OnOwnershipChanged@simulation/components/RangeOverlayManager.js:67:8 I looked through some of the files and I think(?) I found the issue, in `simulation\templates\gaia\fauna_camel.xml`, line 3 to 5 <?xml version="1.0" encoding="utf-8"?> <Entity parent="template_unit_fauna_hunt_skittish"> <!-- start delete --> <Auras datatype="tokens"> structures/corral_garrison_medium </Auras> <!-- end delete --> <Footprint> <Square width="2.5" depth="5.0"/> <Height>5.5</Height> </Footprint> <Health> <Max>50</Max> </Health> <Identity> <GenericName>Dromedary</GenericName> <SpecificName>Camelus dromedarius</SpecificName> <Icon>gaia/fauna_camel.png</Icon> </Identity> <Loot> <xp>10</xp> </Loot> <ResourceSupply> <Max>200</Max> </ResourceSupply> <Sound> <SoundGroups> <select>actor/fauna/animal/camel_select.xml</select> <order_walk>actor/fauna/movement/camel_order.xml</order_walk> <death>actor/fauna/death/death_camel.xml</death> </SoundGroups> </Sound> <StatusBars> <HeightOffset>6.5</HeightOffset> </StatusBars> <UnitMotion> <WalkSpeed op="mul">0.45</WalkSpeed> <Acceleration op="mul">0.45</Acceleration> </UnitMotion> <VisualActor> <Actor>fauna/camel.xml</Actor> </VisualActor> </Entity> I checked the other animal entities, the cows, pigs, and sheeps, they don't have the aura part in their xmls.
