The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

What have I done...

The Cathedral of Attnam  >  Programming
Print

View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 3:24 am #1  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
What have I done...

Code

tonberry
{
DefaultArmStrength = 90;
DefaultLegStrength = 10;
DefaultDexterity = 5;
DefaultAgility = 5;
DefaultEndurance = 20;
DefaultPerception = 15;
DefaultIntelligence = 18;
DefaultWisdom = 18;
DefaultCharisma = 5;
DefaultMana = 5;
SkinColor = rgb16(0, 96, 0);
EyeColor = rgb16(200, 200, 0);
ClothColor = rgb16(48, 32, 16);
HeadBitmapPos = 96, 48;
TorsoBitmapPos = 32, 112;
ArmBitmapPos = 64, 144;
LegBitmapPos = 16, 64;
TotalVolume = 25000;
TotalSize = 50;
NameSingular = "tonberry";
CanBeGenerated = true;
Sex = UNDEFINED;
RightWielded = chefknife;
LeftWielded = everyonesgrudge;
KnownCWeaponSkills == SMALL_SWORDS;
CWeaponSkillHits == 20;
RightSWeaponSkillHits = 5;
PanicLevel = 0;
HostileReplies == "Doink!";
FriendlyReplies == "@Dd stares blankly at you";
FleshMaterial = GOBLINOID_FLESH;
AttachedGod = CRUENTUS;
WieldedPosition = 0, -2;
}


...And that's just the start.
 
Last edited by 4zb4 : Nov 15, 2009 at 3:35 am. Edited 2 times total
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 3:34 am #2  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:

Code

chefknife
{
DefaultSize = 56;
Possibility = 1;
WeaponCategory = SMALL_SWORDS;
DefaultMainVolume = 60;
DefaultSecondaryVolume = 20;
BitmapPos = 48, 240;
FormModifier = 190;
StrengthModifier = 150;
Adjective = "pointy";
NameSingular = "knife";
MainMaterialConfig == MITHRIL;
SecondaryMaterialConfig == OCTIRON;
Roundness = 10;
Price = 500;
CanBeCloned = false;
CanBeMirrored = true;
Alias == "Chef's Knife";
AttachedGod = CLEPTIA;
WieldedBitmapPos = 160, 32;
EnchantmentPlusChance = 1;
DamageFlags = SLASH|PIERCE;

Config BROKEN;
{
Possibility = 0;
BitmapPos = 48, 272;
Price = 100;
WieldedBitmapPos = 176, 208;
EnchantmentPlusChance = 1;
}
}


Code

everyonesgrudge
{
DefaultSize = 30;
Possibility = 100;
WeaponCategory = BLUNT_WEAPONS;
DefaultMainVolume = 400;
StrengthModifier = 50;
FormModifier = 20;
Price = 1000;
BaseEmitation = rgb24(125, 125, 105);
NameSingular = "Everyone's Grudge";
MainMaterialConfig == OCTIRON;
Alias == "say goodbye";
Roundness = 75;
CanBeBroken = true;
BitmapPos = 0, 256;
WallBitmapPos = 0, 192;
AttachedGod = LEGIFER;
WieldedBitmapPos = 160, 160;
}

 
Last edited by 4zb4 : Nov 15, 2009 at 6:38 am. Edited 2 times total
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 5:07 am #3  !
Battleguy's Avatar
Battleguy
Washing machine wizard


Joined: Dec 10, 2007
Location: End of the Universe
Interests: Plotting
Posts: 1035
Groups:
And does he move forward slowly?
 
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 6:37 am #4  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
*points to agi*
 
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 7:03 am #5  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
Draft graphic ( x3 normal size and gone fuzzy coz of file conversion )
 
image~Desuno!



Attached Files
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 7:10 am #6  !
Battleguy's Avatar
Battleguy
Washing machine wizard


Joined: Dec 10, 2007
Location: End of the Universe
Interests: Plotting
Posts: 1035
Groups:
Battleguy high-fives Azba.
 
 
View profile
Send message
Find posts Find topics
 
Nov 15, 2009 at 7:18 am #7  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
And now I have a problem. Programming the tonberry to use a spell is easy enough. HOWEVER, making that spell do damage equal to the total amount of kills is going to annihilate most anything under the sun. And is mostly unprogrammable anyway. SO, my question is thus: How do I program the tonberry to use a spell that reduces the target's health by 10% of the amount of kills made by the target?
 
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 16, 2009 at 9:30 pm #8  !
Alveradok's Avatar
Alveradok
angel


