Thread Tools
Old December 8, 2002, 14:01   #1
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
Transport Plane
I want too add a transport plane to WAW but i don't
know what files i need too alter.
Yes i have the sprites and all that.

Thanks


---Kári---

__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 8, 2002, 14:38   #2
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 05:18
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
i'd love something like that too
HuangShang is offline  
Old December 8, 2002, 16:32   #3
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 13:18
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Off the top of my head: You'll need to add a unit to WAW_units.txt, a GL entry to WAW_uniticon.txt, a reference to the sprite to WAW_newsprite.txt (with the appropriate number), and a name to WAW_gl_str.txt. I think that's everything...
J Bytheway is offline  
Old December 9, 2002, 06:15   #4
Devil of Truth
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Prince
 
Devil of Truth's Avatar
 
Local Time: 14:18
Local Date: November 1, 2010
Join Date: Sep 2002
Location: Keep honking... I'm reloading.
Posts: 351
Please, please, please share your creation! (Did I remember to say please?)
__________________
If something doesn't feel right, you're not feeling the right thing.
Devil of Truth is offline  
Old December 9, 2002, 06:47   #5
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 13:18
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Hex's guide to modmaking lists every step that's needed to add a unit - you find it on his website
Cool idea!
mapfi is offline  
Old December 9, 2002, 09:48   #6
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
I'll share it if it will work.
oh and DoT you did remember to say please.




There are thirteen santas in iceland you guys have only one
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 9, 2002, 21:01   #7
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 05:18
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
? i didnt get that joke
HuangShang is offline  
Old December 10, 2002, 01:11   #8
Talwyn
Settler
 
Talwyn's Avatar
 
Local Time: 12:18
Local Date: November 1, 2010
Join Date: Dec 2002
Posts: 6
I played with a cargo plane by just adding cargo data to a bomber

Drop Troops and then bomb Evil eh

Thought about changing it to a gunship and giving Bombard to it too
Talwyn is offline  
Old December 10, 2002, 14:16   #9
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
i did that to but it didnt work i got loads of error messages like that i didn't fill out some fields in the unit
txt which is bulls***t
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 10, 2002, 14:24   #10
Maquiladora
Call to Power II MultiplayerCTP2 Source Code ProjectCall to Power PBEMCall to Power Multiplayer
Emperor
 
Local Time: 13:18
Local Date: November 1, 2010
Join Date: Jun 2001
Posts: 7,665
Attach your WAW_units.txt to a post and someone can have a look. There may be some errors with the cargo stuff near the bottom.
__________________
Call to Power 2: Apolyton Edition - download the latest version (7th June 2010)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.
Maquiladora is offline  
Old December 10, 2002, 15:03   #11
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 13:18
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
yeah, sounds like a missing, or extra { or } in there.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old December 10, 2002, 18:50   #12
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 05:18
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
so will it work?
HuangShang is offline  
Old December 12, 2002, 10:17   #13
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 12:18
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Copy the bomber to the bottom of the unit.txt then go to the troop ship eatery and take the cargo data from that. Replace the one for the bomber with you one for the troop ship.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old December 12, 2002, 12:59   #14
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
I did exactly that before but thesame happend i'll trie again this evening
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 12, 2002, 13:52   #15
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 12:18
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
all you need to replace is the line

cancary light air

be careful that your not getting rid of any
########

and you leave one spare line at the bottom.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old December 13, 2002, 12:41   #16
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
Heres the waw unit entry



## UNIT 122
UNIT_TRANSPORT_PLANE_WAW {
Description DESCRIPTION_UNIT_BOMBER
DefaultIcon ICON_UNIT_TRANSPORT_PLANE_WAW
DefaultSprite SPRITE_TRANSPORT_PLANE_WAW
Category UNIT_CATEGORY_AERIAL
Attack 0
Defense 10
ZBRangeAttack 0
Firepower 1
Armor 1
MaxHP 10
ShieldCost 1200
PowerPoints 1200
ShieldHunger 12
FoodHunger 0
MaxMovePoints 1500
VisionRange 4
EnableAdvance ADVANCE_NYLON
ObsoleteAdvance ADVANCE_ADVANCED_COMPOSITES
ActiveDefenseRange 0
LossMoveToDmgNone
NoFuelThenCrash
MaxFuel 5000
IgnoreZOC
NoZoc
CantCaptureCity
DeathEffectsHappy
Explodes
SoundSelect1 SOUND_SELECT1_BOMBER
SoundSelect2 SOUND_SELECT2_BOMBER
SoundMove SOUND_MOVE_BOMBER
SoundAcknowledge SOUND_ACKNOWLEDGE_BOMBER
SoundCantMove SOUND_CANTMOVE_BOMBER
SoundAttack SOUND_ATTACK_BOMBER
SoundWork SOUND_WORK_BOMBER
SoundVictory SOUND_VICTORY_BOMBER
SoundDeath SOUND_DEATH_BOMBER

CanCarry: SmallLand
CanSee: Standard
MovementType: Air
Size: Medium
VisionClass: Standard

CargoData {
MaxCargo 5
Load SOUND_ID_BOMBER_LOAD
Unload SOUND_ID_BOMBER_UNLOAD
}
}

################################################## ##########
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 13, 2002, 12:50   #17
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
oh it works now and here's the WAWunit.txt
Attached Files:
File Type: txt waw_units.txt (163.8 KB, 1 views)
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 13, 2002, 12:52   #18
ískallin
Call to Power II Democracy Game
Prince
 
ískallin's Avatar
 
Local Time: 00:18
Local Date: November 2, 2010
Join Date: Mar 2002
Location: ATM Hawera NZ
Posts: 616
WAWuniticon
Attached Files:
File Type: txt waw_uniticon.txt (113.2 KB, 4 views)
__________________
When it all comes to it, life is nothing more than saltfish - Salka Valka
ískallin is offline  
Old December 13, 2002, 20:20   #19
HuangShang
Call to Power II Democracy GameCTP2 Source Code Project
King
 
HuangShang's Avatar
 
Local Time: 05:18
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Berkeley
Posts: 1,375
congrats it worked
so which mods r going to included it?
HuangShang is offline  
Old December 16, 2002, 12:56   #20
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 12:18
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
thats good news
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:18.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team