Page 3 of 4

Re: List of components and methods

Posted: Tue Oct 28, 2014 1:16 pm
by Jgwman
Just as a heads up for anyone that doesn't know, when cloning an object, any component you override must be overridden in its entirety, or so it seems to me. My spider is complaining that he doesn't have a mesh.

Re: List of components and methods

Posted: Tue Oct 28, 2014 11:48 pm
by NutJob
This is getting too far down the front page! Hell this post practically negates the need for the 'modding' pages. =)

..oh yeah, structure.

Re: List of components and methods

Posted: Wed Oct 29, 2014 6:06 pm
by kelly11
Bump this one ! or sticky it!

Re: List of components and methods

Posted: Thu Oct 30, 2014 12:13 am
by Batty
Here's a list of all the classes in the text file in the order they appear. Might help when searching for what you want.

Code: Select all

MaterialEx
Map
GameObject
PartyComponent
Champion
ModelComponent
AnimationComponent
LightComponent
ParticleComponent
SoundComponent
LeverComponent
LockComponent
SpawnerComponent
PitComponent
CounterComponent
ControllerComponent
TimerComponent
WallTextComponent
ButtonComponent
FloorTriggerComponent
WallTriggerComponent
TeleporterComponent
StairsComponent
SocketComponent
SurfaceComponent
SkyComponent
DoorComponent
TileDamagerComponent
CloudSpellComponent
IceShardsComponent
ProjectileComponent
ProjectileColliderComponent
ProjectileImpactComponent
MonsterGroupComponent
ObstacleComponent
MonsterComponent
PoisonedMonsterComponent
BurningMonsterComponent
MonsterActionComponent
MonsterMoveComponent
MonsterTurnComponent
MonsterAttackComponent
MonsterChargeComponent
BrainComponent
HealthComponent
MapMarkerComponent
MapGraphicsComponent
ItemComponent
AmmoItemComponent
BombItemComponent
UsableItemComponent
ScrollItemComponent
SpellScrollItemComponent
ContainerItemComponent
TorchItemComponent
ItemActionComponent
EquipmentItemComponent
MeleeAttackComponent
ThrowAttackComponent
RangedAttackComponent
FirearmAttackComponent
CastSpellComponent
ScriptComponent
PushableBlockComponent
PushableBlockFloorComponent
SecretComponent
ChestComponent
GoromorgShieldComponent
BeaconFurnaceControllerComponent
FogParamsComponent
BlastComponent
ClickableComponent
CrystalComponent
FogParticlesComponent
GravityComponent
TinyCritterControllerComponent
UggardianFlamesComponent
WaterSurfaceComponent
WaterSurfaceMeshComponent
BossFightComponent
__proxyClass
Same classes list but in alphabetical order:

Code: Select all

AmmoItemComponent
AnimationComponent
BeaconFurnaceControllerComponent
BlastComponent
BombItemComponent
BossFightComponent
BrainComponent
BurningMonsterComponent
ButtonComponent
CastSpellComponent
Champion
ChestComponent
ClickableComponent
CloudSpellComponent
ContainerItemComponent
ControllerComponent
CounterComponent
CrystalComponent
DoorComponent
EquipmentItemComponent
FirearmAttackComponent
FloorTriggerComponent
FogParamsComponent
FogParticlesComponent
GameObject
GoromorgShieldComponent
GravityComponent
HealthComponent
IceShardsComponent
ItemActionComponent
ItemComponent
LeverComponent
LightComponent
LockComponent
Map
MapGraphicsComponent
MapMarkerComponent
MaterialEx
MeleeAttackComponent
ModelComponent
MonsterActionComponent
MonsterAttackComponent
MonsterChargeComponent
MonsterComponent
MonsterGroupComponent
MonsterMoveComponent
MonsterTurnComponent
ObstacleComponent
ParticleComponent
PartyComponent
PitComponent
PoisonedMonsterComponent
ProjectileColliderComponent
ProjectileComponent
ProjectileImpactComponent
PushableBlockComponent
PushableBlockFloorComponent
RangedAttackComponent
ScriptComponent
ScrollItemComponent
SecretComponent
SkyComponent
SocketComponent
SoundComponent
SpawnerComponent
SpellScrollItemComponent
StairsComponent
SurfaceComponent
TeleporterComponent
ThrowAttackComponent
TileDamagerComponent
TimerComponent
TinyCritterControllerComponent
TorchItemComponent
UggardianFlamesComponent
UsableItemComponent
WallTextComponent
WallTriggerComponent
WaterSurfaceComponent
WaterSurfaceMeshComponent
__proxyClass

Re: List of components and methods

Posted: Thu Oct 30, 2014 2:08 pm
by ahn
I must also bump this thread and say thank you. This has been tremendously helpful.

Re: List of components and methods

Posted: Thu Oct 30, 2014 4:55 pm
by JKos
Update:

(no arguments this time, sorry)

Code: Select all

-------------------------------------
Console

.warn
.setSuppressWarnings

-------------------------------------
Config

.getKeyBinding
.getRenderingQuality

-------------------------------------
Time

.systemTime
.deltaTime
.currentTime

-------------------------------------
Dungeon

.getMap
.getMaxLevels

------------------------------------
Editor

.isRunning

------------------------------------
GameMode

.unlockAchievement
.setCamera
.fadeOut
.fadeIn
.advanceTime
.getTimeOfDay
.setTimeOfDay
.getEnableControls
.setEnableControls
.getTimeMultiplier
.setTimeMultiplier
.getStatistic
.getMaxStatistic
.setMaxStatistic
.showImage
.playStream
.playVideo
.completeGame

------------------------------------
Global functions

delayedCall
toLocal
getDirection
getForward
findEntity
hudPrint
getMouseItem
setMouseItem
playSoundAt
playSound
shootProjectile
damageTile
rollDamage
print
spawn

Re: List of components and methods

Posted: Thu Oct 30, 2014 5:50 pm
by MrChoke
JKos, you do rock as you know. This great.

I too am firing up grimrock2.dat in a hex editor. I found "Dungen" , "Config" and "Console" but I missed some of the other ones you found. The gloal function list is a good one too. No idea how you found that in that enormous file. It is lucky for us that there is a lot of human-readable text in it.

Thanks

Re: List of components and methods

Posted: Thu Oct 30, 2014 6:42 pm
by JKos
Well thanks to all of you for the positive support. I guess I was just lucky with my latest findings, I saw that Antti mentioned delayedCall in some thread and just searched by it, and there they were, all in a row. Then I just copy pasted them to notepad++ and replaced extra characters with \n and removed empty lines and made some little adjusting by hand.

Re: List of components and methods

Posted: Tue Nov 04, 2014 7:01 pm
by TheLegendaryNarwhal
So incredibly helpful! <3

Re: List of components and methods

Posted: Thu Nov 20, 2014 4:40 am
by MadCatter
Just a minor issue (that I'm sure most people fixed themselves anyway).
After messing around with custom character scripts, it looks like the setBaseStat(number,string) is actually in the other order, i.e. setBaseStat(string,number).

This may be an issue with some other Champion properties as they are listen in a similar order, but I haven't had time to check any others.