Joined: Jan 25, 2008
Occupation: Turns out I can't have a cool avatar, I'll just put crap in it.
Location: 48kg / 105 lbs
Interests: My name is Failbert
Posts: 697
Groups:
Maybe hard-code it? It would be slick if adding a new damagetype, say GRIEF would have a typical bonus equal to numberoffrags/10.

Also, fuck yeah Tonberry

Also2, the IVAN devs surely wouldn't be so merciful to give us just that lousy 10% of damage
 
Well I assume that a bolt has a given, numeric, amouunt of perwer. (assi in enegri)... unless it's LAERSER SKISKLS POEWN PEWN!
 
View profile
Send messageSend email
Find posts Find topics
 
Nov 17, 2009 at 2:01 am #9  !
capristo's Avatar
capristo
The Imperialist


Joined: Dec 2, 2007
Location: New Attnam
Interests: bananas
Posts: 1227
Groups:
Nice work 4zb4!
I think it's funny that the topic is called "What have I done" instead of "What I have done", I assume that's a mistake but it makes it sound like you accidentally unleashed something catastrophic
 
 
View profile
Send message
Find posts Find topics
 
Nov 17, 2009 at 4:07 am #10  !
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2094
Groups:
Are you kidding. You can easily rack up a few hundred kills. It'll instantly destroy any body part it targets, with the possible exception of the torso.
 
image HEADBUTT
 
View profile
Send message
Find posts Find topics
 
Nov 17, 2009 at 8:25 am #11  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
@chao: hence my wanting to make it do 10% of the total kill count in damage rather than the whole grand total. That would be completely outlandish in IVAN, due to the low hp scores. And it would be used similar to an explosion or broken striking wand, affecting all body parts. Did I mention these Tonberries are found towards the end of the game?

CLARIFICATION:
Grudge Damage = (Total Kills x 0.10)
Spread to all body parts.
Therefore if TKs = 100, damage = 10 spread to all body parts. And so on.
 
Last edited by 4zb4 : Nov 17, 2009 at 8:35 am.
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 18, 2009 at 1:53 am #12  !
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2094
Groups:
It's worse if it's to be spread out. Do you have any idea how much HP your head has?
 
image HEADBUTT
 
View profile
Send message
Find posts Find topics
 
Nov 19, 2009 at 1:44 pm #13  !
Alveradok's Avatar
Alveradok
angel


Joined: Jan 25, 2008
Occupation: Turns out I can't have a cool avatar, I'll just put crap in it.
Location: 48kg / 105 lbs
Interests: My name is Failbert
Posts: 697
Groups:
Meh, I'd rather see an instakilling tonberry than just no tonberry.
 
Well I assume that a bolt has a given, numeric, amouunt of perwer. (assi in enegri)... unless it's LAERSER SKISKLS POEWN PEWN!
 
View profile
Send message
Find posts Find topics
 
Nov 20, 2009 at 1:55 am #14  !
chaostrom
Mage Prophet


Joined: Dec 3, 2007
Occupation: Standing between all life and death.
Posts: 2094
Groups:
Don't get me wrong, I'm not against it. Just trying to balance it out.
 
image HEADBUTT
 
View profile
Send message
Find posts Find topics
 
Nov 20, 2009 at 4:39 am #15  !
4zb4's Avatar
4zb4
archangel


Joined: Dec 11, 2008
Occupation: Not making sense
Location: The Gate
Interests: Magical Cooking!
Posts: 974
Groups:
Balanced or not, it's unprogrammable as of now. We can argue about balance later...
 
image~Desuno!
 
View profile
Send message
Find posts Find topics
 
Nov 20, 2009 at 2:47 pm #16  !
Planplan's Avatar
Planplan
zombie


Joined: Feb 28, 2008
Occupation: Web developper
Location: Paris
Posts: 38
Groups:

4zb4 wrote   >

Balanced or not, it's unprogrammable unscriptable as of now. We can argue about balance later...


I can't test anything right now (at work), but after a small dive in the sources (0.50), you can add a new damage type and how it's calculated, generalized damages.

Take a look in char.cpp around line 580 if you can code.
 
 
 Print


The Cathedral of Attnam  >  Programming  >  What have I done...

Jump to