Matrix Games Forums

Deal of the Week Battle Academy Battle Academy 2 Out now!Legions of Steel ready for betaBattle Academy 2 gets trailers and Steam page!Deal of the Week Germany at WarSlitherine Group acquires Shenandoah StudioNew information and screenshots for Pike & ShotDeal of the Week Pride of NationsTo End All Wars Releasing on Steam! Slitherine is recruiting: Programmers required
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Modding guide: making new units

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Commander - The Great War >> Mods and Scenarios >> Modding guide: making new units Page: [1]
Login
Message << Older Topic   Newer Topic >>
Modding guide: making new units - 1/7/2013 9:49:58 AM   
Keke


Posts: 3515
Joined: 3/12/2002
From: Finland
Status: offline
http://www.slitherine.com/forum/viewtopic.php?f=218&t=40182

_____________________________

Jyri

The eternal privilege of those who never act themselves: to interrogate, be dissatisfied, find fault.

- A. Solzhenitsyn

Post #: 1
RE: Modding guide: making new units - 1/7/2013 1:20:46 PM   
kirk23


Posts: 2195
Joined: 10/15/2010
From: Fife Scotland
Status: offline
Ok I have an unknown problem,if I add the Battlecruiser to the game as Austrian as you specified,the game crashes,if I rename it Battleship instead and run the game all works perfectly.I have my Battlecruiser script below can anyone tell what the problem is because I'm stumped?

{
id = 22,
name = "battlecruiser",
type = "naval",
chassis = "water",
class = "naval",
icon = "battlecruiser",
levels =
{
{
hp = 100,
mp = 14,
ap = 1,
LOS = 3,
range = 1,
shock = 2,
attack = 12,
defense = 10,
airattack = 6,
airdefense = 18,
bombard = 4,
assault = 0,
ammunition = 2,
}
},
retreat = 0,
costPP = 70,
costMP = 8,
turns = 20,
upkeepPP = 2,
upkeepMP = 0,
weapon = "heavy",
factions = { 0, 1, 2, 3, 4, 8, 10 },
strengthValue = 25,

stats =
{
groundattack = 1,
airattack = 6,
navalattack = 7,
subattack = 1,
stratattack = 8,
basedefense = 10,
highdefense = 8,
bombard = 3,
shock = 2,
},
firstStrike = 1,
},
},
}


Before anyone says anything I know that Austria never ever had Battlecruisers,I just followed the instructions from the Slitherine forum.

_____________________________

Make it so!

(in reply to Keke)
Post #: 2
RE: Modding guide: making new units - 1/7/2013 1:57:39 PM   
Myrddraal

 

Posts: 295
Joined: 11/13/2012
Status: online
Answered over @ the slith forum

(in reply to kirk23)
Post #: 3
RE: Modding guide: making new units - 1/7/2013 2:36:15 PM   
kirk23


Posts: 2195
Joined: 10/15/2010
From: Fife Scotland
Status: offline
That solution did not solve the problem,something else must be crashing the game I'm afraid?

_____________________________

Make it so!

(in reply to Myrddraal)
Post #: 4
RE: Modding guide: making new units - 1/7/2013 3:53:26 PM   
kirk23


Posts: 2195
Joined: 10/15/2010
From: Fife Scotland
Status: offline
My script files have been made available over on the slitherine forum,thanks for assisting me with this cheers

_____________________________

Make it so!

(in reply to kirk23)
Post #: 5
RE: Modding guide: making new units - 1/7/2013 7:35:01 PM   
Myrddraal

 

Posts: 295
Joined: 11/13/2012
Status: online
For all of you guys following this on this forum, the picture is completed on the Slith thread.

(in reply to kirk23)
Post #: 6
RE: Modding guide: making new units - 1/7/2013 9:38:15 PM   
kirk23


Posts: 2195
Joined: 10/15/2010
From: Fife Scotland
Status: offline
Thanks for all you help much appreciated.

There be Battlecruisers to build in game now chaps!




Attachment (1)

_____________________________

Make it so!

(in reply to Myrddraal)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Commander - The Great War >> Mods and Scenarios >> Modding guide: making new units Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.072