Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Ukenberger's Data Diving (Read 2304 times)
Evangelier
Dragon Raider
***
Offline


I Love Drama!

Posts: 281
Joined: Aug 8th, 2011
Ukenberger's Data Diving
May 10th, 2012 at 8:11pm
Print Post  
So I've had this tab open for a few days, in anticipation of the thread ("gamelogic.dat comment bits", posted 05-08-2012, 10:50 PM EST) getting nuked.
It was, and I need to restart soon, so here goes:

Ukenberger
Quote:
With the new Lamannia client available for download (for the start of the Menace of the Underdark Beta) I took a look through one of the interesting files that comes with it, the gamelogic.dat file. It holds all kinds of logic that DDO uses ranging from Beholder eyebeams to Trap Difficulty Checks. Most of it can't be legibly read as it is encoded and lumped into a .dat file, but the comments the developers left in there are often readable. This makes for scattered bits of interesting stuff. Here are a bunch of snippits I grabbed straight from the content and system developers themselves:


On Traps
Quote:
base DC = 1.4 * level + 6, this roughly corresponds to the "medium" difficulty in Logical Skill DCs.xls document

Appended2: Be warned levels 1-5 DETECTION is treated out of the formula, and are modified by smaller values than +12. Level 1 = (1+3) for example.

If the dungeon is on epic difficulty, traps should have a minimum level of 21. Epic now works like an level 20 Elite trap set to +1 level. Making it slightly more deadly. Theory is Level 20 elite traps are pretty deadly.

Trap.Combat@Interactive.m_iDisableDifficulty = Trap.Volume@Landblock.m_iOverallDifficulty
* 1.4 + 12

Trap.Combat@Interactive.m_iDetectionLevel = Trap@Interactive.m_iOverallDifficulty * 1.4 + 5

Trap.Combat@Interactive.m_iSaveDC = Trap@Interactive.m_iOverallDifficulty +12

Trap.Combat@Interactive.m_iAttackBonus = Trap@Interactive.m_iOverallDifficulty * 2


On Stealth
Quote:
Subtract 4 from the monster's initial sight check cause it's very dark.


On Animations
Quote:
Stages, in order, are: charge -> prehold -> hold -> PostHold -> cast


On activated feat stances
Quote:
Sound Request -- Action.Monitor@AGent::Feat.MetamagicMaximize -- Maximize Spell Sound Here ... Bazhang!!! Wowowowowow...

Sound Request -- Action.Monitor@AGent::Feat.CombatExpertise -- Toggling Combat Expertise Sound ... Clang clang clang...

Sound Request -- Action.Monitor@AGent::Feat.MetamagicEnlarge -- Enlarge Spell Sound Here ... Zing whoooosh!

Sound Request -- Action.Monitor@AGent::Feat.MetamagicHeighten -- Heighten Spell Sound Here wiz wiz WIZ WIZ WIZZZ!!!

Sound Request -- Action.Monitor@AGent::Feat.MetamagicExtend -- Toggle Metamagic Extend ... Zaaaaaong!

Sound Request -- Action.Monitor@AGent::Feat.Precision -- Toggle Precision ... Schwoooop!!

Sound Request -- Action.Monitor@AGent::Feat.PowerAttack -- Toggle Power Attack ... ErrrArrrArrrARRRR!!!


On Actions
Quote:
if the action failed the verify that means we weren't allowed to start this action. this was probably due to our target being invalid or the fact that we can't execute this action (maybe because of a hacked client, etc.)

Yes, we mean for the detect boxes to go back to 3 meters behind you. There's a heading check, which rules out people who are too far back.

only players should be turning (not monsters)...

Run the block/hit animation. This plays at a higher priority than attacks.


On Monster Corpses
Quote:
This script is called by the death system in wsl; it handles fading out bodies if the fatality type didn't disintegrate them (in the first half of the LastHitImbue branch), and then calls DestroyMyself to permanently get rid of the monster.

When Jack Frostbite is around, you're rewarded for killing fire creatures.

Monsters that were fire-fatalitied don't leave a corpse, hence don't leave a shadow.
FIXME: This should only be done for things that originally cast shadows?

You'd better not have any other way of being used after you lay your sorry corpse on the ground.


On the Lord of Blades
Quote:
Lord of blades effect is water walking without breaking. If you want to re-use it move it to a property switch from the key which has to many "quest specific effects"

you don't have ninja spy or lifeforge waterwalk. Do you have Snowslide on?


On Tumbling
Quote:
If player has the movement property Feat_EtherealTumbling_ShouldBeEthereal true, they can pass through monsters while tumbling. This is from a Grandmaster of Flowers enhancement.


On Cheat Death
Quote:
No heartbeat for you!

The more times I die before I rest, the less likely I am to cheat death.


On Beholders
Quote:
Telekenisis hits here... The spell drops the low gravity effect on the target, and the onhit::telekinesis script fires off a random impulse on the target.

This node actually kicks off the alpha strike. Rar!

No eye! no field!


On the Reaver's Fate Puzzle
Quote:
We don't let them guess more than 10 times, just in case people screw around with the puzzle before they get blown up.

If we have 4 positions, correct, they win, and we can stop.
.. Otherwise...
We want to spawn mobs depending on how good of a guess people make.
.. The better guess, the more mobs. What a strange reinforcement cycle!

Light up the appropriate output lights.
Drive the appropriate guess with the current guess colors.
Drive the appropriate feedback with the current positions/colors right.
--
Yes, this is all kinds of swilly brute-force...


On DEX and Elves
Quote:
Elfy elf weapons!

Elf DEX to Damage on Bows
Epic Destinies and Ranger [2012]
Ranger DEX to Damage on Dual Wield


On the Master Artificer
Quote:
Ric's note:
You'll need to spawn the NPC version of Toven at the crash site a few seconds later.
Hide it with a big screenover explosion

missile_titan
melee_titan

when running whirl wind we knock players back.


On Default NPC Text
Quote:
PLACEHOLDER LORE STRING - IF FOUND, PLEASE WRITE UP AS CONTENT BUG


On Druids
Quote:
Your weapons be invisible in wolf form! Yeah!

The Shillelagh spell grants bonuses to the target's weapon if it's made of wood and a bludgeoning weapon.

Benefit_Druid_BloodSprayFervor
Benefit_Druid_VengefulHunter
Benefit_Druid_BeastialNature
Benefit_Druid_Aggravate
Benefit_Druid_LitheProwler
Benefit_Druid_WildHealing
Benefit_Druid_Celerity
Benefit_Druid_HideOfTheCrocodile
Benefit_Druid_FatalHarrier


On Prism Stance
Quote:
Prism Stance line: If you are Rainbow Stance, you must have Prism.
This is done like this so Rainbow & Double Rainbow can be upgrades to Prism (instead of separate toggle buttons).


On Staves
Quote:
If an item is not "staff-like" for casting purposes, but this is an Artificer with the Arcane Empowerment capstone, we set it to stafflike. This switch is not persistent because we don't want this updating on the fly.


On Dance Bug Acknowledgement
Quote:
Temporary fix until it has a proper dance animation.


On Missiles
Quote:
Previously, we were running the "returning missile" animation on the person who fired it. However, this turned out to just confuse people, since the animation was an arrow over your head, which looked odd when the returning thing was a throwing axe. If we get better art and want to reinstate that script, run "Spell.MissileReturn@Agent::Returning", with the target of [Missile_Archer]


On Malicia
Quote:
EncounterPhase key:
0 = entrance stuff
1 = invulernable (NPC), phiarlan fights for her
2 = vulnerable (Monster), fights for herself until MediumHealth
3 = invulernable (NPC), tieflings fights for her
4 = vulnerable (Monster), fights for herself until dead
5 = ignore, not used, just let it go man!
51 = startup boss drama

Tell guards to place the "charm hat" on their heads.

I just changed targets! Add some hate to this target!
This will take care of the case where I have no threat against the intimidator, and otherwise would not attack.


On Hate
Quote:
But add 1, to make sure I'll come back to them later.
I don't like it when someone's hate hits zero, since the AI's sometimes act weird.

Subtract 6 hate from the diplomat...


On Neihoden
Quote:
Fires when Neihoden is at HighHealth, and;
Only want to hit the players, and;
Players with low-to-high Balance scores have a chance to avoid the effect.

