Scripts / Question about Amenmoses and Bod Helicopter script

Author
Message
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 11th Jun 2018 15:55 Edited at: 11th Jun 2018 15:56
Hi there !!
Im working on a new project called "Rescue Us", im on the first level, you have to scape from a concentration camp full of blood thirsty soldiers

what i want to do is:
i have one helicopter already flying around with the @Amenmoses script Helicopter.lua, .. i wonder if its possible when the player pass through a tigger zone, the helicopter fly to the player and shoot their rockets and bullets..

Question is: how do i change the helicopter state with a tigger zone? and make some fun escaping from his rage... now its just flying around in neutral mode i guess... i dont know how to change this...

Another question: Anybody knows where is the post about one puching boxing bag and some basketball hoop with dynamic ball ?

Thank you!!!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 11th Jun 2018 20:52 Edited at: 11th Jun 2018 20:56
Can you post the helicopter script you are using here, there were so many variants of it that I'll need to see which one before answering for sure.

Do you have the helicopter_call.lua script?


As to the boxing bag demo; You can't actually punch it as such, someone will need to create some animated arms for that and I can then make a script to go with them, at least I think I can, haven't played around with anything like that yet.

The physlib.lua library contains the support functions to enable physics joints and hinges to work, if you have the latest GG build I can show you how to use them.
Been there, done that, got all the T-Shirts!
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 12th Jun 2018 17:26
Quote: "someone will need to create some animated arms for that"


You can get an unarmed combat weapon from here, just download the unarmed.zip attachment and put it in your guns folder. It's more a push than a punch, but it's good enough for a demo.
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 12th Jun 2018 18:57 Edited at: 12th Jun 2018 18:57
@Amenmoses i dont have the helicopter_call.lua

screenshot of my files and the helicopter.lua im using below.... the helicopter take off and flyes around in high altitude, its great, i just need to work with tiggerzones and make his state "enemy" to follow and shoot the player, is the helicopter_call.lua mented for this? can you please upload it?

Thanks again Amen this is a fantastic script for gameguru future games

Cheers

Attachments

Login to view attachments
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 12th Jun 2018 20:36 Edited at: 12th Jun 2018 20:37


Hmm, need to tone down the 'push' methinks.

As to the helicopters that scripts is one of the early ones and doesn't do all the fancy stuff. Let me put together a later version for you.
Been there, done that, got all the T-Shirts!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 12th Jun 2018 21:21
The helicopter_call script shows you an example of how to call the helicopter(s) basically if you specify mode as 'enemy' they will attack the player, 'friendly' and they will attack other characters and 'neutral' they will just circle around at a distance.

Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 12th Jun 2018 21:42


There, that's better!

Anyone want to make some fists?
Been there, done that, got all the T-Shirts!
PM
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 13th Jun 2018 15:33 Edited at: 13th Jun 2018 17:35
Wowwwwwwww thats great!!!

@Amenmoses thank you so much for that script, it really make my game spicy

Can you upload the PuchingBag script for us? i got the model of the bag but dont have the chain neither the script... these hands are amazing, can somebody upload some fists model for PUNCHING GAME? ... Oh my god... @Bod its the wizard here...

Thanks again!!! you guys rock
PM
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 13th Jun 2018 17:30 Edited at: 13th Jun 2018 17:38
@Amenmoses Ive tested the helicopter_call script, and follow your instructions in the 2nd page of this thread:
https://forum.game-guru.com/thread/217672

it works!!! i only have two questions...

1) the rockets explode in the helicopter before launching, i put the health of the rocket in 500 but still doenst get to land just explodes in the chopper
2) Its there a way to put some sound to the helicopter so we can hear it when he aproach, and some bullet shooting noise when attacking?

Thanks!! this script and model should be in the next version of GG, its impressive...
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Jun 2018 18:46
1) Try turning physics off on the helicopter entity and/or the missile entity, can't remember which it is that causes this. If that doesn't fix it let me know and I'll take a look at it.

2) Just find some sound sample and attach them to the helicopter entity:

Sound Slot 1 is for the cannon.
Sound Slot 2 is the blades noise, needs to be a short Loop sample.

You can test it out with the attached samples but you should find your own if you need them for commercial purposes as these are only licenced for personal use IIRC.
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Jun 2018 18:54
Right, about the physics stuff:

I'm going to start a new thread in which I'll describe the physlib.lua library and how to use it, the punchbag & chain will be one of the examples but rather than simply saying here is the script I'll explain how it works and also the current limitations etc.

If someone comes up with a 'fists' weapon thingy in the meantime I'll certainly add it.

btw, did you see this:

Been there, done that, got all the T-Shirts!
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 13th Jun 2018 20:20
I did a stand to go with my Punchbag have you not got it? would look better than hanging in the air lol
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Jun 2018 20:29
Yep, I did try it with the stand but that was on another drive, have about 4 different GGs on the go at once and haven't quite figured out how to get them to share the files folder!
Been there, done that, got all the T-Shirts!
PM
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 13th Jun 2018 20:35
Its nice effect, great job!! its more like half life 2 feeling, can control funny things... a basketball game with this coding could be done
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 13th Jun 2018 20:45
or ten pin bowling
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Jun 2018 21:39
I forgot all about that! Maybe I'll include that in my new tutorial thread.
Been there, done that, got all the T-Shirts!
PM
Blacknyt46
8
Years of Service
User Offline
Joined: 29th Feb 2016
Location:
Posted: 14th Jun 2018 18:20
That's awesome! I been waiting for fists for a long time. Amenmoses thanks for all your awesome work!
Jim C
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jun 2018 11:23
@GraPhiX:



There, happy now?
Been there, done that, got all the T-Shirts!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jun 2018 14:20 Edited at: 15th Jun 2018 14:25
Oops, posted in the wrong thread!
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 15th Jun 2018 16:48
LOL yep that's better
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
LFR
6
Years of Service
User Offline
Joined: 12th May 2018
Location:
Posted: 15th Jun 2018 23:30
Can't see the attachs!
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jun 2018 23:37
That's because they are on the other thread, the one that explains the physlib.lua library.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-12-22 20:02:32
Your offset time is: 2024-12-22 20:02:32