Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Random masterfiles with different sides

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios >> Random masterfiles with different sides Page: [1]
Login
Message << Older Topic   Newer Topic >>
Random masterfiles with different sides - 9/21/2008 6:55:18 PM   
niccy

 

Posts: 3
Joined: 9/21/2008
Status: offline
Is it possible to create a random masterfile where different sides can build different subformation types (like Tolkienesque)? If so, what is the event code to get this done?
Post #: 1
RE: Random masterfiles with different sides - 9/21/2008 8:19:04 PM   
SSFSX17

 

Posts: 182
Joined: 10/14/2001
From: California
Status: offline
I do not believe that is possible. Usually, different sides having different SFTypes is done by making each regime of a different PeopleGroup and making the Research types and ItemTypes also linked to certain PeopleGroups.

(in reply to niccy)
Post #: 2
RE: Random masterfiles with different sides - 9/21/2008 8:53:05 PM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
Actually it should be possible.

Easiest way would probably be to add an event to the masterfile that gives each regime a different special researchfield. A researchfield that cannot be researched by spending pp that is. And then making sftypes + corresponding itemtypes that can only be build if you have one of those special researchfields.

something like this:

check round=1
LOOP 0 to CHECKREGIMECOUNT
    execaddresearch(regime#, researchfield#)
END LOOP
end check

but there are other ways to do it too. in all cases however you'll need to add some events to the masterfile that make some changes to the randomly created scenario. like above.

kind regards,
vic

(in reply to SSFSX17)
Post #: 3
RE: Random masterfiles with different sides - 9/21/2008 11:10:12 PM   
lancer

 

Posts: 2963
Joined: 10/18/2005
Status: offline
Goodaye,

Is it also possible to make a random masterfile with different peoples (not regimes) so that the human player is one people (with appropriate modifications) and everybody else is another?

Cheers,
Lancer

(in reply to Vic)
Post #: 4
RE: Random masterfiles with different sides - 9/22/2008 4:22:17 PM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
lance,

nope. you have to use regimevars or researchfields to distinguish the one human player from the others.

kind regards,
vic

(in reply to lancer)
Post #: 5
RE: Random masterfiles with different sides - 9/23/2008 6:28:05 AM   
lancer

 

Posts: 2963
Joined: 10/18/2005
Status: offline
Goodaye,

O.K. Thanks for the reply.

Cheers,
Lancer

(in reply to Vic)
Post #: 6
RE: Random masterfiles with different sides - 9/27/2008 6:17:36 PM   
niccy

 

Posts: 3
Joined: 9/21/2008
Status: offline
Vic,

Thanks for the tip. For reference, the code is actually:

0)    CHECK: CheckRound == 1
1)      LOOPER: TempVar1 FROM 1 TO CheckRegimeCount
2)        EXECUTE: ExecSetResearch(TempVar1, 91, 1)
3)        EXECUTE: Empty
4)      END LOOPER
5)    END CHECK

Note that this will give research number 91 to all regimes except the first.

Regards,

Niccy

(in reply to lancer)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios >> Random masterfiles with different sides Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.906