Creating resources using a spell

By on September 22, 2012 2:33:42 PM from Elemental Forums Elemental Forums

Fenix34

Join Date 06/2005
0

I have been attempting to create a spell that will place new resources on the map, such as shards. But I have been unable to get it to work, I have gotten as far as being able to place the art object for the resource on the map with CreateWorldProp, but no farther, it just ends up being a piece of scenery,  not a functional resource.

I am wondering if trying to do that is even possible, and if it might be possible, how could it be achieved?

Thank-you for your time.

Locked Post 7 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 2:35:26 PM from Elemental Forums Elemental Forums

            <GameModifier>
                <ModType>Map</ModType>
                <Attribute>CreateResourceHoard</Attribute>
                <StrVal>Wild_Wildings</StrVal>
                <Value>1</Value>
            </GameModifier>

Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 2:41:52 PM from Elemental Forums Elemental Forums

It's tricky that we have to create the hoard and not the building. Tripped me up a while back until I got with the program. 

Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 5:31:41 PM from Elemental Forums Elemental Forums

Quoting Heavenfall,
            <GameModifier>
                <ModType>Map</ModType>
                <Attribute>CreateResourceHoard</Attribute>
                <StrVal>Wild_Wildings</StrVal>
                <Value>1</Value>
            </GameModifier>

 

Thanks, managed to get it worked out for most of the resources. Is there a way to do it for elemental shards, or will I have to mod those in for that kind of functionality.

Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 6:17:35 PM from Elemental Forums Elemental Forums

I don't know.

Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 6:30:24 PM from Elemental Forums Elemental Forums

Quoting Heavenfall,
I don't know.

 

Well if you do manage to find out let me know, thanks again.

Reason for Karma (Optional)
Successfully updated karma reason!
September 22, 2012 7:55:52 PM from Elemental Forums Elemental Forums


what about the quest that spawns an air elemental shard - that would be somehing to look at.

Reason for Karma (Optional)
Successfully updated karma reason!
September 23, 2012 3:25:20 AM from Elemental Forums Elemental Forums

Quoting Glowing_Ember,

what about the quest that spawns an air elemental shard - that would be somehing to look at.

 

Thank-you, that worked. Strange that I had attempted something similar before, because I thought that game might have a mechanism for creating shards. I guess that I probably did not have everything in the gamemodifier tags correct.

Thanks again Glowing_Ember for alerting me to that quest.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108433  walnut3   Server Load Time: 00:00:00.0000157   Page Render Time: