~Advanced Scripting and Editor Help
-
- Posts: 28
- Joined: Tue Oct 21, 2014 5:51 am
Re: ~Advanced Scripting and Editor Help
Hello again guys,
I want to add the "secret found" sound to my "secret found" text pop up. I tried making a sound on the map and having the trigger activate it, but the game wen't tits up when I did.
How do I add the sound to my trigger? Thanks
I want to add the "secret found" sound to my "secret found" text pop up. I tried making a sound on the map and having the trigger activate it, but the game wen't tits up when I did.
How do I add the sound to my trigger? Thanks
Re: ~Advanced Scripting and Editor Help
can traits be added/removed?
- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: ~Advanced Scripting and Editor Help
yesMoreDread wrote:can traits be added/removed?
Re: ~Advanced Scripting and Editor Help
You should revise the boss section. I fumbled around with scripts for 10 minutes with no luck, and Skugga's video solved my problems in 5 minutes.
Re: ~Advanced Scripting and Editor Help
Just place a floor_trigger where you want a secret to activate, then place the asset 'Secret' somewhere and connect the trigger to it. Be sure to check disable_self.[SMUG]Ipecac wrote:Hello again guys,
I want to add the "secret found" sound to my "secret found" text pop up. I tried making a sound on the map and having the trigger activate it, but the game wen't tits up when I did.
How do I add the sound to my trigger? Thanks
-
- Posts: 28
- Joined: Tue Oct 21, 2014 5:51 am
Re: ~Advanced Scripting and Editor Help
Ha okay, thanks!
I have just been adding playSound("secret") to the display text function. I play with the secret asset as well. Thanks
I have just been adding playSound("secret") to the display text function. I play with the secret asset as well. Thanks
Re: ~Advanced Scripting and Editor Help
Is there any way to modify an enemy's damage output? I want to make my boss do a bit less damage for difficulty reasons.
Re: ~Advanced Scripting and Editor Help
Be sure to add weight or you'll crash the game if you throw an item that's supposed to interact with gravity.SnowyOwl47 wrote:JohnWordsworth wrote:Having said that, the following will clone the "Tome of Wisdom" with a new title and description!
Code: Select all
defineObject{ name = "jw_tome_of_wisdom", baseObject = "tome_wisdom", components = { { class = "Item", uiName = "Boo Yah!", gfxIndex = 30, description = "A mysterious tome that will give you a skill point!", } }, }
Code: Select all
defineObject{
name = "jw_tome_of_wisdom",
baseObject = "tome_wisdom",
components = {
{
class = "Item",
uiName = "Boo Yah!",
gfxIndex = 30,
weight = 1.0,
description = "A mysterious tome that will give you a skill point!"
}
}
}
- JohnWordsworth
- Posts: 1397
- Joined: Fri Sep 14, 2012 4:19 pm
- Location: Devon, United Kingdom
- Contact:
Re: ~Advanced Scripting and Editor Help
Nicely spotted NutJob! I've not really put anything into practice yet (beyond just playing around), so apologies for letting the bug slip in!
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
Re: ~Advanced Scripting and Editor Help
Thanks for sharing the scripty info folks!!
Much appreciated
Much appreciated
Labyrinth of Lies (viewtopic.php?f=14&t=4400)
Legacy of Lies (viewtopic.php?f=22&t=12983&hilit=+legacy)
Legacy of Lies (viewtopic.php?f=22&t=12983&hilit=+legacy)