 |
ivanforum Forum for Iter Vehemens ad Necem
|
| View previous topic :: View next topic |
| Author |
Message |
Freelance Bezerker zombie
Joined: 16 Jun 2006 Posts: 69
|
Posted: Wed Jul 19, 2006 1:56 am Post subject: Coding Kim Jong-Il into IVAN |
|
|
Hello modders,
I've succeeded in replacing the sumowrestler in the first town with the Enner Beast and also provided him with about 15 insults that Kim Jong-Il regularly uses against the West.
I'd like help on the following:
++++++++++++++++++++++
1) I'd like to replace the sumowrestler with "Kim Jong-Il." Currently the Enner Beast is still named "sumowrestler" because I don't know if renaming this character will interfere with code in any other sections. Please give me some tips on what code is linked to the sumowrestler is all the separate files.
2) I'd like to change the color of the Enner Beast's "jacket" to light grey, kind of like the Chinese jacket that "Dear Leader" Kim Jong-Il wears.
3) If possible, I'd like to create a completely separate room housing Kim Jong-Il in the first town.
Here is what I've written for the "Kim Jong-Il" NPC so far:
}
Kimjongil
{
DefaultArmStrength = 1;
DefaultLegStrength = 1;
DefaultDexterity = 1;
DefaultAgility = 1;
DefaultEndurance = 1;
DefaultPerception = 100;
DefaultIntelligence = 100;
DefaultWisdom = 100;
DefaultCharisma = 1;
DefaultMana = 0;
CanOpen = false;
CanApply = false;
TotalVolume = 65000;
TotalSize = 150;
Adjective = "Kim";
NameSingular = "Jong-Il";
UsesLongAdjectiveArticle = true;
IsPolymorphable = false;
AttackStyle = USE_HEAD;
BaseBiteStrength = 5000;
CanUseEquipment = true;
CanBeWished = true;
LegBitmapPos = 16, 48;
TorsoBitmapPos = 32, 48;
ArmBitmapPos = 64, 48;
HeadBitmapPos = 96, 320;
HairColor = rgb16(64, 20, 0);
ClothColor = rgb16(0, 0, 100);
BootColor = rgb16(90, 50, 10);
LegMainColor = rgb16(64, 20, 0);
PanicLevel = 75;
FleshMaterial = ENNER_BEAST_FLESH;
DeathMessage = "@Dd dies and the world is finally freed from this terrible dictator.";
Inventory == horn(FEAR);
IsUnique = true; /* currently */
HostileReplies == "Running dog of Western-capitalist Imperialism, die you!!!";
FriendlyReplies =
{
22,
""You bellicose human scum, your ridiculous clamour for human rights is nothing but a shrill cry!"",
""You despicable reactionary, we will thwart your frantic attempts to stifle us!"",
""You arrogant flunkey!"",
""You black-hearted reactionary, we will transform New Attnam into a sea of fire!"";
""You bloodthirsty flunkey!"",
""You black-hearted traitor, you will be dealt a thousandfold retaliatory blow!"",
""You psychopathological running dog!"",
""You nondescript degenerate Imperialist kobold, we will crush with the force of Juche ideology!!!"",
""You wicked political dwarf!"",
""You Imperialist zombie, we will kill you a thousand times!"",
""You shameless capitalist hooligan!"",
""You swollen-headed reactionary!"",
""You anti-socialist flunkey, you have glaringly revealed your true colours!"",
""You bloodthirsty lackey!"",
""You bellicose orc-gelatinous hybrid!"",
""You imperialist renegade, your accusation against the DPRK is no more than barking at the moon!"",
""You half-baked traitor!"",
""You black-hearted running dog!"",
""You shameless stooge!"",
""You extra-large hooligan!"",
""You swollen-headed human scum, you would be well advised to behave with discretion!"",
""Your capitalist deceptions will not fool the people of North Korea, you black-faced imperialist hedgehog!"",
}
AttachedGod = MORTIFER;
BiteCapturesBodyPart = false;
}
++++++++++++++++++++++++
Here is a screenshot for your viewing pleasure:
 |
|
| Back to top |
|
 |
Planplan mutant ass

Joined: 19 Feb 2005 Posts: 78 Location: Physically in France, mind in Dreamland
|
Posted: Wed Jul 19, 2006 11:06 am Post subject: |
|
|
| Code: |
| ClothColor = rgb16(192, 192, 192); |
With this, you'll have a light grey.
If you want to adjust it, you have to understand how RGB work.
RGB stand for Red Green Blue. For computers, colors have a code, 3 number between 0 and 255, (R, G, B).
(0, 0, 0) is pure black.
(255, 255, 255) is pure white.
(127, 127, 127) is a 50% grey.
(255, 0, 0) is pure red.
And so on ;)
Experiment a bit, you'll quicly understand.
For your other questions, I'm not sure, but think you need to edit C code a bit... Try to look in the dungeon.dat for a new building maybe. _________________ I'm french, so my english is bad...
But frogs legs are so delicious ;) |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Wed Jul 19, 2006 12:28 pm Post subject: |
|
|
Hello Planplan,
Thanks for the help with the RGB. I've already tweaked Kim Jong-Il the Wrestler's "clothes" with it.
I'm currently trying to add a sublevel to the sumoarena. I've successfully put in stairs, but when I try to descend, I get an "unexplained error." Would you mind telling me what I'm doing wrong? I've adjusted the number of levels in the city to "= 3" by the way.
| Code: |
Level 1;
{
Description = "New Attnam's sumo wrestling arena";
ShortDescription = "SumoArena";
FillSquare = solidterrain(GROUND), MORAINE earth;
Size = 55, 55;
Rooms = 1;
Items = 0;
GenerateMonsters = false;
IsOnGround = false;
TeamDefault = NEW_ATTNAM_TEAM;
LOSModifier = 32;
IgnoreDefaultSpecialSquares = false;
CanGenerateBone = false;
DifficultyBase = 50;
DifficultyDelta = 0;
EnchantmentMinusChanceBase = -15;
EnchantmentMinusChanceDelta = 0;
EnchantmentPlusChanceBase = 0;
EnchantmentPlusChanceDelta = 0;
BackGroundType = GREEN_FRACTAL;
Room
{
Pos = 19,12;
Size = 13,13;
WallSquare = solidterrain(GROUND), BALSA_WOOD wall(BRICK_FINE);
FloorSquare = solidterrain(GROUND), 0;
GenerateDoor = false;
DivineMaster = ATHEIST;
GenerateLanterns = false;
Type = ROOM_SUMO_ARENA;
GenerateFountains = false;
AltarPossible = false;
Shape = RECTANGLE;
GenerateTunnel = false;
GenerateWindows = false;
IsInside = true;
UseFillSquareWalls = false;
Flags = 0;
Square, Pos 6, 6;
{
OTerrain = stairs(SUMO_ARENA_EXIT) { AttachedArea = 0; AttachedEntry = STAIRS_DOWN; }
EntryIndex = STAIRS_UP;
}
Square, Pos 6, 2;
{
OTerrain = stairs(STAIRS_DOWN);
EntryIndex = STAIRS_DOWN;
}
Square, Pos 6, 0;
{
OTerrain = wall(BRICK_PRIMITIVE_PROPAGANDA);
Items == lantern { SquarePosition = DOWN; }
}
Square, Pos 0, 6;
{
Items == lantern { SquarePosition = RIGHT; }
}
Square, Pos 12, 6;
{
Items == lantern { SquarePosition = LEFT; }
}
Square, Pos 6, 12;
{
Items == lantern { SquarePosition = UP; }
}
OTerrainMap
{
Pos = 3, 3;
Size = 7, 7;
Types
{
# = GLASS wall(BRICK_FINE);
}
}
{
#######
#.....#
#.....#
#.....#
#.....#
#.....#
#######
}
}
}
Level 2;
{
Description = "Yodok Prison";
FillSquare = solidterrain(GROUND), MORAINE earth;
Size = 66, 66;
Rooms = 1;
Items = 0;
GenerateMonsters = false;
IsOnGround = false;
LOSModifier = 32;
IgnoreDefaultSpecialSquares = false;
CanGenerateBone = false;
DifficultyBase = 50;
DifficultyDelta = 0;
EnchantmentMinusChanceBase = -15;
EnchantmentMinusChanceDelta = 0;
EnchantmentPlusChanceBase = 0;
EnchantmentPlusChanceDelta = 0;
BackGroundType = GREEN_FRACTAL;
Room
{
Pos = 19,12;
Size = 13,13;
WallSquare = solidterrain(GROUND), BALSA_WOOD wall(BRICK_FINE);
FloorSquare = solidterrain(GROUND), 0;
GenerateDoor = false;
DivineMaster = ATHEIST;
GenerateLanterns = false;
Type = ROOM_NORMAL;
GenerateFountains = false;
AltarPossible = false;
Shape = RECTANGLE;
GenerateTunnel = false;
GenerateWindows = false;
IsInside = true;
UseFillSquareWalls = false;
Flags = 0;
Square, Pos 6, 2;
{
OTerrain = stairs(STAIRS_UP);
EntryIndex = STAIRS_UP;
}
Square, Pos 6, 0;
{
OTerrain = wall(BRICK_PRIMITIVE_PROPAGANDA);
Items == lantern { SquarePosition = DOWN; }
}
Square, Pos 0, 6;
{
Items == lantern { SquarePosition = RIGHT; }
}
Square, Pos 12, 6;
{
Items == lantern { SquarePosition = LEFT; }
}
Square, Pos 6, 12;
{
Items == lantern { SquarePosition = UP; }
}
OTerrainMap
{
Pos = 3, 3;
Size = 7, 7;
Types
{
# = GLASS wall(BRICK_FINE);
}
}
{
#######
#.....#
#.....#
#.....#
#.....#
#.....#
#######
}
}
}
}
|
|
|
| Back to top |
|
 |
