Product Chat (Early Access) / [SOLVED] It was going so well....

Author
Message
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 9th Jun 2022 10:16 Edited at: 26th Jun 2022 17:21
Save the survivor win the level...
The character playing the survivor was fired after filming, for his lack of acting skills.

https://youtu.be/r1ZjHfvXwAg

The author of this post has marked a post as an answer.

Go to answer

Attachments

Login to view attachments
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 9th Jun 2022 11:56
lol, should upload it to a video streaming service like youtube so people will actually watch it though
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 9th Jun 2022 17:39
https://youtu.be/r1ZjHfvXwAg

Uploaded, his acting skills haven't improved
PM
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 15th Jun 2022 09:17
Give up, been putting entities in the way and looking at this hostage script and byc (??) file and can’t make head nor tail of it. The hostage guy still commits Harakiri.

Can anyone change the script so the hostage runs in a chosen compass direction. Or better still, to another chosen entity.

As the hostage seems to always run in the opposite direction to the player. The only way it works is to release the hostage from behind, but I can’t guarantee the player would do that.

Thanks
PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th Jun 2022 11:16
Quote: "Give up, been putting entities in the way and looking at this hostage script and byc (??) file and can’t make head nor tail of it. The hostage guy still commits Harakiri."

Post it on Github .
Its obviously a bug that needs sorting.
https://github.com/TheGameCreators/GameGuruRepo/issues
No one ever really leaves.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Jun 2022 13:18
what script is the hostage using?
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 15th Jun 2022 14:55 Edited at: 15th Jun 2022 17:08
Hi,

GameGuru MAX\Files\scriptbank\people\hostage_runs_away.lua
Requires "scriptbank\\masterinterpreter"
and seems to use "scriptbank\\people\\hostage_runs_away.byc" somehow

Was hoping the storyline would be crashed boat, the only survivor has been bitten so runs off and infects the rest of the island. Carnage ensues.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Jun 2022 22:52
so if i share my .byc you should get the same behaviour changes, is that how it's supposed to work?
this should let you assign a flag as the destination for the hostage
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Attachments

Login to view attachments
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th Jun 2022 23:00
Quote: "this should let you assign a flag as the destination for the hostage"

Now thats awesome ..
No one ever really leaves.
PM
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 16th Jun 2022 11:00 Edited at: 16th Jun 2022 11:06
Tried the attached byc file. Not sure if im doing something wrong, replaced the copy I created of the original added a flag unfortunately no joy. It seems characters do not avoid deep water and will run down any slope until its too late ie... a beach.

Running to a flag is a nice idea, thanks for taking the time to have a look. I think I'll try a new storyline .. plane crashes on cliff top one survivor ......

https://youtu.be/aoMOFPlmFR0
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Jun 2022 15:20
i'm not sure if that's how the .byc file works tbh, it seems like it should be how it works but i haven't actually tried it before, not sure if there's other files required to share if you edit the behaviour logic or not.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 16th Jun 2022 16:55
Just report it as a bug on Github ?
Hostage does not avoid water.
Should be an easy fix as Lee prevented characters entering water before.
No one ever really leaves.
PM
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 16th Jun 2022 18:47
This post has been marked by the post author as the answer.
Thanks @smallg @synchromesh
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Jun 2022 19:37
Quote: "Just report it as a bug on Github ?
Hostage does not avoid water.
Should be an easy fix as Lee prevented characters entering water before."

definitely still be nice to know if sharing .byc is intended as the way to share edited behaviour, that would be very handy for those who want to use the behaviour editor (even if it might be getting updated at some point)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 19th Jun 2022 11:23
Quote: "definitely still be nice to know if sharing .byc is intended as the way to share edited behaviour, that would be very handy for those who want to use the behaviour editor (even if it might be getting updated at some point"

Yes, more or less like people do with EBE files in GG; it might be cool.
TGC tuto for everybody to understand how BYC files work would be nice to have (in GGMax itself), so, everybody knows how to work with them.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 26th Jun 2022 17:12
...Documents\GameGuruApps\GameGuruMAX\Files\scriptbank\people

On the off chance i'm not the only one who didn't know... It seemed to be putting the byc file for hostage_run_away in the above directory.
If the file isn't already there the original is copied from the max directory. Attached is the behaviour file that runs to a flag.
So it looks 'possible' to copy in edited behaviours that are called from the lua script

byc file from edited behaviour in video. https://youtu.be/6nJDY4XoH8M


Thanks again to @smallg for pointing me in the right direction.

PM
Pink Panther
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 1st Jul 2022 16:50
FPSRI, I see the video but is there supposed to be an attached byc file. I tried using the byc file from smallg, and put it in the above folder that you mentioned, but the "freed" hostage still doesn't utilize the flags I placed. Not sure what I am doing wrong
PM
FPSR1
9
Years of Service
User Offline
Joined: 28th Feb 2015
Location:
Posted: 2nd Jul 2022 15:41 Edited at: 2nd Jul 2022 15:51
Hi,

Done a bit of retesting, here's the process that seems to work. I created a new map as a
fresh start so hopefully it works for you.

Try this on a test game wouldn't want to screw up anything you've been working on, especially if max crashes

New map with nothing in the documents…. \peoples folder. (Saved all my byc files elsewhere)
Create your hostage with the original max hostage runs away behaviour.
Nothing appears in the documents…. \peoples folder yet. So the character still runs off.

Add and link your flags
Make sure the first flag is next to the hostage so it is picked up.

Run the game and tab to the behaviour editor.
You might need to switch this on in the AI management… ?

Make sure you have the hostage runs away.lua selected and scroll to the bottom
Select Update and Restart
The hostage runs away.byc file now appears in the document…\peoples folder
Replace with the attached. Or rename it .bak and copy in the attached.

From this point Gameguru Max seems to go to the .../peoples folder for the byc folder so
guessing there must be something else that gets setup.

Still getting my head around this editor (so dont shoot the messenger ) . Probably a better way of doing this. @smallg ?
I made some changes to the original byc file I had. The hostage wanders a bit and will randomly pause and look around.

https://youtu.be/5V3ei_enMPY

If you want the hostage to run off, change the Loop Animation from walk_loop to run_loop in the editor. Update and restart.

Here's hoping Lee develops the editor.....

Attachments

Login to view attachments
PM
Pink Panther
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 4th Jul 2022 15:16
Thanks for your reply! I am going to give this a try
PM

Login to post a reply

Server time is: 2024-09-16 20:38:52
Your offset time is: 2024-09-16 20:38:52