PDA

View Full Version : modding question-vehicle sizes


Imperial
May 14th, 2004, 09:36 PM
Hi
Is it possible to mod a race in the following manner?
1) allow it to have less than the regular number of ship sizes--for example- If i wanted a race to have cruisers, battlecruisers, battleships, dreadnoughts and baseships only (and just these sizes) can this be done for just one race? (trying to see if I can have one race that does this and another that has the standard amount.

Thanks for any help--ideas--answers http://forum.shrapnelgames.com/images/icons/icon7.gif

dogscoff
May 14th, 2004, 09:41 PM
Yes, it can be done. You'd need to create a new racial trait and then make the vehiclesize dependant on that tech.

See pirates & nomads or adamant mod for working examples.

Fyron
May 14th, 2004, 09:49 PM
The vehicle sizes that are not for that race would be the ones needing the trait. So, ships common to all races require no trait. Races that can build the extra ship sizes require the trait. Kind of backwards, but there is no way to do direct restrictions, only ways to allow things to be used.

Aiken
May 14th, 2004, 09:59 PM
By adding new racial trait for all races, except 1 race, I think.
IE, Trait: General Race Ship Construction.
Then add this trait as second tech req for all designs except those that you want to have access with your race:

Name := Escort
...
Number of Tech Req := 2
Tech Area Req 1 := Ship Construction
Tech Level Req 1 := 1
Tech Area Req 2 := General Race Ship Construction
Tech Level Req 2 := 1
...

but

Name := Cruiser
...
Number of Tech Req := 1
Tech Area Req 1 := Ship Construction
Tech Level Req 1 := 5
...

Then edit AI_general files for all races (except the one with limited ship access) to add this new trait and make new EMPs.

Edit: huh, typing too slowly and refreshing page too rarely http://forum.shrapnelgames.com/images/icons/icon9.gif

[ May 14, 2004, 21:05: Message edited by: aiken ]