FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:EaW Modding, Mapping and Editing (http://forums.filefront.com/sw-eaw-modding-mapping-editing-1099/)
-   -   tech limits.. (http://forums.filefront.com/sw-eaw-modding-mapping-editing/398325-tech-limits.html)

Trekker76 May 1st, 2009 10:39 PM

tech limits..
 
i play alot of mods. some i like some i don't .. i always play hard.

the thing is some time i like starting on tech 1.. building alot of crappy ships and taking on things..

but since i take alot of time.. the other party build a tech 4 or 5 ship and there goes my fun..

is there a way of limiting the opposition to the same tech as me?

i dont want to limit the tech at the start of play as i like evenually going to tech 5..

( i play alot and am good, so i always win, on hard. I Just like having some old skool big battle then modern ones in the same game )

any i deas?

JC9542 May 1st, 2009 11:08 PM

Re: tech limits..
 
I don't think there's really a straight forward way of locking them to your tech level. You can try to make it more expensive for the Rebels to upgrade by raising the cost of slicing units and make them slice more units. For the Empire you can raise how much it costs to research a tech level and increase the time. Nothing you can really do about the Consortium though.

xanofar May 1st, 2009 11:20 PM

Re: tech limits..
 
What do you mean, exactly, that you want it so that if you're at tech 1 the enemy is at tech 1 without the AI 'cheating'?

Sidious Invader May 1st, 2009 11:58 PM

Re: tech limits..
 
In Campaigns_Underworld_Gc.xml.....
Quote:

<!-- Empire Starting Forces -->

<Starting_Credits> Empire, 8000 </Starting_Credits>
<Starting_Tech_Level> Empire, 2 </Starting_Tech_Level>
<Max_Tech_Level> Empire, 5 </Max_Tech_Level>
...you could limit their tech level this way. Off the top of my head I can't think of anything right now.

ssdcommander May 2nd, 2009 06:39 AM

Re: tech limits..
 
or you could script it so when you advance a tech level, the advance one

Trekker76 May 2nd, 2009 10:43 PM

Re: tech limits..
 
Quote:

Originally Posted by ssdcommander (Post 4879908)
or you could script it so when you advance a tech level, the advance one


that is what i want to happen.. if i am on tech 1 they are too.. when i go to tech 2 so do they... TOPS BUT
how do i script that? i have now idea on changing there.

consortium i rarely play mainly play maps where just empire . rebels..

Trekker76 May 3rd, 2009 08:33 PM

Re: tech limits..
 
anyone know how to do these scripits?

:confused::confused:

Trekker76 May 6th, 2009 09:44 PM

Re: tech limits..
 
is it possible at all?

JC9542 May 6th, 2009 10:15 PM

Re: tech limits..
 
Sorry man no clue at all. Doubt anyone has tried this yet. You'd have to do a lot of studying of the existing scripts and functions to see if you could find anything of use.

Trekker76 May 8th, 2009 12:32 AM

Re: tech limits..
 
Quote:

Originally Posted by ssdcommander (Post 4879908)
or you could script it so when you advance a tech level, the advance one


he quoted it... i was hoping either he or someone else could do it.. anyone else want something like this?

as said consortium i dont play on rebal or empire in foc

HELP:bows::bows::bows:

xanofar May 8th, 2009 12:38 AM

Re: tech limits..
 
Quote:

Originally Posted by Trekker76 (Post 4885412)
he quoted it... i was hoping either he or someone else could do it.. anyone else want something like this?

as said consortium i dont play on rebal or empire in foc

HELP:bows::bows::bows:

Uhhh... I have no idea. Ask SI, he's our local expert on those tricky things. He should be able to give you the best idea of whether or not it's possible... I don't think so though, personally.
Sorry. :/

Trekker76 May 8th, 2009 10:46 PM

Re: tech limits..
 
new idea.

what about starting a new game at tech 1 but with tech 5 as max..BUT editing the code somewhere so they all stay at 1 ..then when i want tech 2, quit and change the tech 2 in code . then reload save game?

Would that work..?

or stating game max 1 and then exiting the game, chane the save game tech to max 2?

Would that one work..

though i have not got a clue where this is in the xml code.

xanofar May 8th, 2009 10:58 PM

Re: tech limits..
 
Quote:

Originally Posted by Trekker76 (Post 4886456)
new idea.

what about starting a new game at tech 1 but with tech 5 as max..BUT editing the code somewhere so they all stay at 1 ..then when i want tech 2, quit and change the tech 2 in code . then reload save game?

Would that work..?

or stating game max 1 and then exiting the game, chane the save game tech to max 2?

Would that one work..

though i have not got a clue where this is in the xml code.

I'm not 100% sure what you're saying, but probably not. Sorry. :/

JC9542 May 9th, 2009 02:35 AM

Re: tech limits..
 
It would be under the campaign files, like Campaigns_Underworld_GC.xml ... you can get away with hotswapping some files, but a lot of times it just crashes the game. I'm not even sure it would reference this file again once a particular game is generated. Honestly this is a pretty out there request, I'm not saying it's a bad one... just an unusual one so doubt the dev team ever contemplated supporting something like this.

ssdcommander May 9th, 2009 08:55 AM

Re: tech limits..
 
oops forgot to reply
any way i suggest at scripting like this:
<Story>
<Event Name="Universal_Story_Start">
<Event_Type>STORY_ELAPSED</Event_Type>
<Event_Param1>1</Event_Param1>
<Branch>Branch_01</Branch>
</Event>
<Event Name="Empire_ActI_Advance_Empire_Tech">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Empire</Reward_Param1>
<Reward_Param2>1</Reward_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>
<Event Name="Empire_ActI_Advance_Rebel_Tech">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Rebel</Reward_Param1>
<Reward_Param2>1</Reward_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>
</Story>

ssdcommander May 9th, 2009 01:20 PM

Re: tech limits..
 
and then have something like vador favor as thing to do then you would do it to advance a tech level

Trekker76 May 9th, 2009 04:16 PM

Re: tech limits..
 
what do you mean like vador favour..

also where to i put all that code?

JC9542 May 9th, 2009 04:40 PM

Re: tech limits..
 
Vader's Favor is one of the scripted missions from the original EAW story campaign. You'll have to take a look at the various story xml's, I forget which one it is offhand.

Where you put the code is probably going to depend on which side you're playing. If you're just playing GC it would probably be one of the Story_Plots_Sandbox##.xml files depending on which campaing you're playing and which side. The annoying part is you'll have to code it for the AI twice, also you might have to disable their ability to increase tech levels on their own as well.

Sidious Invader May 10th, 2009 12:01 AM

Re: tech limits..
 
This should work, and goes into the underworld story plot that you would like to have this available for....
Quote:

<Event Name="Underworld_Enters_Tech_01">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>1</Event_Param1>
</Event>

<Event Name="Advance_Rebels_Tech_1">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Rebel</Reward_Param1>
<Reward_Param2>1</Reward_Param2>
<Prereq>Underworld_Enters_Tech_01</Prereq>
</Event>

<Event Name="Advance_Empire_Tech_1">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Empire</Reward_Param1>
<Reward_Param2>1</Reward_Param2>
<Prereq>Underworld_Enters_Tech_01</Prereq>
</Event>

<Event Name="Underworld_Enters_Tech_02">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>2</Event_Param1>
</Event>

<Event Name="Advance_Rebels_Tech_2">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Rebel</Reward_Param1>
<Reward_Param2>2</Reward_Param2>
<Prereq>Underworld_Enters_Tech_02</Prereq>
</Event>

<Event Name="Advance_Empire_Tech_2">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Empire</Reward_Param1>
<Reward_Param2>2</Reward_Param2>
<Prereq>Underworld_Enters_Tech_02</Prereq>
</Event>

<Event Name="Underworld_Enters_Tech_03">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>3</Event_Param1>
</Event>

<Event Name="Advance_Rebels_Tech_3">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Rebel</Reward_Param1>
<Reward_Param2>3</Reward_Param2>
<Prereq>Underworld_Enters_Tech_03</Prereq>
</Event>

<Event Name="Advance_Empire_Tech_3">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Empire</Reward_Param1>
<Reward_Param2>3</Reward_Param2>
<Prereq>Underworld_Enters_Tech_03</Prereq>
</Event>

<Event Name="Underworld_Enters_Tech_04">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>4</Event_Param1>
</Event>

<Event Name="Advance_Rebels_Tech_4">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Rebel</Reward_Param1>
<Reward_Param2>4</Reward_Param2>
<Prereq>Underworld_Enters_Tech_04</Prereq>
</Event>

<Event Name="Advance_Empire_Tech_4">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SET_TECH_LEVEL</Reward_Type>
<Reward_Param1>Empire</Reward_Param1>
<Reward_Param2>4</Reward_Param2>
<Prereq>Underworld_Enters_Tech_04</Prereq>
</Event>

ssdcommander May 10th, 2009 05:07 AM

Re: tech limits..
 
the only probelm with that sidious is that you will be at tech 4 at the start, i would like to make a suggestion like a story elapsed eg.
Code:

<Event Name="Tech_Two_Upgrade">
<Event_Type>STORY_ELAPSED</Event_Type>
<Event_Param1>1000</Event_Param1>
<Branch>Branch_01</Branch>
</Event>

and keep doing that for so long and add more time, and sidious does the under world have a tech level?

Sidious Invader May 10th, 2009 09:59 AM

Re: tech limits..
 
Quote:

<Event Name="Underworld_Enters_Tech_02">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>2</Event_Param1>
</Event>
Thanks for the help, SSdcommander, I did that at 1:00 am after working 18 hours. I would put a <Prereq> of the last tech level.

Trekker76 May 10th, 2009 10:48 PM

Re: tech limits..
 
sorry for being a tool with the code..

so if i do all that above it will be good for galatic game?


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.