Scripts / Search scripts for a few things.

Author
Message
^^ TRUE D1S4ST3R ^^
9
Years of Service
User Offline
Joined: 16th Mar 2015
Location:
Posted: 10th Dec 2015 23:08
Hello ^^

Search scripts for a few things.

A re spawn.
And a menu so something like in Counter Strike
where you can search for weapons. Does such a thing?
And how can you play as a team against team.
I'm new, and have not done much with.
Maybe someone can help me.
there is also a script where the team or
  two to four players can fight against hordes.
I also found nothing in the shop.
thank you
Win 7 - (GRAKA) AMD Readeon R9 - (RAM) 8 GB Kingston Hyper X - (CPU) AMD FX 8150 - (Mainboard) Asus M5A 97
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 11th Dec 2015 10:17 Edited at: 11th Dec 2015 10:22
What exactly do you mean by "a respawn"?

If you mean you want to respawn a character somewhere else on death, then yes that can be achieved via an LUA script.

You will need to create a file called random_player_spawn_location.lua containing the following code and place it in your gameguru/files/scriptbank folder:



Place an object (this is a dummy object to use as a location to teleport to so it can be anything), click on it in and select properties, in the menu on the left find "set always active" ad change it to "yes", then find the field with the objects name in (should be the first one) and copy/paste that name into the "ifused" field, then find the script field and change the script to the one you just made, finally click the aknowledge changes button.

Your character will now respawn at a random location on the map when it dies.

If you don't want it to be random you can use the following code instead, this will spawn you next to the object you created above.



All credit for this script goes to one of our scripting gods smallg who posted it in a similar thread recently ( https://forum.game-guru.com/thread/213947#msg2534821 )
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 11th Dec 2015 10:21
Regarding the rest:

1. Counterstrike style weapon menu: If you mean inside the game, i'm pretty sure you should be able to do something like this with an LUA script, but i'm not sure how, someone will probably be along to help out with that one later.
2. How to play team vs team: I'm sure this can be done, but your best bet would be to ask in the multiplayer forum: https://forum.game-guru.com/board/30

As to scripting in multiplayer, that is currently not possible at the moment, LUA scripting hasn't been added to multiplayer yet.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 11th Dec 2015 13:58
With the new image load functions and AGK2 sprite command added to the engine, you should be able to create just about anything you can script for menu's and HUDs.

Check the changelog.txt file for the command syntax of the new added commands.

Cant wait to see what is made from this stuff.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

^^ TRUE D1S4ST3R ^^
9
Years of Service
User Offline
Joined: 16th Mar 2015
Location:
Posted: 11th Dec 2015 14:43
Thank you in advance for your help.
I'll make myself a little in the other forum clever.
If anyone still has one somewhere, from me even when I have to pay
can you give me about it like. I hope that at some point there's more scripts in the shop.

Thx.
Win 7 - (GRAKA) AMD Readeon R9 - (RAM) 8 GB Kingston Hyper X - (CPU) AMD FX 8150 - (Mainboard) Asus M5A 97

Login to post a reply

Server time is: 2024-12-22 10:04:12
Your offset time is: 2024-12-22 10:04:12