Scripts / some scripting questions

Author
Message
Voodoo
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 19th Dec 2013
Location: Germany
Posted: 30th Aug 2014 17:40
hi comunity and developers, i'm really to have pleged you this game engine is awesome.
I have some questions:
1) is it possible to have at startup 2 weapons equipped and de activate the pickup?
2) can the firing of the weapons be assigned to an energy function instead of cartridge? in this way the player will stop shooting when energy=0 and of course have a regeneration of energy?
3) is it possible to assign functions to keys?

thats it for the moment.
I'm working (alone ) to a Scfi project, if anyone is interested you are welcome to help
Regards
Voodoo
tomjscott
User Banned
Posted: 31st Aug 2014 16:02
Quote: "2) can the firing of the weapons be assigned to an energy function instead of cartridge? in this way the player will stop shooting when energy=0 and of course have a regeneration of energy?"


There is a script function called AddPlayerAmmo. I've never used this, but it seems possible that you could use this to add an amount of ammo at the start and then add more on a timer function. This could accomplish your goal.

Quote: "3) is it possible to assign functions to keys?"


What do you mean by functions and what do you mean by keys? If you mean keys as in keyboard keys, the base engine doesn't support any keys except E, but the Omega Core plugin I developed allows you to use all keyboard keys as well as mouse buttons.

System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.0071
Voodoo
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 19th Dec 2013
Location: Germany
Posted: 31st Aug 2014 18:18
Thanks for your reply,
For the question assign functions to keys i mean for example when i press on the keyboard 1 i activate the shot gun, 2 the uzi etc. But i think that your omega core would solve the issue, thanks again

Login to post a reply

Server time is: 2024-05-03 06:27:50
Your offset time is: 2024-05-03 06:27:50