Copied shamelessly from the Performing Hellhound. Thanks Brent!

If our balance skill is less than the knockdown skill of the mob, we're down for 3 sec. If ours is greater, but not by much, we're down for 1 sec. If ours is greater than the threshold as well, we're only down for .5s.


On Kobolds that Explode
Quote:
Kobold Throwers have a chance of exploding on death.
50% chance of explosions!


On a MotU Encounter
Quote:
High Priestess's EncounterPhases
Phase 1.0 -- Minions fight for her. High Priestess is immune to attacks.
Phase 1.5 -- High Priestess fights until she reaches 66% health remaining.
Phase 2.0 -- Stronger minions fight for her. High Priestess is immune to attacks.
Phase 2.5 -- High Priestess re-enters the fight until she reaches 33% health.
Phase 3.0 -- Strongest minions fight for her. High Priestess is immune to attacks.
Dretches and draegolths appear through DW portal.
Phase 3.5 -- High Priestess fights to the death.
Set the Drow minions from NPCs to Monsters via a logicmaster...
because lots of scriptlinks from 1 monster to many monsters sucks.
The goristro kills the priestess

Place the Dryad back in her entrance state


Obviously anyone could crack the file open and have a look, but I thought this deserved saving.

Related: Is Ukenberger a relative of MrCow or something?
« Last Edit: May 10th, 2012 at 8:11pm by Evangelier »  
Back to top
 
IP Logged
 
TWDiggs
Mr. Infraction
**********
Offline



Posts: 1841
Joined: Jul 6th, 2010
Gender: Male
Re: Ukenberger's Data Diving
Reply #1 - May 10th, 2012 at 8:29pm
Print Post  
This has already been posted in the vault.
  

stainer wrote on Oct 5th, 2011 at 1:29pm:
Everyday that you aren't banned, is a borrowed day.


Grace wrote on Dec 2nd, 2012 at 8:31pm:
Well, you're a godless heathen, anyway. I would totally wear my rape whistle around you.
Back to top
YIM  
IP Logged
 
popejubal
Completionist (i.t.p.)
******
Offline


fnord

Posts: 6364
Location: Argo
Joined: Aug 6th, 2010
Gender: Male
Re: Ukenberger's Data Diving
Reply #2 - May 10th, 2012 at 8:50pm
Print Post  
TWDiggs wrote on May 10th, 2012 at 8:29pm:
This has already been posted in the vault.


But now it is posted more and that's a good thing.
  

fnord
Back to top
 
IP Logged
 
Evangelier
Dragon Raider
***
Offline


I Love Drama!

Posts: 281
Joined: Aug 8th, 2011
Re: Ukenberger's Data Diving
Reply #3 - May 10th, 2012 at 9:53pm
Print Post  
TWDiggs wrote on May 10th, 2012 at 8:29pm:
This has already been posted in the vault.

Ah.

I see what you mean.

Funnily enough, the very act of posting this is what enabled me to see that it was posted. Cheesy
« Last Edit: May 10th, 2012 at 9:53pm by Evangelier »  
Back to top
 
IP Logged
 
TWDiggs
Mr. Infraction
**********
Offline



Posts: 1841
Joined: Jul 6th, 2010
Gender: Male
Re: Ukenberger's Data Diving
Reply #4 - May 10th, 2012 at 9:58pm
Print Post  
Evangelier wrote on May 10th, 2012 at 9:53pm:
Ah.

I see what you mean.

Funnily enough, the very act of posting this is what enabled me to see that it was posted. Cheesy


Hi Welcome
  

stainer wrote on Oct 5th, 2011 at 1:29pm:
Everyday that you aren't banned, is a borrowed day.


Grace wrote on Dec 2nd, 2012 at 8:31pm:
Well, you're a godless heathen, anyway. I would totally wear my rape whistle around you.
Back to top
YIM  
IP Logged
 
Blank
Ex Member


Re: Ukenberger's Data Diving
Reply #5 - May 11th, 2012 at 4:53am
Print Post  
Evangelier wrote on May 10th, 2012 at 9:53pm:
Ah.

I see what you mean.

Funnily enough, the very act of posting this is what enabled me to see that it was posted. Cheesy


Shut up now while you're still ahead.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint