Author Topic: Script Core Suggestions  (Read 49610 times)

0 Members and 1 Guest are viewing this topic.

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: Script Core Suggestions
« Reply #280 on: April 17, 2014, 01:04:56 pm »
And - if I am right - you are not able to modify gravity:
- during gameplay
- per player

It would be awsome if those two above cases be available :)

Offline Akinaro

  • Flagrunner
  • ****
  • Posts: 749
Re: Script Core Suggestions
« Reply #281 on: April 17, 2014, 01:18:50 pm »
you can change gravity during game, there are few script for that(or you mean any other gravity...)

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: Script Core Suggestions
« Reply #282 on: April 17, 2014, 01:20:40 pm »
So this:
Code: [Select]
procedure ServerModifier(Name: String; Value:Variant);works in any moment of the game?

But there is still no way to change the grativy of the particular player.

Offline Akinaro

  • Flagrunner
  • ****
  • Posts: 749
Re: Script Core Suggestions
« Reply #283 on: April 17, 2014, 01:26:44 pm »
I remember that I had modified version of this script: http://forums.soldat.pl/index.php?topic=38557.msg471774#msg471774

ServerModifier('Gravity', g * 0.0006);

it change gravity and ballistic of bullets. But as you said you can't change gravity of selected player....

And as kicikici said it would be good for having procedure OnFlagReturn, it would be good for setting points in some stats scripts for returning flag.
 

Offline skrX

  • Soldier
  • **
  • Posts: 112
  • x ye.
Re: Script Core Suggestions
« Reply #284 on: April 17, 2014, 01:52:23 pm »
I suggested, which could can be add. I'm not asking for an explanation of the above procedure. A little understanding ;)

Offline kicikici

  • Soldier
  • **
  • Posts: 179
Re: Script Core Suggestions
« Reply #285 on: May 07, 2014, 04:19:37 am »
Small tweak:
TScriptMap.SetMap(NewMap: string); could automatically put into console WriteLn('Next map: '+NewMap);
Classic banana

Offline ExHunter

  • Inactive Soldat Developer
  • Soldier
  • ******
  • Posts: 154
  • Speedy go!
Re: Script Core Suggestions
« Reply #286 on: September 28, 2014, 07:19:50 pm »
Feel free to add more suggestions/requests. If I can add them, then I will add them.

DarkCrusade

  • Guest
Re: Script Core Suggestions
« Reply #287 on: September 29, 2014, 12:10:46 pm »
Movebot(ID:Byte; X,Y:Single) and SpawnBot(Name:String; X,Y:Single) would be quite awesome, because it would save the usual routine of moving spawn points around. :)


Offline ExHunter

  • Inactive Soldat Developer
  • Soldier
  • ******
  • Posts: 154
  • Speedy go!
Re: Script Core Suggestions
« Reply #288 on: September 29, 2014, 02:29:57 pm »
Movebot(ID:Byte; X,Y:Single) and SpawnBot(Name:String; X,Y:Single) would be quite awesome, because it would save the usual routine of moving spawn points around. :)

Both is implemented in SC3, I assume.

http://wiki.soldat.pl/index.php/TActivePlayer.Move
http://wiki.soldat.pl/index.php/TPlayers.Add

well.. but not exactly on a location bound.
« Last Edit: September 29, 2014, 02:31:31 pm by ExHunter »

Offline kicikici

  • Soldier
  • **
  • Posts: 179
Re: Script Core Suggestions
« Reply #289 on: October 07, 2014, 02:24:21 am »
Player.IsDev }:->
Classic banana

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: Script Core Suggestions
« Reply #290 on: October 07, 2014, 03:30:43 am »
Freezing player position would be nice (not only loop with setting position which causes player to convulse).

Offline dodo001

  • Major(1)
  • Posts: 15
Re: Script Core Suggestions
« Reply #291 on: October 07, 2014, 07:53:11 am »
Add:
InterfaceText
InterfaceImage

Of version 1.5.1e. Thanks!

Offline Mighty

  • Camper
  • ***
  • Posts: 276
