logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,207

Administrators:
DeeZire, Redemption

There are currently 113 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 10-26-2005, 02:12 PM   #1 (permalink)
Member
 
Join Date: Oct 2005
Posts: 61
Default adding a new faction




I was wondering if there is a tutorial on adding a new faction i have been looking but there are so many posts Ugh!
If you could just point me to the URL i would appreciate it.
Oh and get ready for all my questions that are sure to follow. > J/K


also why does it say spammer next to my name?
I definately have'nt been spamming, hate for people to think i am.
scoobasnacks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 04:43 PM   #2 (permalink)
Member
 
Phantom139's Avatar
 
Join Date: Aug 2005
Location: Stillman Valley,Illinois
Posts: 65
Send a message via AIM to Phantom139
Default

k n00b.

adding a new side is pretty easy when you get the hang of it

and it says spammer bcause you have just joined. Get 11 posts here and that title is gone.

ok for the new sides im gunna post a code from my expanded wars mod. Look at it carefuly

PlayerTemplate.ini

Code:
PlayerTemplate FactionSith
  Side              = Sith
  BaseSide          = China
  PlayableSide      = Yes
  StartMoney        = 0
  PreferredColor    = R:255 G:0 B:0
  IntrinsicSciences = SCIENCE_CHINA
  PurchaseScienceCommandSetRank1 = SCIENCE_CHINA_CommandSetRank1
  PurchaseScienceCommandSetRank3 = SCIENCE_CHINA_CommandSetRank3
  PurchaseScienceCommandSetRank8 = SCIENCE_CHINA_CommandSetRank8
  SpecialPowerShortcutCommandSet = SpecialPowerShortcutChina
  SpecialPowerShortcutWinName     = GenPowersShortcutBarChina.wnd
  SpecialPowerShortcutButtonCount = 10
  DisplayName       = INI:FactionSith
  StartingBuilding  = ChinaCommandCenter
  StartingUnit0     = ChinaVehicleDozer
  ScoreScreenImage  = China_ScoreScreen
  LoadScreenImage   = SNFactionLogoPage_China
  LoadScreenMusic   = Load_China
  ScoreScreenMusic  = Score_China
  ;HeadWaterMark    = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
  FlagWaterMark     = WatermarkChina
  EnabledImage      = SSObserverChina
  BeaconName        = MultiplayerBeacon
  SideIconImage     = GameinfoCHINA
  GeneralImage      = China_Logo
  OldFaction        = Yes   ; This faction was available in the original Generals and should be available even if the oldFactionsOnly flag is set
  ArmyTooltip       = TOOLTIP:BioStrategyLong_Sith
  Features          = GUI:BioFeatures_Sith
  MedallionRegular  = ChinaGeneral_slvr
  MedallionHilite   = ChinaGeneral_blue
  MedallionSelect   = ChinaGeneral_orng
End
Note how its based off of china. that is why it says : BaseSide = China

this means units will be based of of those in china

Now look at everything that has the word "Sith" in it. This is where you have to make changes on your new faction,next we must do this:

ControlBarScheme.ini

Code:
ControlBarScheme Sith8x6
  ScreenCreationRes X:800 Y:600
  Side Sith
  QueueButtonImage SCBigButton
  RightHUDImage SNLogo
  CommandBarBorderColor R:90 G:125 B:2 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 SNBarButtonGen2IN
  GenBarButtonOn SNBarButtonGen2ON
  CommandMarkerImage SNEmptyFrame
  ToggleButtonUpIn SNMaxMinUH
  ToggleButtonUpOn SNMaxMinU
  ToggleButtonUpPushed SNMaxMinUP

  ToggleButtonDownIn SNMaxMinH
  ToggleButtonDownOn SNMaxMin
  ToggleButtonDownPushed SNMaxMinP

  OptionsButtonEnable SNOptions
  OptionsButtonHightlited SNOptionsH
  OptionsButtonPushed SNOptionsP
  IdleWorkerButtonEnable SNWorker
  IdleWorkerButtonHightlited SNWorkerH
  IdleWorkerButtonPushed SNWorkerP
  IdleWorkerButtonDisabled SNWorkerI
  BuddyButtonEnable SNChat
  BuddyButtonHightlited SNChatH
  BuddyButtonPushed SNChatP
 
