Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 9:16 pm
All times are UTC + 0
Correctly adding the third side to Tiberian Sun
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
01001011
Vehicle Driver


Joined: 02 Jun 2005

PostPosted: Wed Sep 07, 2005 4:06 am    Post subject:  Correctly adding the third side to Tiberian Sun Reply with quote  Mark this post and the followings unread

My first tutorial. Please comment. Razz

Last edited by 01001011 on Mon Sep 12, 2005 2:53 am; edited 1 time in total

Back to top
View user's profile Send private message
01001011
Vehicle Driver


Joined: 02 Jun 2005

PostPosted: Wed Sep 07, 2005 4:06 am    Post subject: Reply with quote  Mark this post and the followings unread

On correctly adding the third to Tiberian Sun
=============================================

This tutorial concerns how to add a third side to TS
without any bug or restriction
(namely 1 starting unit only, no short games, etc.).
The method has been tested in my mod TS Operation: Eradicate,
and the code in this tutorial is based on that mod.

I assume that the reader knows the elements needed to enable a third side.
Some good introductions can be found in this site (ppmsite.com).

We will use word pad to edit the rules.ini and art.ini. Let's begin.

1) Open rules.ini and add the following entries (as any 3-sided mods do):

[Houses]
0=GDI
1=Nod
2=USN ; New Side
3=Neutral
4=Special

[Sides]
GDI=GDI
Nod=Nod
USN=USN ; New Side
FGT=FGT
Civilian=Neutral
Mutant=Special

and the following entry in the Country Statistics

[USN]
Name=EGN
Suffix=USN
Prefix=G
Color=Cyan
Multiplay=yes
Side=GDI
Armor=1.25

The new side will be called USN.
I shall explain the importance of armor=1.25 later.
Bear this in mind when assigning HP value to USN units.

2) Change the difficult settings to look like this

[Easy]
Groundspeed=1.0
Airspeed=1.0
BuildTime=1.0 ; .8
Armor=1.0
ROF=1.0 ; .8
Cost=1.0
RepairDelay=.02
BuildDelay=.03
DestroyWalls=yes
ContentScan=yes

[Normal]
Groundspeed=1.0
Airspeed=1.0
BuildTime=1
Armor=1.0
ROF=1.0
Cost=1.0
RepairDelay=.02
BuildDelay=.03
BuildSlowdown=no
DestroyWalls=yes
ContentScan=yes

[Difficult]
Groundspeed=1.0
Airspeed=1.0
BuildTime=1.0
Armor=1.0
ROF=1.0 ; 1.2
Cost=1.0
RepairDelay=.05
BuildDelay=.1
BuildSlowdown=no
DestroyWalls=no

The main change here is to set Armor=1.0 in all difficulty settings.

3) Give the MCV (the offical one) to USN

; Mobile Construction Vehicle
[MCV]
Name=Mobile Construction Vehicle
Prerequisite=FACTORY,GAXXX
Strength=1250
Category=Support
Armor=heavy
DeploysInto=GACNST
TechLevel=2
Sight=7
RadarVisible=yes
Speed=4
Owner=GDI,Nod,USN
CrateGoodie=yes
Cost=2500
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15

4) Add the line FreeUnit=MCV2 to [GACNST], the construction yard

[GACNST]
Name=Construction Yard
ConstructionYard=yes
Strength=1250 ; 1000
Armor=heavy
TechLevel=-1
RadarVisible=yes
Adjacent=2
Factory=BuildingType
UndeploysInto=MCV
Sight=6
Owner=GDI,Nod,USN,Civilian
Cost=2500
Points=80
Power=0
Capturable=true
Unsellable=yes
Crewed=yes
Explosion=MORON_EXPL1,TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=20
DebrisTypes=KRBARLDEB,T90BARLDEB
DebrisMaximums=4,4
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1470, 1060, 1078
AIBuildThis=yes
TogglePower=no
FreeUnit=MCV2