Re: Script Core Suggestions
« Reply #292 on: October 07, 2014, 10:55:29 am »
Pls modify:
OnDamage(Shooter, Victim: TActivePlayer; Damage: Integer; Bullet: TActiveMapBullet): Integer;
to
OnDamage(Shooter, Victim: TActivePlayer; Damage: Integer; Bullet: TActiveMapBullet, HeadShot: Boolean): Integer;
« Last Edit: October 07, 2014, 10:57:04 am by Mighty »
xFire: macmil        e-mail: macekmil@gmail.com
My scripts: Accuracy Script       Flashbang       Punishments GUID
            CatchMe Gamemod       AntiFake
            CW System             AntiFakeGUID

Offline Mighty

  • Camper
  • ***
  • Posts: 276
Re: Script Core Suggestions
« Reply #293 on: October 08, 2014, 01:43:11 am »
TActivePlayer.IsProne.

At the moment we can tell if a player is holding prone key, but we can't determine in which state he is.
xFire: macmil        e-mail: macekmil@gmail.com
My scripts: Accuracy Script       Flashbang       Punishments GUID
            CatchMe Gamemod       AntiFake
            CW System             AntiFakeGUID

Offline dodo001

  • Major(1)
  • Posts: 15
Re: Script Core Suggestions
« Reply #294 on: October 09, 2014, 12:04:52 pm »
- Add: ReadKey instead of GetKeyPress.
- Add: the ability to download audio files for PlaySound();
- Modification: PlaySound(ID:byte; PositionPlay: bollean; x,y: single, Patch: string); Players download all the sounds that the server found during compilation, the first join on the server.
If PositionPlay true then sound plays in the indicated place else (false) each player hears anywhere - position x, y not subject.

The two features enable the creation of new advanced mods.

Offline XsevenBeta

  • Major(1)
  • Posts: 3
Re: Script Core Suggestions
« Reply #295 on: February 14, 2016, 02:44:03 am »
- Add: ReadKey instead of GetKeyPress.
This will be a realy cool, if we can use more keys instead text command.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #296 on: February 14, 2016, 09:44:28 am »
There's a pitfall in this solution, you don't know where the player has set all his keys, so you might try to detect pressed shift for some power/item usage and for instance I have grenades there.

EDIT: In Last Stand, and TTW, to emulate that behavior we intercept /smoke, /takeoff, /victory and /tabac taunts which are by default bound to Alt + 1-4. In last stand we just write in help "use Alt + 1 to mark the place for an airstrike" and I don't think some people even realize that they are actually using taunts. And if they did change their taunt set, they mostly have enough brain to add ours.
« Last Edit: February 14, 2016, 11:35:16 am by FalconPL »
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline XsevenBeta

  • Major(1)
  • Posts: 3
Re: Script Core Suggestions
« Reply #297 on: February 15, 2016, 04:15:06 am »
Then we need something like that:
Action01, Action02, Action03 ... Action 30

What we will use in script like:
if (GetKeyPress(i, 'Action01') = true)
« Last Edit: February 15, 2016, 04:16:38 am by XsevenBeta »

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Script Core Suggestions
« Reply #298 on: February 15, 2016, 05:06:09 am »
That's a lot of work, plus i'd only confuse new players.  Scriptcore is supposed to be an addition (more or less), not an integral part of Soldat.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline Akinaro

  • Flagrunner
  • ****
  • Posts: 749
Re: Script Core Suggestions
« Reply #299 on: February 15, 2016, 06:01:34 am »
That's a lot of work, plus i'd only confuse new players.  Scriptcore is supposed to be an addition (more or less), not an integral part of Soldat.

"confuse new players"
"confuse new players"
"confuse new players"
"confuse new players"

Im repeating this over and over looking at any other game where you have sometimes 2-3 pages of controls.
Im looking at 10years old kids playing CoD and WoW  where you have menus filled with buttons and controls...
And I seriously think that either you think that soldat players are dumb idiots that barely manage to turn PC on and off, or magically 99% of players today that play any other game that have 3 buttons in menu use it without problem...

ALSO... if in 2016 you telling me that making additional 3 buttons its "lot of work"... Im speechless... the same way that Im speechless reading that setting 30 frames instead of 16 in explosion animaton need few months of planing and work...
« Last Edit: February 15, 2016, 06:03:08 am by Akinaro »