Today on Apolyton POLYCAST #58 (PROMO #9) MODCAST #23 CIVCON '09 ANNOUNCED: AUGUST 7-9, 2009 TRI-LEAGUE #27 BTS TEAM D.G.: ENGAGE NOW
Apolyton Civilization Site Forums
main | civ4 | col | civrev | galciv2 | alt | civ3 | civ2 | ctp2 | smac | about | polycast
- Order Civilization IV: Colonization (Amazon US)/(UK) -
- Order Civilization: Revolution [360] (Amazon US)/(UK) | [PS3] (US)/(UK) | [DS] (US)/(UK) -
ApolytonPLUS | register | new posts | pm (-/-) | members
faq | news | civgroups (news) | hall of fame | downloads | upload | plus | store | search
Apolyton Civilization Site Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Site Forums > Miscellaneous Games > Rise of Nations > New (maybe) scenario: Red Star Over China
Page: Print | Email | Subscribe | Report News       0 votes -  average
15.Jul: NOSTALGIA AAR
18.May: THE STATUS OF `AGE OF NATIONS`
02.Feb: RISE OF NATIONS SCENARIO IN THE WORKS!
CivGroups
Rise of Nations Multiplayer (64): Not a Member - Join
Apolyton Storywriters' Guild (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
10-05-2007 21:51
edit | quote
#1 | report |
New (maybe) scenario: Red Star Over China Support Apolyton


I've got a lot of free time over this summer and I want to do something with RONTAP. I'm hoping to work on a series of little scenarios linked together to detail the rise of the Chinese Communist Party in China during the 1920s through to 1940s. I have a fairly good understanding of the time period, based not least in part on Edgar Snow's classic journalistic reports "Red Star Over China".

The main problem for me is that I am not familiar with the scripting language at all. I understand a very very small amount of C++, so the layout of the functions is not alien to me. However, I'm going to end up with lots of questions. I hope I can ask them here.

Currently, the first scenario I'm thinking of doing is this. If any of you have ideas as to how to implement this in code, or design ideas as to what would be more fun to play, I'm happy to hear them!

Part One: The Shanghai Massacre:

Background:
In the late 1920s, the Chinese Communist Party had grown into a large political entity that was still largely civilian in nature. The Nationalist government ordered a large scale sweep of their main base, Shanghai, to eradicate the Communists. This action destroyed the Communists' urban support networks, forcing them into their communes in rural China. However, key personnel, including a rising leader Mao Zedong, managed to escape.

Gameplay:
This scenario would consist of a small map, filled almost entirely with buildings and cities representing Shanghai's many different suburbs. The gameplay consists of the human player controlling various non-combat units, including Scholars, Civilians, and maybe even a Spy or two, and trying to move them all to the western side of the city, where a friendly Fort awaits them.

