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 Thu Apr 18, 2024 11:07 pm
All times are UTC + 0
Problem with new faction.
Moderators: Generals Moderators, Global Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
suraj_geddam98
Missile Trooper


Joined: 02 Aug 2009
Location: A red zone, helping the Scrin. Posts:100000000

PostPosted: Mon Aug 31, 2009 9:24 am    Post subject:  Problem with new faction.
Subject description: No YAV or YAD.
Reply with quote  Mark this post and the followings unread

Hey guys! Recently I created a new faction called India, which had all three worker units and an American Command Center. But whenever I win or lose a game with India, there is no "You Are Victorious" or "You Are Defeated"
screen coming up.
How do I solve this problem?

Back to top
View user's profile Send private message
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Mon Aug 31, 2009 1:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

I am guessing that this is for normal Generals, but I would assume that modding it would be exactly the same as ZH, but....

List everything that you added to make this new faction. Your player Template codes, your controlbarscheme, etc etc. Aslo, will the game eventually go to the score screen after you have won, or does it just stay ingame forever? There might be a small chance theres a building in the corner you forgot.

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
suraj_geddam98
Missile Trooper


Joined: 02 Aug 2009
Location: A red zone, helping the Scrin. Posts:100000000

PostPosted: Mon Aug 31, 2009 2:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Codes :


PlayerTemplate.ini
Code:
PlayerTemplate FactionIndia
  Side              = India
  PlayableSide      = Yes
  StartMoney        = 0
  PreferredColor    = R:255 G:255 B:0
  IntrinsicSciences = SCIENCE_AMERICA
  PurchaseScienceCommandSetRank1  = SCIENCE_AMERICA_CommandSetRank1
  PurchaseScienceCommandSetRank3  = SCIENCE_AMERICA_CommandSetRank3
  PurchaseScienceCommandSetRank8  = SCIENCE_AMERICA_CommandSetRank8
  SpecialPowerShortcutCommandSet  = SpecialPowerShortcutUSA
  SpecialPowerShortcutWinName     = GenPowersShortcutBarUS.wnd
  SpecialPowerShortcutButtonCount = 5
  DisplayName       = INI:FactionIndia
  StartingBuilding  = AmericaCommandCenter
  StartingUnit0     = ChinaVehicleDozer
  StartingUnit1     = AmericaVehicleDozer
  StartingUnit2     = GLAInfantryWorker
  ScoreScreenImage  = America_ScoreScreen
  LoadScreenImage   = SAFactionLogoPage_US
  LoadScreenMusic   = Load_USA
  ;HeadWaterMark    = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
  FlagWaterMark     = WatermarkUSA
  EnabledImage      = SSObserverUSA
  BeaconName        = MultiplayerBeacon
  SideIconImage     = GameinfoAMRCA
End


ControlBarScheme.ini
Code:
ControlBarScheme India8x6
  ScreenCreationRes X:800 Y:600
  Side India
  QueueButtonImage SCBigButton
  RightHUDImage SALogo
  CommandBarBorderColor R:0 G:21 B:126 A:255   ;blue
  BuildUpClockColor R:0 G:0 B:0 A:160
  ButtonBorderBuildColor R:67 G:108 B:190 A:255   ;blue
  ButtonBorderActionColor R:1 G:175 B:2 A:255     ;Green
  ButtonBorderUpgradeColor R:208 G:108 B:0 A:255  ;Orange
  ButtonBorderSystemColor R:207 G:195 B:2 A:255   ;yellow
 
  GenBarButtonIn SABarButtonGen2IN
  GenBarButtonOn SABarButtonGen2ON
 
  ToggleButtonUpIn SAMinMaxUH
  ToggleButtonUpOn SAMinMaxU
  ToggleButtonUpPushed SAMinMaxUP

  ToggleButtonDownIn SAMinMaxH
  ToggleButtonDownOn SAMinMax
  ToggleButtonDownPushed SAMinMaxP

  OptionsButtonEnable SAOptions
  OptionsButtonHightlited SAOptionsH
  OptionsButtonPushed SAOptionsP
 
  IdleWorkerButtonEnable SAWorker
  IdleWorkerButtonHightlited SAWorkerH
  IdleWorkerButtonPushed SAWorkerP
  IdleWorkerButtonDisabled SAWorkerI
  BuddyButtonEnable SAChat
  BuddyButtonHightlited SAChatH
  BuddyButtonPushed SAChatP
 
  BeaconButtonEnable SABeacon
  BeaconButtonHightlited SABeaconH
  BeaconButtonPushed SABeaconP
OptionsButtonDisabled SAOptionsI
BuddyButtonDisabled SAChatI
BeaconButtonDisabled SABeaconI

  GeneralButtonEnable SAGeneral
  GeneralButtonHightlited SAGeneralH
  GeneralButtonPushed SAGeneralP
  GeneralButtonDisabled SAGeneralI

  UAttackButtonEnable SAUAttackI
  UAttackButtonHightlited SAUAttackH
  UAttackButtonPushed SAUAttackP

  MinMaxButtonEnable SAMinMax
  MinMaxButtonHightlited SAMinMaxH
  MinMaxButtonPushed SAMinMaxP

  MinMaxUL X:646 Y:432
  MinMaxLR X:718 Y:463
  GeneralUL X:719 Y:432
  GeneralLR X:799 Y:463
  UAttackUL X:140 Y:412
  UAttackLR X:175 Y:430

  OptionsUL X:195 Y:490
  OptionsLR X:229 Y:514
  WorkerUL X:195 Y:516
  WorkerLR X:229 Y:540
  ChatUL X:195 Y:568
  ChatLR X:229 Y:592
  BeaconUL X:195 Y:545
  BeaconLR X:229 Y:566

  PowerBarUL X:260 Y:470
  PowerBarLR X:538 Y:476
  ExpBarForegroundImage SAExpBar
  MoneyUL X:360 Y:438
  MoneyLR X:439 Y:457

  GenArrow USLevelUP
  CommandMarkerImage SAEmptyFrame
  ImagePart
    Position X:0 Y:408
    Size X:800 Y:191
    ImageName InGameUIAmericaBase
    Layer 4 ;; layer means how deep the image will be drawn, it's a number between 0-5 with 0 being on top
  End
End


It stays ingame forever. Even when I self-destruct myself, it still stays ingame. #Tongue
Yes, it is for normal Generals.
Also, there is no doubt about missing a tiny building.
It shows "Player defeated."

Back to top
View user's profile Send private message
suraj_geddam98
Missile Trooper


Joined: 02 Aug 2009
Location: A red zone, helping the Scrin. Posts:100000000

PostPosted: Sun Sep 06, 2009 6:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Sorry for double post, but i'm really having problems with this problem.

_________________

Tutorials rock!

Back to top
View user's profile Send private message
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Sun Sep 06, 2009 2:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hmmm, everything seems to be correct, as the only things you added were the additional starting units. How about you test it with only 1 starting unit and see what happens. Then 2, and then 3. If that fails, report it. This is a far shot, but maybe theonly reference to your side actually being a side is the India in the player template, as you did not give them any units. Try cloning a unit (or building) and giving it to India by changing the side.

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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
You cannot post new topics in this forum
You cannot 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.1338s ][ Queries: 11 (0.0077s) ][ Debug on ]