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

Offline Ruby1234

  • Mean Tutorial Queen
  • Hero Member
  • *****
  • Posts: 2,751
  • Country: us
  • Floof-O-Meter: 297
  • Je te vois.
    • View Profile
OGRE Scripting Breakdown (LEARN BASIC MATERIAL CODING!)
« on: April 03, 2016, 05:42:11 pm »

Offline Kynvuu

  • #Grimstagram
  • Moderator
  • Hero Member
  • *****
  • Posts: 2,559
  • Country: us
  • Floof-O-Meter: 154
  • I'm not saying that it was aliens but...
    • Kynvuu
    • channel/UCL45DOs0jcMRMz54tQFYIdg
    • Kynvuu
    • 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

Avatar by Mythrim ||Download My Preset Here

Offline Ruby1234

  • Mean Tutorial Queen
  • Hero Member
  • *****
  • Posts: 2,751
  • Country: us
  • Floof-O-Meter: 297
  • Je te vois.
    • 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 ✩
  • Hero Member
  • *****
  • Posts: 2,806
  • Country: 00
  • Floof-O-Meter: 124
  • 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:

Til We Meet Again....

Discord: Haku - Haku#74O7

Offline Ruby1234

  • Mean Tutorial Queen
  • Hero Member
  • *****
  • Posts: 2,751
  • Country: us
  • Floof-O-Meter: 297
  • Je te vois.
    • 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
  • Moderator
  • Hero Member
  • *****
  • Posts: 2,559
  • Country: us
  • Floof-O-Meter: 154
  • I'm not saying that it was aliens but...
    • Kynvuu
    • channel/UCL45DOs0jcMRMz54tQFYIdg
    • Kynvuu
    • 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

Avatar by Mythrim ||Download My Preset Here

Offline Ruby1234

  • Mean Tutorial Queen
  • Hero Member
  • *****
  • Posts: 2,751
  • Country: us
  • Floof-O-Meter: 297
  • Je te vois.
    • 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
  • Moderator
  • Hero Member
  • *****
  • Posts: 2,559
  • Country: us
  • Floof-O-Meter: 154
  • I'm not saying that it was aliens but...
    • Kynvuu
    • channel/UCL45DOs0jcMRMz54tQFYIdg
    • Kynvuu
    • 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^

Avatar by Mythrim ||Download My Preset Here

Offline Ruby1234

  • Mean Tutorial Queen
  • Hero Member
  • *****
  • Posts: 2,751
  • Country: us
  • Floof-O-Meter: 297
  • Je te vois.
    • 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 Scallywag

  • Savage Genetics
  • Moderator
  • Elite Member
  • *****
  • Posts: 1,991
  • Country: gb
  • Floof-O-Meter: 138
    • https://www.deviantart.com/radic
    • 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!

Avatar (c) Edolicious
Signature (c) Lotorshot