List of components and methods

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Jgwman
Posts: 144
Joined: Thu Jun 28, 2012 10:14 pm

Re: List of components and methods

Post 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.
NutJob
Posts: 426
Joined: Sun Oct 19, 2014 6:35 pm

Re: List of components and methods

Post 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.
kelly11
Posts: 17
Joined: Mon Oct 08, 2012 12:30 am

Re: List of components and methods

Post by kelly11 »

Bump this one ! or sticky it!
Batty
Posts: 509
Joined: Sun Apr 15, 2012 7:04 pm

Re: List of components and methods

Post 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
User avatar
ahn
Posts: 6
Joined: Thu May 03, 2012 10:07 pm

Re: List of components and methods

Post by ahn »

I must also bump this thread and say thank you. This has been tremendously helpful.
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: List of components and methods

Post 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
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
MrChoke
Posts: 324
Joined: Sat Oct 25, 2014 7:20 pm

Re: List of components and methods

Post 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
User avatar
JKos
Posts: 464
Joined: Wed Sep 12, 2012 10:03 pm
Location: Finland
Contact:

Re: List of components and methods

Post 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.
- LoG Framework 2http://sites.google.com/site/jkoslog2 Define hooks in runtime by entity.name or entity.id + multiple hooks support.
- cloneObject viewtopic.php?f=22&t=8450
TheLegendaryNarwhal
Posts: 12
Joined: Sat Oct 25, 2014 3:26 pm

Re: List of components and methods

Post by TheLegendaryNarwhal »

So incredibly helpful! <3
User avatar
MadCatter
Posts: 34
Joined: Mon Nov 03, 2014 5:02 am
Location: Southampton, UK

Re: List of components and methods

Post 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.
Post Reply

Return to “Mod Creation”