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 3:44 am
All times are UTC + 0
Could someone help me with this code?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Mon Apr 13, 2009 4:45 am    Post subject:  Could someone help me with this code? Reply with quote  Mark this post and the followings unread

Ok so I am making my own personal mod with the Emperor's King Oni (which I perfer to call the "Greater King Oni") and Tesla Tank replacing their respective units as in King Oni -> Greater and Hammer Tank -> Tesla Tank. But i've run into a problem, it won't let me make a command for the building of the Greater King Oni. Confused
Heres my code:

From LogicCommand.xml (code has "<>" in proper locations, it's just i couldn't get the whole code to show with them on)

LogicCommand
Type="UNIT_BUILD"
id="Command_ConstructJapanEmperorMecha"
<Object>JapanEmperorMecha</Object>
</LogicCommand>

From LogicCommandSet.xml

<LogicCommandSet>
<Cmd>Command_ConstructJapanMiner</Cmd>
<Cmd>Command_ConstructJapanLightTransportVehicle</Cmd>
<Cmd>Command_ConstructJapanAntiInfantryVehicle</Cmd>
<Cmd>Command_ConstructJapanAntiVehicleVehicleTech1</Cmd>
<Cmd>Command_ConstructJapanAntiAirVehicleTech1</Cmd>
<Cmd>Command_ConstructJapanEmperorMecha</Cmd>
<Cmd>Command_ConstructJapanAntiStructureVehicle</Cmd>

<Cmd>Command_ConstructJapanMCV</Cmd>
</LogicCommandSet>

No edits to the unit itself.

I've also uploaded my build log.



buildlog.txt
 Description:
Username is censored btw.

Download
 Filename:  buildlog.txt
 Filesize:  9.92 KB
 Downloaded:  208 Time(s)


Back to top
View user's profile Send private message ModDB Profile ID
Try_lee
Vehicle Driver


Joined: 05 Aug 2003

PostPosted: Tue Apr 14, 2009 9:04 am    Post subject:   Reply with quote  Mark this post and the followings unread

I've been looking at getting this working myself, but it seems like something the SDK needs to get this and the shogun executioner working correctly ingame is missing (Or I'm being really dumb).

If you build the mod and include the red oni's .xml it should show on the build list, however it'll be invisible once it exits the mecha bay. Joy. Neutral

Back to top
View user's profile Send private message
Darkstorm
Commander


Joined: 20 Jan 2008
Location: Texas

PostPosted: Tue Apr 14, 2009 9:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think it is because you need the model and textures like the samplemod has of the harbinger, just a thought and I wouldn't know how to extract them.

Back to top
View user's profile Send private message ModDB Profile ID
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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: 0.2008s ][ Queries: 13 (0.0106s) ][ Debug on ]