Specific modding question: Changing party movement speed

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
minmay
Posts: 2789
Joined: Mon Sep 23, 2013 2:24 am

Specific modding question: Changing party movement speed

Post by minmay »

I've got a very specific question about LoG2 modding: will modders be able to change the movement speed of the party, like Toorum mode does in LoG1?
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Specific modding question: Changing party movement speed

Post by petri »

At the moment no. Maybe this feature could be added in a Glögg coding session?
minmay
Posts: 2789
Joined: Mon Sep 23, 2013 2:24 am

Re: Specific modding question: Changing party movement speed

Post by minmay »

Thanks for the quick response! I'll keep my fingers crossed.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Isaac
Posts: 3188
Joined: Fri Mar 02, 2012 10:02 pm

Re: Specific modding question: Changing party movement speed

Post by Isaac »

petri wrote:At the moment no. Maybe this feature could be added in a Glögg coding session?
Of specific modding questions, I'd like to find out if the party camera is animat-able as an event? Useful in making custom stairs for instance, or deep pits that are more like chutes.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Specific modding question: Changing party movement speed

Post by petri »

We unfortunately don't have much time to improve the modding capabilities before launch. We have to prioritize the needs of the main campaign at this point. After launch we can take a look at all the feature requests and make a patch.
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Re: Specific modding question: Changing party movement speed

Post by Leki »

Just remember please - setPosition is fine, but please add support as well for smth like pushParty(dir,distance) ;)
I'm the Gate I'm the Key.
Dawn of Lore
User avatar
cromcrom
Posts: 549
Joined: Tue Sep 11, 2012 7:16 am
Location: Chateauroux in a socialist s#!$*&% formerly known as "France"

Re: Specific modding question: Changing party movement speed

Post by cromcrom »

What about a month long Glögg coding session ?
A trip of a thousand leagues starts with a step.
User avatar
Isaac
Posts: 3188
Joined: Fri Mar 02, 2012 10:02 pm

Re: Specific modding question: Changing party movement speed

Post by Isaac »

Leki wrote:Just remember please - setPosition is fine, but please add support as well for smth like pushParty(dir,distance) ;)
That's an imperative one!
Very good suggestion.
User avatar
Chimera005ao
Posts: 187
Joined: Sun Jun 29, 2014 8:34 am

Re: Specific modding question: Changing party movement speed

Post by Chimera005ao »

Just remember please - setPosition is fine, but please add support as well for smth like pushParty(dir,distance) ;)
My ice floor is quite disorienting with setPosition. Too choppy. :lol:
benito82
Posts: 12
Joined: Sun Jan 03, 2016 10:12 pm

Re: Specific modding question: Changing party movement speed

Post by benito82 »

TimerComponent (Component)

Timer component triggers its onActivate hook periodically. The timer inverval or period can be customized. Timers can act in one shot mode (disable self set) or running mode (disable self not set).

TimerComponent:getCurrentLevelOnly()
TimerComponent:getDisableSelf()
TimerComponent:getTimerInterval(number)
TimerComponent:getTriggerOnStart()
TimerComponent:pause()
TimerComponent:setCurrentLevelOnly(boolean)
TimerComponent:setDisableSelf(boolean)
TimerComponent:setTimerInterval(number)
TimerComponent:setTriggerOnStart(boolean)
TimerComponent:start()
TimerComponent:stop()

TimerComponent.onActivate(self)

with some mod should work. just set the time interval to a percentage, the Boolean disableself set to nil when dead, and true all other times from start of game on... anyone with a check?
Post Reply