Planplan mutant ass

Joined: 19 Feb 2005 Posts: 78 Location: Physically in France, mind in Dreamland
|
Posted: Wed Jul 19, 2006 6:00 pm Post subject: |
|
|
Maybe I'll say something wrong, but I think you can't add a stair in the sumo arena without adding some C code. This arena is special, by the fact it take off all your inventory for exemple.
I recommand you try to add a side branch in an other dungeon, UT for example. _________________ I'm french, so my english is bad...
But frogs legs are so delicious ;) |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Thu Jul 20, 2006 12:20 am Post subject: |
|
|
| I see. Is it possible to insert a stairs down from the structure in which Richard the Imperialist is housed, then? |
|
| Back to top |
|
 |
Planplan mutant ass

Joined: 19 Feb 2005 Posts: 78 Location: Physically in France, mind in Dreamland
|
Posted: Thu Jul 20, 2006 9:30 am Post subject: |
|
|
In every area that isn't special, I could be added without any problem. So I think it's possible in this area. _________________ I'm french, so my english is bad...
But frogs legs are so delicious ;) |
|
| Back to top |
|
 |
dalboz goblin prince

Joined: 23 Jul 2005 Posts: 490 Location: in front of the computer screen
|
Posted: Thu Jul 20, 2006 2:50 pm Post subject: |
|
|
you want to make Decos a torture chamber under his palace? _________________ "Think like a madman" |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Wed Jul 26, 2006 12:54 am Post subject: |
|
|
| Yes. I thought it would be interesting adding a North Korean Gulag branch to IVAN, since the game is "socialist" after all. An underground prison bunker where the NK regimes hordes all the bananas! Kim Jong-il surrounded by a pile of Holy Bananas. Maybe I could even introduce a plot to prevent dictator Kim from destroying Atnam with WMD. |
|
| Back to top |
|
 |
dalboz goblin prince

Joined: 23 Jul 2005 Posts: 490 Location: in front of the computer screen
|
Posted: Wed Jul 26, 2006 11:45 am Post subject: |
|
|
that'll be easy if Kim decides to guard his holy bananas himself.
*player zaps wand of fireballs*
*bananas explode*
*The evil dictator flies through the air and eventually escapes earth's gravity, floating into outer space* _________________ "Think like a madman" |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Wed Jul 26, 2006 11:54 am Post subject: |
|
|
| That would be great, as it would make a direct reference to the first time the Economist featured the "Dear Leader" on its cover. Kim was dressed in a space suit and a cartoon bubble atop his head read "Greetings, Earthlings." If you get a chance, read "The Aquariums of Pyongyang" sometime for the skinny on Nork Gulags. |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Fri Jul 28, 2006 2:50 am Post subject: |
|
|
| I was kind of expecting people to find my Kim Jong-Il dialogue mod humorous. Oh well, different part of the world I guess. |
|
| Back to top |
|
 |
Somagu werewolf

Joined: 01 Sep 2005 Posts: 547 Location: In AFK-Land™
|
Posted: Fri Jul 28, 2006 7:13 am Post subject: |
|
|
2 days isn't exactly a long time on a forum, Berserker...
Some people (not me) don't check the forums every day.
I however, do, for the most part, I just haven't taken much interest in a slightly humorous monster that isn't finished. _________________ FROG BLAST THE VENT CORE!
Do not mess with the NPSRMRNPPMASZoPawKaBfoG
[01:21] Somagu21: Jacques Flambč
[01:22] guardsheep2000: also known as the greatest firework known to man
I am not under crack. ~~Blob |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Sat Jul 29, 2006 2:37 am Post subject: |
|
|
| Fair enough. |
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © 2001, 2002 phpBB Group
|