MCV2 will be the dummy MCV of USN.
Each player, including GDI and Nod players will be given excatly one dummy MCV.
This solves the problem of non-constant starting MCV's.
However, something must be done to prevent GDI and Nod players from exploiting this new super unit.

5) The code of MCV2 looks like this:

[MCV2]
Name=Hunter Seeker
Image=GGHUNT
Prerequisite=GAXXX
Strength=1200
Category=Support
Armor=heavy
DeploysInto=SAPOWR
TechLevel=-1
AllowedToStartInMultiplayer=no
Sight=6
Speed=0
Owner=USN
CrateGoodie=no
Cost=1
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15
RadarVisible=yes
Immune=yes
Invisible=yes
Insignificant=yes

It deploys to become the construction yard of USN

[SAPOWR]
Name=Construction Yard
Strength=1000
SelfHealing=yes
Armor=heavy
TechLevel=-1
Adjacent=2
Sight=4
Owner=Civilian,USN
Cost=200
Points=0
Power=0
Factory=BuildingType
SensorArray=yes
Capturable=false
Crewed=no
ThreatPosed=0 ; This value MUST be 0 for all building addons
AIBuildThis=no
TogglePower=no
BaseNormal=no
FreeUnit=GHUNTER
RadarInvisible=yes

6) Open art.ini and add the following entries

[SAPOWR]
Image=none
Cameo=
Normalized=yes
Foundation=1x1
Height=0.5
Flat=yes
ExtraDamageStage=false
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
DemandLoad=true
ActiveAnim=SAPOWR_A
ActiveAnimDamaged=GAKODK_CD ; Place Holder
ActiveAnimTwo=SAPOWR_B ; Optional

[SAPOWR_A]
Damage=17000
DamageRadius=1
Warhead=Super
Rate=400
Sticky=yes

[SAPOWR_B]
Damage=1
DamageRadius=1
Warhead=Super
Rate=120
LoopStart=0
LoopEnd=0
LoopCount=-1

The HP value in the rules.ini and the damage values in the art.ini is crucial.
When a GDI or Nod player deploys the MCV2,
the new construction yard self-destructs immediately due to active animation and gives the player nothing.
For USN players, the new construction yard survives because of
the extra factor armor=1.25 (in the country statiatics).
Further damage is stopped by the ActiveAnimDamaged= line.

Now, we have a fully functional construction yard for USN.
Notice that MCV2 is set to immune to prevent GDI or Nod from deploying a half damaged MCV2.
It is better to get rid of the MCV2 from GDI / Nod players.
Change the prerequisite line
PrerequisitePower=GAPOWR,NAPOWR,NAAPWR,SAPOWR
and add
Prerequisite=POWER
to GAPOWR and NAPOWR (GDI and Nod Power plants).
This forces GDI and Nod players to deploy (and destroy) their own MCV2 in order to build anything
(and does not mess up the AI building sequence).

7) Add other units and buldings for USN.
There must be at least one USN unit with TechLevel=1 and AllowedToStartInMultiplayer=yes.
Don't forget to decleare all buildings and animations involved.

Back to top
View user's profile Send private message
m666
Cyborg Commando


Joined: 09 Apr 2005
Location: South Carolina

PostPosted: Fri Sep 09, 2005 2:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Nice, good job.  Haven't tested it yet, but it doesn't seemed flawed.

_________________


Back to top
View user's profile Send private message Skype Account Yahoo Messenger Account AIM Address
SniperGrunt
Grenadier


Joined: 12 Sep 2005

PostPosted: Tue Sep 13, 2005 11:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

01001011 wrote:


Now, we have a fully functional construction yard for USN.
Notice that MCV2 is set to immune to prevent GDI or Nod from deploying a half damaged MCV2.
It is better to get rid of the MCV2 from GDI / Nod players.
Change the prerequisite line
PrerequisitePower=GAPOWR,NAPOWR,NAAPWR,SAPOWR
and add
Prerequisite=POWER
to GAPOWR and NAPOWR (GDI and Nod Power plants).
This forces GDI and Nod players to deploy (and destroy) their own MCV2 in order to build anything
(and does not mess up the AI building sequence).