This would simulate the evacuation from the city of key Communist personnel. The personnel would "pop up" at points in the city every so often (perhaps appearing garrisoned in buildings, if that's even possible) and the player has to get them safely across the enemy city and over to the Fort.

In opposition, the Nationalist forces will have foot soldiers performing sweeps of the neighborhoods looking for Communist leaders, and they will shoot on sight. The human player has a few Spies that cannot bribe, but which can plant informers in buildings. The Spies can plant informers at key locations around the city and suburbs, giving the player visibility of where the enemy's patrols are currently.

A canny player can figure out when the coast is clear to send the Communist personnel across.

The human player will also have some ability to "bribe" certain houses in the city, which will allow him to garrison units inside. This could be useful in areas of high patrol frequency, where a Communist personnel could benefit from hiding out.

As long as one Communist personnel member makes it to the fort, the human player can continue the campaign, but there will be benefits to be had if others survive with him.


What do you think of this idea for a starting scenario? How do you think I should go about making it? Is a script even necessary? (The first thing that springs to mind is that I'd need to disable the enemy's attrition, otherwise the player doesn't really have a chance.)

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
26-01-2008 17:23
edit | quote
#2 | report |
Browse Apolyton AD-FREE


Here's the map I'm thinking of using for the CTW campaign:



I'm thinking the scenario will start off with the Communists fleeing Shanghai to go through warlord (barbarian) territories until they reach Yan'An.

Each turn, the Nationalists will put armies into territories they own but will not engage the Communists directly. While that's happening, Japanese armies will enter and seize coastal areas.

It should take the Communists about 5 turns to get to Yan'An, at which point they can begin diplomatic dealings, e.g. talk to the Soviets or the Nationalists. Eventually they must accede to an Alliance against the Nationalists.

This then gives China two attacks per turn against Japan (Nationalists and Communists each get one) which will eventually drive Japan's armies off the mainland.

Once that happens, it's a mad scramble to declare war against each other, with the Communists having a lot of cheap units and the Nationalists with more artillery and planes.

Last edited by Alinestra Covelia on 31-01-2008 at 19:30

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
26-01-2008 17:23
edit | quote
#3 | report |
Tired of ads?


This is a reduced size version of the background file I'm hoping to use for this scenario. I want to use this as a "Communist victory" art.



Copyright: me

Last edited by Alinestra Covelia on 29-01-2008 at 04:58

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
28-01-2008 19:30
edit | quote
#4 | report |
Support Apolyton


...and here's a similar reduced size picture that I'll be using if you beat the scenario playing as the Nationalists (Kuomintang) under Chiang Kai Shek.



Copyright, still me

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
29-01-2008 05:03
edit | quote
#5 | report |
Help yourself to an AD-FREE life


I'm working on a background art file for the scenario when it loads. This is just the concept art. I'm sure I'll put more on it in future.



Copyright me

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
31-01-2008 17:51
edit | quote
#6 | report |
Support Apolyton


An updated splash background for the scenario loading frame:

This time I've added in the four flags of the major players in China at this time: the Communists (later the PRChina), the Nationalists (later ROChina in Taiwan), the Qing dynasty flag, and the Japanese Imperial flag.

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
31-01-2008 19:33
edit | quote
#7 | report |
Got spare money?


I have now hit a snag with the CTW map. I was led to believe that merely putting a CTW map in the Conquest folder will allow the RONTAP engine to create a new .xml file in the same folder. All I have to do is to start up the game, select the new map, and quit out of the program once the map loads.

The map loaded fine, and I quit out.

The directory did not create a "CTW_RedStar_Map_01.xml". Instead it created a "strings" xml which had some information. But it didn't create an .xml with the same name as the map png.

I need an xml file to appear otherwise I can't get it running. I've tried to make my own xml file, by paring down the Cold War .xml file, but that still crashes the game.

Anybody know what I should do?

Grandpa Troll

PolyCast TeamApolytoners Hall of Fame
Immortal Factotum
Livin La Vida Kitty Kat
Jul 2000
time: 22:17
02-02-2008 10:13
edit | quote
#8 | report |
Got spare money?


Alinestra

We now have a news article and hopefully can get some qualified people on board to assist!

Best of fortunes and hang in there!

Grandpa Troll

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
02-02-2008 19:20
edit | quote
#9 | report |
Support Apolyton or Terrorists Win


Yay! Thanks, Grandpa Troll!

So, right now I'm vexed about creating the "Red_Star_Map_01.xml" file. Does anybody know how to force the game engine to make one, and what sort of bare minimum stuff needs to be in it?


Edit: I am not particularly bright.

Even if you run RONTAP, it will create it in the "conquest" folder in the original RON directory, not in the RONTAP directory.

Well, we solved one mystery.

Last edited by Alinestra Covelia on 03-02-2008 at 04:40

Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Co-Owner/ Administrator
De Hel van Enschede
Nov 1999
time: 04:17
02-02-2008 20:28 | www
edit | quote
#10 | report |
Support Apolyton, buy Civilization: The Boardgame


Haven't modded RoN in years but it sounds like you're doing the right things.

The image you posted is JPG, is that the same file you're trying to import into RoN? I think that only takes PNG files. And even if it does take JPG, the JPEG compression does weird things with the colours which can screw up the map generation -- if you zoom in on the border regions of the territories in the image you posted you can see that there's odd artifacting going on there. PNG is lossless so it doesn't have that problem.

If you have a PNG, could you post it here? I'll see if I can find anything wrong with it, try to import it myself. If you're using the JPEG you posted, take the original, make sure it doesn't have any artifacts (clean it up if it does) and convert it to PNG, BMP, GIF or some other lossless format that RoN can handle (I'm not sure which are, other than PNG).

Edit: oh, you do need a rendered image as well, that needs to be the same size as the map image. Have you got that? And if you post the PNG, could you post that too?

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
02-02-2008 22:41
edit | quote
#11 | report |
Remove this text


Hey there Locutus! Good to see you around again.

All graphics in game are indeed .png files. (The reason why I uploaded the jpgs is that I wasn't sure if Poly will correctly display then as attachments or [img] URLs.) I'll upload the "render" that I made, although that's currently in a very rudimentary stage.

The map .png file has absolutely no stray pixels. I spent the best part of a day going through and erasing the stray pixels that were left over when I imported one selection from a .jpg by mistake. You can bet I won't be doing that again!

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
02-02-2008 22:46
edit | quote
#12 | report |
Increase Your PM Length


Here are the two map .png files I have, in a zip format.

Attachment: rsoc20080202.zip
This has been downloaded 1 time(s).

Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Co-Owner/ Administrator
De Hel van Enschede
Nov 1999
time: 04:17
03-02-2008 00:05 | www
edit | quote
#13 | report |
Support Apolyton, buy Alpha Centauri


Hmm... I tried loading the map, which at first seemed to go alright in that T&P recognised it as a new map for which new XML needed to be generated, but while loading I got a fatal error: no valid nations defined (well duh, that's what the XML generation is supposed to do). I tried the same thing in the original RoN and that worked fine, I could play a scenario and everything and the XML was generated as expected. Tried again in T&P a couple of times, including after copying the XML generated by the original game over to the T&P folder, but always with the same result: no valid nations defined.

That said, my RoN install seems a bit buggy anyway, tried to play a normal game but it crashed to desktop within 15 minutes, something which I never recall the game doing when I was still actively playing it. Maybe my install is just messed up.

Either way, I have the XML generated by the original game, I've attached that, maybe that'll help you along. You can easily see what the XML is 'supposed' to look like by opening the files of an existing campaign -- it seems like the bare minimum for a playable game is there in my attachment, but then I don't get why it's not playing. It's not a whole lot, but I hope this helps...

Attachment: xml.zip
This has been downloaded 1 time(s).

Grandpa Troll

PolyCast TeamApolytoners Hall of Fame
Immortal Factotum
Livin La Vida Kitty Kat
Jul 2000
time: 22:17
03-02-2008 00:25
edit | quote
#14 | report |
Increase Your PM Length


Thanks Locutus

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
03-02-2008 00:36
edit | quote
#15 | report |
Support Apolyton buy from Amazon


Very interesting! So it seems that there is something the original RON can do (xml generation) which the add-on cannot do.

Cool!

Thanks again, Locutus! I'll get bashing on with this and then come back sobbing furiously when the next snag hits!

Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Co-Owner/ Administrator
De Hel van Enschede
Nov 1999
time: 04:17
03-02-2008 00:51 | www
edit | quote
#16 | report |
Increase the size of your Attachments


Always happy to help if I can. T&P is supposed to be able to do it as well, I got the info on how to do it from a T&P document to begin with. No idea why it's not working, but I'm not complaining if the XML helps you...

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
03-02-2008 03:06
edit | quote
#17 | report |
Got spare money?


The xml seems to load okay but then the CTW map fails to load. It says there are no valid nations on the map. I'm going to look closer at the strings.xml to see what I need to change there.

Last edited by Alinestra Covelia on 03-02-2008 at 04:02

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
03-02-2008 04:22
edit | quote
#18 | report |
Support Apolyton, buy Alpha Centauri


I've set the "client state" trigger to "1".

Where do I define which states are the clients to which other states?

E.g. I want to have a tribe - Manchukuo (based on the Egyptians) - to be predominant in the northeast of China, but to be a client state of Japan, meaning that Japan can station its troops there and attack from there.

Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Co-Owner/ Administrator
De Hel van Enschede
Nov 1999
time: 04:17
03-02-2008 12:48 | www
edit | quote
#19 | report |
Support Apolyton, buy Galactic Civilizations: Deluxe Edition


Sorry, only ever modded the original RoN, never T&P, so I can't help you with that. I'm sure there's an element in the XML for it, you'll have to see if you can find a complete listing of all valid XML elements for T&P.

Stings.xml should only have localisation strings in it, I doubt that's the issue. The structure of the XML is probably just different in T&P than it is in RoN, you have to study the T&P XML files to see if you can figure out what's missing/different. Looking at that myself, I see that the default campaigns for T&P all have some TRIBE elements at the bottom of the main XML that refer to separate XML files with nation info, as well as some VALID_NATION elements which seem to set playable nations -- I suspect you may have to add both of those yourself to the RoN XML to get rid of the 'no valid nations' error (I tried just adding VALID_NATION alone but that doens't work, seems you really have to define the TRIBE stuff too, which takes a bit more effort).

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
03-02-2008 15:10
edit | quote
#20 | report |
Support Apolyton buy from Amazon


As mentioned above, I've discovered why the .xmls appeared to be broken - they were being created, just not in the T&P conquest folder. They're still appearing quite normally in the RoN conquest folder.

I'll post more of the .xml when I'm done with it. Right now I'm defining all the country numbers.

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
06-02-2008 03:09
edit | quote
#21 | report |
Significant battles Support Apolyton, buy Galactic Civilizations


Here I'll post battles that I found from Wikipedia and other sources during the relevant time frame.

I think I will base it from about the time of the expulsion of the Last Emperor in 1924. The game will probably at least until 1949 and possibly a few turns afterwards, to allow the CCP a chance to knock out Taiwan, or to allow a victorious KMT to try to recapture Outer Mongolia


1924: Puyi exiled from Beijing by Warlord Feng Yuxiang
1926-1928: Northern Expeditions KMT vs. CCP
1930: Central Plains War.
1931 Sept to 1932 Feb: Japanese invaded Manchuria in Mukden Incident near Shenyang.
1936: Xi'An Incident. Nationalists forced to make peace with Communists. (If the Soviets haven't forced the Communists to make peace already.)
1937 July: Marco Polo Bridge incident. War with Japan.
1937 December: After Japanese take Nanjing from Nationalists, Nationalists can take mission to destroy dams along Yellow River. If they succeed, flooding reduces the territory strengths by 1.

[expect more to be added to this list!]

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
12-02-2008 05:15
edit | quote
#22 | report |
Increase Your PM Length


A quick question. I was looking at the Alexander and Napoleon scenarios. I liked the customized generals.

Anybody know if there's a way to mod generals or units so that they give special powers like that? I'm thinking of giving Chairman Mao a power that boosts foot soldiers, Chiang Kai Shek might have a power that boost artillery, etc. Zhou En-Lai might be a Senator-like unit that has a very large amount of bribe and uses his powers much faster than a normal Spy does, etc.

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
26-02-2008 15:30
edit | quote
#23 | report |
Enter the AD-FREE zone


Is there any way of modding a building? This question actually has several parts to it.

1. I want to reassign the Temple so it looks different. Instead of being a religious building, I want to assign it to the statute of Lenin so the Communists gain border push, city hp, and income through building those in their cities. Can this be done?

2. I want to reassign the Temple to the Lenin statue, but only for the Communists. If possible I'd like to have Nationalists building normal Temples and Communists build Lenin statues. Can this be done?

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
04-03-2008 00:21
edit | quote
#24 | report |
Enter the AD-FREE zone


Right now I'm taking a course in Chinese law and jurisprudence. If nothing else, this will give me a fair bit of flavor terms to use for the various techs in the game.

conky149er
Settler
May 2008
time: 03:17
25-05-2008 00:31
edit | quote
#25 | report |
Support Apolyton, pre-order Civilization IV


any chance i can paly this mod on RSTP?

Alinestra Covelia
ACDG The Human HiveRise of Nations Multiplayer
Queen
Return of the son of the hat of taste
Feb 2000
time: 22:17
25-05-2008 02:51
edit | quote
#26 | report |
Lose 30 kilos (of popups)


What's RSTP? Thrones and Patriots?

The scenario, if ever done, will require the addon.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 03:17.
Apolyton Time is 22:17.
    top of page
Rate This Thread: