Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 9:24 am
All times are UTC + 0
Icon For Nod AirDrop ?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Tue Apr 09, 2013 1:10 am    Post subject:  Icon For Nod AirDrop ? Reply with quote  Mark this post and the followings unread

Ok guys someone has to know this one so I need your help finishing my mod.

The Nod now have large Tank and Troop airdrops that I got working...well at least the AI builds them and sends them in but I don't know how to set up the icon to call them in when you play as the Nod.

I set up the Nod airdrop just like the GDI Bloodhound airdrop but there is no icon  code at the GDI Airtower that I can find for the bloodhound so I can't figure out how to set it for the Nod Hangar.

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Tue Apr 09, 2013 7:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Considering your post on cnclabs, where the help was more than pitiful, and cncnz where none was given at all when I don't post I will reveal that you're missing an entry in the PlayerPowerButtonTemplateStore
(GlobalData/PlayerPowerButtonTemplates.xml)
Copy the whole thing and keep in mind to change the id to something like "PlayerPowerButtonTemplateStore_mod".
(Or UnitAbilityButtonTemplateStore if you want the button for the object, behavior is the same)

_________________

Back to top
View user's profile Send private message Skype Account
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Wed Apr 10, 2013 12:50 am    Post subject: Reply with quote  Mark this post and the followings unread

PlayerPowerButtonTemplates_mod added to Mod.xml



TargetedPowerButton
RadiusCursor="TargetingDecalBloodhound"
id="SpecialPowerCallSupportNODStyka">
<State>
</TargetedPowerButton

Still no icon when I build the Nod Hangar.

I also don't see how to attach any button to it ?

The reason I had to include this file is because the site won't allow me to post the code that I added.

Just search for  NODStyka.



PlayerPowerButtonTemplates_mod.txt
 Description:

Download
 Filename:  PlayerPowerButtonTemplates_mod.txt
 Filesize:  11.26 KB
 Downloaded:  57 Time(s)


Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Wed Apr 10, 2013 2:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well your special power is called SpecialPowerCallSupportStyka but referenced as SpecialPowerCallSupportNODStyka
Also you didn't rename the store like you were told to.

_________________

Back to top
View user's profile Send private message Skype Account
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Apr 11, 2013 7:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok I renamed the id to PlayerPowerButtonTemplateStore_mod

PlayerPowerButtonTemplateStore
id="PlayerPowerButtonTemplateStore_mod">

I had to take of the < sign because this site won't let me post anything that starts with it.


And made the changes.

Nothing happens, I still don't get any button.

And I still can't post any code because of this site.

Code:
<TargetedPowerButton>
            <State>
         </TargetedPowerButton>

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Thu Apr 11, 2013 10:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Use the checkbox "Disable HTML in this post" if you want t use stuff like
<test
id="test" />


btw if you would upload all relevant files in a zip file I think the problem can be fixed much quicker than this guesswork where you might have screwed up.

_________________

Back to top
View user's profile Send private message Skype Account
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Thu Apr 11, 2013 2:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

I will do that this evening...BIG THANKS Ju-Jin.

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Fri Apr 12, 2013 8:36 am    Post subject: Reply with quote  Mark this post and the followings unread

PlayerPowerButtonTemplateStore.xml is what you called your file
Code:
<Include type="all" source="DATA:Military/data/GlobalData/PlayerPowerButtonTemplate.xml" />

is your include... you should be able to guess your error.

Also add this xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">

   <Includes>
      <Include type="instance" source="DATA:System/PlayerSpellBook.xml" />
   </Includes>

   <GameObject
      id="PlayerSpellBook"
      inheritFrom="PlayerSpellBook">
      <Behaviors>
         <PlayerPowerManager
            id="ModuleTag_NodStykaPlayerPower"
            SpecialPowerTemplate="SpecialPowerCallSupportNODStyka" />
      </Behaviors>
   </GameObject>

</AssetDeclaration>



btw your files are a mess.

_________________

Back to top
View user's profile Send private message Skype Account
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Apr 12, 2013 2:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Into what file do I add the above code ?

Quote:
btw your files are a mess.

That's because I don't know what's supposed to go where.

That Wolverene folder is there because I couldn't get it into the game.

There is a lot of units that I tried to get ingame but can't.

I forgot how many weeks it took to get the Rhino and Titan into the game.

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Fri Apr 12, 2013 5:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, even the stuff you add in your files are a mess.
But anyway, create a new xml file and include that in your mod.xml
It does not matter where stuff is, you can even put your whole xml part of the mod into the mod.xml if you feel fancy to do so (but the additional maps thing obviously).

_________________

Back to top
View user's profile Send private message Skype Account
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Apr 12, 2013 7:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank You So Much for that code.

There is no way in hell that I would have figured that out.

I will try to get those units into the game so if I have a problem I post my code to see if you can tell me were I messed up.

Back to top
View user's profile Send private message
Ju-Jin
Cyborg Firebomber


Joined: 23 Mar 2009
Location: Germany

PostPosted: Sun Apr 14, 2013 10:36 am    Post subject: Reply with quote  Mark this post and the followings unread

btw you maybe want to tell commiedog that the issue is resolved...
as "modding guru" as it says in his signature I still wonder why he never even considered the right solution... oh well >.>

_________________

Back to top
View user's profile Send private message Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 3.6955s ][ Queries: 13 (3.5235s) ][ Debug on ]