Where do you find the PrerequisitePower=GAPOWR,NAPOWR,NAAPWR,SAPOWR
line? Question

_________________

"The high and lofty, they see me as weak, cause I won't live and die for the power they seek"

Last edited by SniperGrunt on Thu Sep 15, 2005 12:00 am; edited 2 times in total

Back to top
View user's profile Send private message
DoMiNaNt_HuNtEr
General


Joined: 16 Feb 2005
Location: North America Posts: You cannot comprehend...

PostPosted: Wed Sep 14, 2005 8:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

You know what he means.

_________________
Destroy to create. All for the hunt to dominate!

IN-GAME NAME: MAKINTOKE

Back to top
View user's profile Send private message
SniperGrunt
Grenadier


Joined: 12 Sep 2005

PostPosted: Thu Sep 15, 2005 12:01 am    Post subject: Reply with quote  Mark this post and the followings unread

oh my bad  Embarassed
i found it sry
#Newbie

_________________

"The high and lofty, they see me as weak, cause I won't live and die for the power they seek"

Back to top
View user's profile Send private message
Spreet
Civilian


Joined: 20 Mar 2006

PostPosted: Mon Mar 20, 2006 10:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Billions of blistering blue barnicles go copy someone elses work you plagueristic b*******

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Mar 20, 2006 10:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Who's being copied? And do you have any proofs?

Back to top
View user's profile Send private message Visit poster's website Skype Account
Titan
Cyborg Commando


Joined: 12 Dec 2005
Location: Netherlands

PostPosted: Tue Mar 21, 2006 8:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Look at Tumsun's tutorials Laughing

Back to top
View user's profile Send private message
01001011
Vehicle Driver


Joined: 02 Jun 2005

PostPosted: Tue Mar 21, 2006 9:50 am    Post subject: Reply with quote  Mark this post and the followings unread

I came up with the method by myself and have never seen similar things mentioned elsewhere!

The TumSun method removes all starting units.

Back to top
View user's profile Send private message
Dubzac
Commander


Joined: 21 May 2004
Location: New Zealand

PostPosted: Sun Aug 13, 2006 10:28 am    Post subject: Reply with quote  Mark this post and the followings unread

a update in this tutoral it donet work it only work foer a while biul a few mintuines later it destorys the FAKE CONYARD and you can't build power plants ....

now im srewed because of you... it deon't work
so im going to try the TUMsun meathod and see what i get form that

_________________
Link to a document to see what mods i have and/or working on or working with
Click

Back to top
View user's profile Send private message Yahoo Messenger Account
ChielScape
General


Joined: 07 Mar 2006
Location: In ur BIOS, Steeln ur Megahurtz!

PostPosted: Sun Aug 13, 2006 11:35 am    Post subject: Reply with quote  Mark this post and the followings unread

using a dictionary, or a web-based translation service might not be a bad idea either, i can hardly understand what you're saying.

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message Send e-mail Skype Account
01001011
Vehicle Driver


Joined: 02 Jun 2005

PostPosted: Sat Aug 19, 2006 3:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Dubzac58 wrote:
a update in this tutoral it donet work it only work foer a while biul a few mintuines later it destorys the FAKE CONYARD and you can't build power plants ....

now im srewed because of you... it deon't work
so im going to try the TUMsun meathod and see what i get form that


oops...
you should either
1) delete the
ActiveAnimTwo=SAPOWR_B
line in SAPOWR
2) give the third side a new weapon factor before the dummy CY dies

Back to top
View user's profile Send private message
Dubzac
Commander


Joined: 21 May 2004
Location: New Zealand

PostPosted: Sat Aug 19, 2006 4:04 am    Post subject: Reply with quote  Mark this post and the followings unread

thatsnk 01001011 i needed that

@chielscape
what i meant was ...the thrid side gives you a free Mcv
when you depoy the Mcv .. all sides nod and gdi have a conyard of the third side ..

01001011 said to destory the GDI and Nod extra conyard so nod and gdi can't build the thrid sides stuff

but i was saying the conyard destorys not only the gdi and nod side extra con yard but destorys yours too
execpt theres a delay of five mintines.

_________________
Link to a document to see what mods i have and/or working on or working with
Click

Back to top
View user's profile Send private message Yahoo Messenger Account
handofcod
Vehicle Drone


Joined: 16 Oct 2006

PostPosted: Mon Oct 16, 2006 4:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

y didnt you add the borg as the new side...borg i think startreks gone to my head

_________________
y was my sig was to big y did it have to be in a limited size outher form sites let me have huge sigs

Back to top
View user's profile Send private message
Dubzac
Commander


Joined: 21 May 2004
Location: New Zealand

PostPosted: Tue Oct 17, 2006 2:51 am    Post subject: Reply with quote  Mark this post and the followings unread

no i added somthing like the *good side of nod* known as blue star legion but thats not the point.

i like the tum sum method but this one is supose to work
humm.. to me its sounds like it wasn't tested very well Confused

_________________
Link to a document to see what mods i have and/or working on or working with
Click

Back to top
View user's profile Send private message Yahoo Messenger Account
OVERKILL
Cyborg Engineer


Joined: 21 Feb 2007

PostPosted: Sun Feb 25, 2007 10:14 pm    Post subject: not bad but Reply with quote  Mark this post and the followings unread

i believe him when he says it works but the thing is i dont want to have to go thrw all that trouble to have 1 mcv blowup and the other one Blah its crazy lol im not putting him down its just that the way it should be is just to start up one mcv and let that one go and build up ya know but anyways i just thought of this thats why iam posting here? ok the mcv and construction yard are hard coded to give every one a hell of a time lol say if we gave the third side a totaly different unit to deploy into a totaly different building

ex: say Tick Tank (well say is the MCV) that deploys into the civilian armory (which we can make into a construction yard) i dont know if it would work but i played a mod that some one made on this site and they had a aircraft unit deploy into a tiberian refinary you see what i mean sorry if i am hard to understand lol but right now i can use any help on a third side lol Question

Back to top
View user's profile Send private message
gamefreak11221
Cyborg Soldier


Joined: 10 Jul 2009
Location: Philippines

PostPosted: Sun Apr 03, 2011 12:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Instead, why just no duplicate all of the things that a faction has?Like MCV, GAPOWR, GAPILE, and PROC so you can test it better unfortunately the rules.ini file doesn't listed those items correctly according to factions, functions, names, and porpose so you will need to work hard

Edit:
Nevermind, i got mine worked using other method by me xD

Like ur tutorial BRO!

_________________

Last edited by gamefreak11221 on Sun Apr 03, 2011 1:30 am; edited 1 time in total

Back to top
View user's profile Send private message Yahoo Messenger Account
Orac
President


Joined: 11 Jul 2008
Location: New Zealand

PostPosted: Sun Apr 03, 2011 12:24 am    Post subject: Reply with quote  Mark this post and the followings unread

IIRC, you'll run into some problems there - especially when the AI comes to your lovely new MCV.

Back to top
View user's profile Send private message
NOD-Kane and Brotherhood
Cyborg Firebomber


Joined: 03 Sep 2005
Location: In a building,creating the fench Brotherhood of NOD and recruiting...

PostPosted: Thu Jan 26, 2012 7:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Really sorry to bump that old thread, but when i've done all this, added the third side, adding some units and buildings, the game starts: i deploy the MCV and MCV2, but all the buildings and units i've added aren't in the building list... Well, nothing is appearing and i can't build anything :/

Again, sorry to bump...

Here's the rules.ini file i'm using (yes it's the TI one) if you can see what's wrong



rules.ini
 Description:

Download
 Filename:  rules.ini
 Filesize:  579.11 KB
 Downloaded:  306 Time(s)


_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1973s ][ Queries: 13 (0.0123s) ][ Debug on ]