Scripts / Can anyone put together three scripts for my forthcoming Free Egypt pack

Author
Message
grobyken
3D Media Maker
13
Years of Service
User Offline
Joined: 19th Aug 2010
Location: Aurensan France
Posted: 22nd Sep 2017 09:04
Sorry to make a request but time is short as I have promised to release the pack in the next couple days and I still have a bit of work to do.

Can anyone put together the following three scripts for me.

1. To animate a door to move sideways as the player approaches and shuts after passing thro. I know I can make anim entities but would prefer a script i could attach to several entities.

2. Same thing as above but player needs to have collected a magic potion and invoke a spell to open door. Kind of like the key/locked door thing.

3. Like 2 above but invoking collisionmode = 11 on an entity. Player collects spell then can pass through a wall ETC.

Any help by some of you great scripters will be great. PM me if necessary. I will of course acknowledge your help in the pack.

Pack details are here https://forum.game-guru.com/thread/217711?page=3

Thanks. Ken
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 22nd Sep 2017 19:06
Groby... see:

Vertical door... no need animatios in the asset

https://forum.game-guru.com/thread/207801?page=10#msg2531721
The game is a serious thing (El juego es una cosa seria)
grobyken
3D Media Maker
13
Years of Service
User Offline
Joined: 19th Aug 2010
Location: Aurensan France
Posted: 22nd Sep 2017 20:11
Yep thanks for the reply warlock12. I had seen that one. I need a horizontal moving door as well as the other two scripts in my post.

Anyway thanks again for taking the time to reply. Much appreciated.
Corno_1
GameGuru Tool Maker
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 23rd Sep 2017 01:41
Hi,
1) The problem here is that we have one direction for vertical movement (Y) but two directions for horizontal movement (X and Z) so it is hard to write one script for both cases.
So for X direction the script is:

and for Z:

2) Ok there a several solutions to this problem(keys,vars,activation states), but what do you mean with
Quote: "invoke a spell"
?
Fire a weapon, use an entity, use a item from your inventory,...? That is very unclear.
3) What the hell is collisionmode = 11?
Ebe Editor Free - Build your own EBE structures with easy and without editing any text files
Thread and Download
PM
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 23rd Sep 2017 03:33
Groby!!! because you do not test with this great script of bod ... it is based on the damage done to a door ... with a "spell" can be opened ... An idea ... Congratulations on the work you do!
The game is a serious thing (El juego es una cosa seria)

Attachments

Login to view attachments
grobyken
3D Media Maker
13
Years of Service
User Offline
Joined: 19th Aug 2010
Location: Aurensan France
Posted: 23rd Sep 2017 08:18
Thanks for the replies and your help guys. Isn't it great the way this community gets together to solve problems. Shame the world's politicians can't do the same.

Anyway I will see how I get on today but may come back to you if I need to.

Cheers. Ken
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 23rd Sep 2017 09:26
https://forum.game-guru.com/thread/218597#msg2585702
Been there, done that, got all the T-Shirts!
PM
warlock12
7
Years of Service
User Offline
Joined: 12th Sep 2016
Location: Argentina
Posted: 23rd Sep 2017 16:02
Groby ... the community of gameguru is one of the strongest points that GG has ... unites people and countries for the camaraderie and progeso in common ... unites people of England and Argentina, despite everything what we can imagine !!! But we know that generally the rulers do not really represent their people ... A big hug! I'm sorry I can not help but I'm not very skilled with scripting !!!
The game is a serious thing (El juego es una cosa seria)
grobyken
3D Media Maker
13
Years of Service
User Offline
Joined: 19th Aug 2010
Location: Aurensan France
Posted: 23rd Sep 2017 16:21
warlock12. Thanks man and totally agree
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 23rd Sep 2017 20:01
Quote: "3) What the hell is collisionmode = 11?"


CollisionOff(e)

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.

Login to post a reply

Server time is: 2024-04-25 04:51:23
Your offset time is: 2024-04-25 04:51:23