FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:EaW Modding, Mapping and Editing (http://forums.filefront.com/sw-eaw-modding-mapping-editing-1099/)
-   -   [Help] Faction exclusive space units (http://forums.filefront.com/sw-eaw-modding-mapping-editing/396985-faction-exclusive-space-units.html)

N3bulu5 April 13th, 2009 01:59 PM

Re: Faction exclusive space units
 
Quote:

Originally Posted by xanofar (Post 4862417)
You mean don't give the Bloodstar_0 any affiliation at all? I'll try that (tell me if that's not what you meant).

right! if you want to have variants for different faction, the base (here "bloodstar_0") must have NONE AFFILATION.

the same with planet... if the variants have different req planets ... in the base must that line cut out. or or or .......

that thing's that make the different in the variants must be cut out in the "base"

one example to make it clear (i hope ;) )
in frontlines the dreadnought mk I is avaible for the empire, the reb, and pirates. so a code a base, without Squads, Hardpoints, affiliation, req buildings and icon.

in the variants i put only the lines in which are NOT declared in the Base.

and that works, you'll see ;)

The dreadnought has 12 variants at fls ;)

Darth_Windu April 13th, 2009 08:49 PM

Re: Faction exclusive space units
 
Quote:

Originally Posted by N3bulu5 (Post 4862434)
right! if you want to have variants for different faction, the base (here "bloodstar_0") must have NONE AFFILATION.

Not true - look at a lot of the PG base coding, they do exactly the same thing that Xanofar has done.

Also Xanofar - try making an Imperial version of the unit, and then lock it in story mode with this sort of code-

<Event Name="Lock_Imperial_Bloodstar">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>BUILDABLE_UNIT</Reward_Type>
<Reward_Param1></Reward_Param1>
<Reward_Param2>Bloodstar_E</Reward_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>

and see if that helps.

xanofar April 14th, 2009 12:50 AM

Re: Faction exclusive space units
 
Quote:

Originally Posted by Darth_Windu (Post 4862869)
Not true - look at a lot of the PG base coding, they do exactly the same thing that Xanofar has done.

Also Xanofar - try making an Imperial version of the unit, and then lock it in story mode with this sort of code-

<Event Name="Lock_Imperial_Bloodstar">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>BUILDABLE_UNIT</Reward_Type>
<Reward_Param1></Reward_Param1>
<Reward_Param2>Bloodstar_E</Reward_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>

and see if that helps.


I don't think it would. With the Acclamator I made a Rebel version, but the Rebels kept building the Imperial versions.

xanofar April 26th, 2009 10:27 PM

Re: Faction exclusive space units
 
You know what, sorry to bring this back up, but nothing has stopped the Rebels from building Acclamators. It's driving me crazy.

SmallPox April 27th, 2009 06:47 AM

Re: Faction exclusive space units
 
Either you try Windu's or this one:
Code:

<Event Name="LOCK_UNIT_Bloodstar_E">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>LOCK_UNIT</Reward_Type>
<Reward_Param1>Bloodstar_E</Reward_Param1>
<Prereq>Universal_Story_Start</Prereq>
</Event>

I have never tried to lock a unit with BUILDABLE_UNIT without unlocking another one.
But if you copy my code here in the rebel story file it'll probably stop them from building enemy ships. Of course the unit name needs to be replaced, but it should work then.

Darth_Windu April 27th, 2009 08:32 AM

Re: Faction exclusive space units
 
Without an affiliation tag, the Rebels really shouldn't be able to build Acclamators. Have you created any ships as a variant of the Acclamator or anything like that?

Kalo Shin May 11th, 2009 03:07 PM

Re: Faction exclusive space units
 
UEAW used to have a simillar problem with the Rebellion able to use Daala, if I recall they LUA'ed the rebel AI to not use her at all or something like that. I know it's not descriptive but it's a step in the right direction.


All times are GMT -7.

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