OptionsButtonDisabled SNOptionsI
BuddyButtonDisabled SNChatI
BeaconButtonDisabled SNBeaconI

  BeaconButtonEnable SNBeacon
  BeaconButtonHightlited SNBeaconH
  BeaconButtonPushed SNBeaconP

  GeneralButtonEnable SNGeneral
  GeneralButtonHightlited SNGeneralH
  GeneralButtonPushed SNGeneralP
  GeneralButtonDisabled SNGeneralI

  UAttackButtonEnable SNUAttackI
  UAttackButtonHightlited SNUAttackH
  UAttackButtonPushed SNUAttackP

  MinMaxButtonEnable SNMaxMin
  MinMaxButtonHightlited SNMaxMinH
  MinMaxButtonPushed SNMaxMinP

  MinMaxUL X:640 Y:433
  MinMaxLR X:687 Y:464
  GeneralUL X:712 Y:433
  GeneralLR X:770 Y:464
  UAttackUL X:97 Y:420
  UAttackLR X:132 Y:437

  OptionsUL X:184 Y:490
  OptionsLR X:220 Y:514
  WorkerUL X:184 Y:516
  WorkerLR X:220 Y:540
  ChatUL X:184 Y:568
  ChatLR X:220 Y:592
  BeaconUL X:184 Y:545
  BeaconLR X:220 Y:566
  PowerBarUL X:260 Y:469
  PowerBarLR X:538 Y:475

  MoneyUL X:360 Y:437
  MoneyLR X:439 Y:456

  GenArrow CHINALevelUP

  ExpBarForegroundImage SNExpBar
  ImagePart
    Position X:0 Y:414
    Size X:800 Y:184
    ImageName InGameUIChinaBase
    Layer 4 ;; layer means how deep the image will be drawn, it's a number between 0-5 with 0 being on top 
  End
  PowerPurchaseImage GeneralsPowerMenu_China
End
once again note everywhere that "sith" is used,Especialy here: Side Sith

This is a must for your new side. Once all of that is complete you make your new units and dozer/buildings and specify them here in PlayerTemplate.ini Again:

StartingBuilding = ChinaCommandCenter
StartingUnit0 = ChinaVehicleDozer

And that should be it.
Post if anything wrong happens

BTW:

ArmyTooltip = TOOLTIP:BioStrategyLong_Sith
Features = GUI:BioFeatures_Sith

in PlayerTemplate.ini are only if you are editing Generals.csf I suggest if you dont know how to .csf edit just change those to existing ones.
Phantom139 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 04:57 PM   #3 (permalink)
Member
 
Join Date: Oct 2005
Posts: 61
Default

Aw that noob comment hurt, LoL J/K
Thanks for the info phantom139.
Although you insulted me i still appreciate your help. > : -)
I am going to give it a try and let you know how it went.
scoobasnacks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 05:17 PM   #4 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
Default

my advice, to all the newbies in the community, is check http://gendev.gamemod.net and SSF first, SSF has many coding type tutorials, gendev is pretty good for that stuff too, and maybe even the tutorial forum on this site, not sure if there's a new faction tutorial there or not.
NukeWinter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 05:41 PM   #5 (permalink)
Member
 
Join Date: Oct 2005
Posts: 61
Default

hey phantom139 i did what you said with that code, and nothing shows up in the list to choose my faction. it dont crash or nothing it just dont show up?

thanks nuke winter for the info i will give that a gander as well. >:-)

EDIT: hey thanks nukewinter that is what i was looking for buddy, thanks alot.
and thank you too, phantom for trying to help. both of you i appreciate it.
just so you know i might be asking for help again in the near future, so dont get mad at me. later.
scoobasnacks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 06:42 PM   #6 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
Default

hey, no problem at all, i only patrol these forums to help newbies, so consider yourself lucky you didn't run into some other guy first.
NukeWinter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 07:06 PM   #7 (permalink)
Member
 
Join Date: Oct 2005
Posts: 61
Default

oh trust me i am glad, it is nice when you get someone willing to help you instead of just saying, why dont you go learn on your own NEWB.
I mean i know alot about how to script, but i dont know everything by far.
I am always willing to accept criticism, that is how you get better.

scoobasnacks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2005, 07:20 PM   #8 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: In front of my computer...
Posts: 215
Default

i know what ya mean, i joined long ago...
just started posting recently, and since i had an attitude like yours, i didn't get flamed out. by now i know a fair bit about generals, and have devised my own series of tricks, but no one knows them, yet. so thanks for being positive, nice, and honest.
NukeWinter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some questions about adding a new faction. Musou LOTR: Battle For Middle Earth I & II Editing 0 03-12-2005 07:25 AM
Adding a faction. Hostile LOTR: Battle For Middle Earth I & II Editing 22 03-09-2005 09:24 AM
Part III of Adding a New Faction is Complete Hostile LOTR: Battle For Middle Earth I & II Editing 11 03-06-2005 03:51 PM
[Solved]Adding a new Faction Sy LOTR: Battle For Middle Earth I & II Editing 18 01-24-2005 01:59 PM
Adding New Music to a New Faction Carbon Generals & Zero Hour Editing 11 05-25-2003 07:46 PM


All times are GMT -4. The time now is 06:52 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.