Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Offline klingondragon  
#21 Posted : Monday, September 22, 2014 3:44:09 PM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
I may have a go at that
Offline zzc  
#22 Posted : Tuesday, September 23, 2014 8:58:06 AM(UTC)
zzc
Major
Joined: 9/5/2014(UTC)
Posts: 144
Malaysia
Location: KL

Thanks: 14 times
Was thanked: 15 time(s) in 13 post(s)
Originally Posted by: Annihilationzh Go to Quoted Post

Definitely just him.

When I first started working on a super-boss general, one of the features was 5 starting workers. I've also seen countless mods, from Zero Hour Retarded to Contra that have more than one starting unit.


So where in player template do you set more workers?

StartingUnit0 = ChinaVehicleDozer ;put a number?

or

StartingUnit1 = ChinaVehicleDozer ; declare more unit count?

Will it work in generals challenge too?

Or any way to get a vanilla faction to play generals challenge?

Edited by user Tuesday, September 23, 2014 8:59:39 AM(UTC)  | Reason: Not specified

Offline klingondragon  
#23 Posted : Tuesday, September 23, 2014 11:03:11 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
All that is easy
Yes this will work FO generals challenge
To add mor you need:
Starting unit 0 = xxx
Starting unit 1= xxx
Etc.
And to change to vanilla just change the starting building and dozer to that of the vanilla faction
thanks 2 users thanked klingondragon for this useful post.
CommieDog on 9/23/2014(UTC), zzc on 9/25/2014(UTC)
Offline zzc  
#24 Posted : Tuesday, September 23, 2014 8:47:49 PM(UTC)
zzc
Major
Joined: 9/5/2014(UTC)
Posts: 144
Malaysia
Location: KL

Thanks: 14 times
Was thanked: 15 time(s) in 13 post(s)
Arite will try that out

whoah I guessed correctly too

So it should work the same for buildings - declare 2 different command center Big Smile

Change player template ini

Edited by user Tuesday, September 23, 2014 8:51:38 PM(UTC)  | Reason: Not specified

Offline klingondragon  
#25 Posted : Wednesday, September 24, 2014 2:31:52 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
I'm not sure if that will work as it may just spawn one building on top of the other
Feel free to try but if it fails please let us know
Offline WarlockX_X  
#26 Posted : Wednesday, September 24, 2014 6:45:02 AM(UTC)
WarlockX_X
Private
Joined: 9/17/2014(UTC)
Posts: 19

Thanks: 2 times
could he change cords, maybe set a distance away from the command center?
Offline zzc  
#27 Posted : Wednesday, September 24, 2014 7:06:28 AM(UTC)
zzc
Major
Joined: 9/5/2014(UTC)
Posts: 144
Malaysia
Location: KL

Thanks: 14 times
Was thanked: 15 time(s) in 13 post(s)
Code:


PlayerTemplate FactionChina
  Side              = China
  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:FactionChina
  StartingBuilding  = ChinaCommandCenter AmericaCommandCenter
  ;StartingBuilding1  = AmericaCommandCenter
  StartingUnit0     = ChinaVehicleDozer
  StartingUnit1     = 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_China
  Features          = GUI:BioFeatures_China
  MedallionRegular  = ChinaGeneral_slvr
  MedallionHilite   = ChinaGeneral_blue
  MedallionSelect   = ChinaGeneral_orng
End



There is no spawn coords

Cannot spawn extra buildings either by adding new line count or duplicating line

StartingBuilding1 causes crash and the game only reads the most recent line - got americommandcenter with this;

StartingBuilding = ChinaCommandCenter
StartingBuilding = AmericaCommandCenter

so can spawn extra units but not extra buildings
extra buildings might need script
Offline WarlockX_X  
#28 Posted : Wednesday, September 24, 2014 11:15:05 AM(UTC)
WarlockX_X
Private
Joined: 9/17/2014(UTC)
Posts: 19

Thanks: 2 times
Try a china building, their dozers cant build it. I am checking out the ai.ini. they can set ai, their can be a way to build a second building...i think

Since we start with the command center, I do not see why you cant do it.

;Skirmish AI Build List

SkirmishBuildList America
Structure AmericaCommandCenter
Location = X:501.22 Y:546.25
Rebuilds = 0
Angle = -45.00
InitiallyBuilt = No
AutomaticallyBuild = Yes
End

How do you place inside a 'code box'?

Edited by user Wednesday, September 24, 2014 11:22:08 AM(UTC)  | Reason: Not specified

Offline precision_bomber  
#29 Posted : Wednesday, September 24, 2014 11:49:57 AM(UTC)
precision_bomber
Major
Joined: 12/18/2011(UTC)
Posts: 313
Location: Planet Cutezome

Thanks: 7 times
Was thanked: 75 time(s) in 58 post(s)
Do take note that the difference between a building and a unit can be easily blurred.

You can try spawning the building as a StartingUnit.
But it looks dumb sorta.

unless mobile building. :o

Edited by user Wednesday, September 24, 2014 11:54:45 AM(UTC)  | Reason: Not specified

Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
thanks 1 user thanked precision_bomber for this useful post.
zzc on 9/25/2014(UTC)
Offline zzc  
#30 Posted : Thursday, September 25, 2014 9:53:59 AM(UTC)
zzc
Major
Joined: 9/5/2014(UTC)
Posts: 144
Malaysia
Location: KL

Thanks: 14 times
Was thanked: 15 time(s) in 13 post(s)
Holy wowzers it can be done

Code:

  StartingBuilding  = ChinaCommandCenter
  StartingUnit0     = ChinaVehicleDozer
  StartingUnit1     = ChinaVehicleDozer
  StartingUnit2     = ChinaBarracks


only 1 dozer appeared tho

trying other methods


Code:

  StartingBuilding  = ChinaCommandCenter
  StartingUnit0     = ChinaVehicleDozer
  StartingUnit1     = ChinaBarracks
  StartingUnit2     = ChinaVehicleDozer


arite now the dozers appear
seems the game spawns building then unit
then repeat
mwahahahaha now my generals challenge will be fun

Edited by user Thursday, September 25, 2014 10:03:28 AM(UTC)  | Reason: elaboration

zzc attached the following image(s):
Clipboard01.jpg
Clipboard02.jpg
thanks 1 user thanked zzc for this useful post.
WarlockX_X on 9/25/2014(UTC)
Offline WarlockX_X  
#31 Posted : Thursday, September 25, 2014 6:05:42 PM(UTC)
WarlockX_X
Private
Joined: 9/17/2014(UTC)
Posts: 19

Thanks: 2 times
Nice work, I've been trying to figure that out as well. Could make game more challenging, especially against brutal air.
Users browsing this topic
Guest
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.