Author Topic: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)  (Read 12324 times)

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« on: April 03, 2016, 05:42:11 pm »

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #1 on: April 03, 2016, 07:46:23 pm »
Ahh This is so very helpful! Thank you for putting your time into making this and sharing it with us. c: +Floof
On a temporary leave. Please contact other members of staff if you need assistance.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #2 on: April 03, 2016, 07:48:22 pm »
Ahh This is so very helpful! Thank you for putting your time into making this and sharing it with us. c: +Floof
Glad you think so!
No worries, best I can do with this useless knowledge. xD
+Floofback

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #3 on: April 03, 2016, 07:55:14 pm »
Looked at this the first time...Had zero clue.
Then I stopped overthinking for a bit & everything started making sense.
This is very well done. You did awesome on this, you is smart c:
- Le Nuzzles , Pandeer Sticker To The Snout -

Also, I know it's old, but....good job on the preset coding too ^^ that helped me a lot when I was first making presets c:

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #4 on: April 03, 2016, 07:59:25 pm »
Looked at this the first time...Had zero clue.
Then I stopped overthinking for a bit & everything started making sense.
This is very well done. You did awesome on this, you is smart c:
- Le Nuzzles , Pandeer Sticker To The Snout -

Also, I know it's old, but....good job on the preset coding too ^^ that helped me a lot when I was first making presets c:
Glad it's starting to make sense to you! Can always let me know if you have any questions. cx
Thanks for the nice feedback.? Happy to be of help.
+Nuzzleback

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #5 on: April 03, 2016, 08:30:33 pm »
Thanks for the floof back dear<3 I actually have a question for you if you don't mind, since you seem to know quite a bit about Ogre coding c: By any chance, is it possible to play a sound file upon collision with an object in Feral Heart? I know in FH its possible to add a sound to your object, but I was curious to know if there were some codes I could implement somehow so that this sound file only played on command with collision. Not sure if its possible within FH, but if you knew any tricks I'd appreciate it :3
On a temporary leave. Please contact other members of staff if you need assistance.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #6 on: April 03, 2016, 08:45:11 pm »
Thanks for the floof back dear<3 I actually have a question for you if you don't mind, since you seem to know quite a bit about Ogre coding c: By any chance, is it possible to play a sound file upon collision with an object in Feral Heart? I know in FH its possible to add a sound to your object, but I was curious to know if there were some codes I could implement somehow so that this sound file only played on command with collision. Not sure if its possible within FH, but if you knew any tricks I'd appreciate it :3
Unfortunately, that's not going to be possible with just a material script.
The material scripts can only control how the object interacts with the environment, via lights/shadows/textures/the like, it cannot dictate how the player unit will interact with the object.
It's basically just changing the way the object is observed.
A specific sound-on-collision function would have to be programmed into the game itself. :c

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #7 on: April 03, 2016, 08:48:53 pm »
Thanks for the floof back dear<3 I actually have a question for you if you don't mind, since you seem to know quite a bit about Ogre coding c: By any chance, is it possible to play a sound file upon collision with an object in Feral Heart? I know in FH its possible to add a sound to your object, but I was curious to know if there were some codes I could implement somehow so that this sound file only played on command with collision. Not sure if its possible within FH, but if you knew any tricks I'd appreciate it :3
Unfortunately, that's not going to be possible with just a material script.
The material scripts can only control how the object interacts with the environment, via lights/shadows/textures/the like, it cannot dictate how the player unit will interact with the object.
It's basically just changing the way the object is observed.
A specific sound-on-collision function would have to be programmed into the game itself. :c

Ah, alright, I see. Thank you for the help anyways, I appreciate it~ ^w^
On a temporary leave. Please contact other members of staff if you need assistance.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #8 on: April 03, 2016, 08:50:39 pm »
Ah, alright, I see. Thank you for the help anyways, I appreciate it~ ^w^
No worries! c:

Offline G4RG0YLE

  • Elder Grey Pelt
  • ****
  • Posts: 3,431
  • Country: gb
  • Floof-O-Meter: 170
  • Avatar © Felicia on Discord ♡
    • View Profile
Re: OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« Reply #9 on: April 03, 2016, 11:29:10 pm »
Lovin' this, thank you very much! c: Keep up the amazing work!

© short ' cakes on Discord ♡