Author Topic: *Scripting Thread*  (Read 72108 times)

0 Members and 1 Guest are viewing this topic.

Offline Saxinger

  • Private
  • *
  • Posts: 36
  • Scripter | 3teFK_Rek_Saxinger
    • View Profile
    • Tec-Turorials
  • Nick: Saxinger
  • Side: Neutral
*Scripting Thread*
« on: August 10, 2013, 01:27:33 pm »
I opened this Thread for Script Questions in NW and Mount and Blade. Ask for help or share your scripts here.

Greets Saxinger :)

Offline BSM 'Shut up' Williams

  • First Lieutenant
  • *
  • Posts: 2817
  • Bóg, Honor, Ojczyzna!
    • View Profile
    • My Twitter
  • Nick: Jean Grande
  • Side: Union
Re: *Scripting Thread*
« Reply #1 on: August 10, 2013, 01:30:37 pm »
How would someone add weapons to a different class?

Steam Profile Signature
[close]

Offline Saxinger

  • Private
  • *
  • Posts: 36
  • Scripter | 3teFK_Rek_Saxinger
    • View Profile
    • Tec-Turorials
  • Nick: Saxinger
  • Side: Neutral
Re: *Scripting Thread*
« Reply #2 on: August 10, 2013, 01:32:40 pm »
Hm you mean that the troops spawn with modifiyed weapons? Well you can write a Event in the module_scripts and define the weapons the different troops should spawn with, or you edit the module troops, but then everybody who has to spawn with this added weapons, need your module system :)

Offline Gurkha

  • Donator
  • ***
  • Posts: 2613
  • Former 33rd LtCol
    • View Profile
    • Official 33rd Regiment of Foot Website
  • Nick: Gurkha
  • Side: Union
Re: *Scripting Thread*
« Reply #3 on: August 10, 2013, 01:35:36 pm »
Can anyone tell me how to get the script where if a unauthorised user logs into a server with the admin pass, the server will automatically ban them. I heard that the Groupfighting server has this script installed for their I server and wanted to know how to get it.

Offline Saxinger

  • Private
  • *
  • Posts: 36
  • Scripter | 3teFK_Rek_Saxinger
    • View Profile
    • Tec-Turorials
  • Nick: Saxinger
  • Side: Neutral
Re: *Scripting Thread*
« Reply #4 on: August 10, 2013, 01:44:11 pm »
Hm.what do ya mean with unautorised? Old admins who aren't allowed to be admin anymore? Or general people who got the admin pass from a friend, but they aren't admin?

Offline Gurkha

  • Donator
  • ***
  • Posts: 2613
  • Former 33rd LtCol
    • View Profile
    • Official 33rd Regiment of Foot Website
  • Nick: Gurkha
  • Side: Union
Re: *Scripting Thread*
« Reply #5 on: August 10, 2013, 01:53:53 pm »
When someone random logs on to the server with the admin pass.

Offline Saxinger

  • Private
  • *
  • Posts: 36
  • Scripter | 3teFK_Rek_Saxinger
    • View Profile
    • Tec-Turorials
  • Nick: Saxinger
  • Side: Neutral
Re: *Scripting Thread*
« Reply #6 on: August 10, 2013, 01:57:47 pm »
Hm I don't know where to get a script which do this.  I would write a script which checks the ID of the players who join as a Admin and if the Master Admin didn't marked their ID's as autorised they will be autobanned by the server. First you need to know the ID's of your admins but a Script which gives you their ID's isn't really difficult to write :D Could do this ;)
« Last Edit: August 10, 2013, 01:59:24 pm by Saxinger »

Offline Gurkha

  • Donator
  • ***
  • Posts: 2613
  • Former 33rd LtCol
    • View Profile
    • Official 33rd Regiment of Foot Website
  • Nick: Gurkha
  • Side: Union
Re: *Scripting Thread*
« Reply #7 on: August 10, 2013, 02:02:30 pm »
That's what I meant. ID of admins can just be checked via the server logs.

Offline Saxinger

  • Private
  • *
  • Posts: 36
  • Scripter | 3teFK_Rek_Saxinger
    • View Profile
    • Tec-Turorials
  • Nick: Saxinger
  • Side: Neutral
Re: *Scripting Thread*
« Reply #8 on: August 10, 2013, 02:14:46 pm »
It's not difficult to write a script which stores the ID of a player and show it to a admin. I added in my NW Admin Mod a function with a script of me. You use it like when you want to slay a agent. But in this case it shows you the ID of the player. If anyboy want to have this scripts I would share them :)

Offline El_Presidente

  • Colonel
  • *
  • Posts: 2055
  • David
    • View Profile
  • Side: Neutral
Re: *Scripting Thread*
« Reply #9 on: August 10, 2013, 03:13:13 pm »
He means the system the 91st has on groupfight, if you know that.

Interesting to know how one installs these server plugins...

Offline 32nd_Rct_Schinider

  • Sergeant Major
  • *
  • Posts: 145
  • 32nd_Rct_Schindier At yer service sir!
    • View Profile
  • Nick: 32ndte_Rct_Schinider.5thVa
  • Side: Confederacy
Re: *Scripting Thread*
« Reply #10 on: August 10, 2013, 03:46:59 pm »
I wantted to make a Autofire script so how does one make an autofire script :)

Offline DanyEle

  • FSE Associate
  • ***
  • Posts: 517
  • Sssh! I'm coding, don't disturb :D
    • View Profile
  • Nick: DanyEle
  • Side: Confederacy
Re: *Scripting Thread*
« Reply #11 on: August 10, 2013, 07:04:53 pm »
I'd suggest that you look into my BF2's open source code. We got one perfectly working and i know a few other mods are using it. You can download it from this page

http://forums.taleworlds.com/index.php/topic,257974.0.html



Offline 32nd_Rct_Schinider

  • Sergeant Major
  • *
  • Posts: 145
  • 32nd_Rct_Schindier At yer service sir!
    • View Profile
  • Nick: 32ndte_Rct_Schinider.5thVa
  • Side: Confederacy
Re: *Scripting Thread*
« Reply #12 on: August 10, 2013, 07:50:15 pm »
How do i use this?

Offline jamiecross

  • Sergeant
  • *
  • Posts: 116
    • View Profile
  • Side: Confederacy
Re: *Scripting Thread*
« Reply #13 on: August 10, 2013, 08:01:19 pm »
If I post on this thread then it will get bumped.
End

Offline 32nd_Rct_Schinider

  • Sergeant Major
  • *
  • Posts: 145
  • 32nd_Rct_Schindier At yer service sir!
    • View Profile
  • Nick: 32ndte_Rct_Schinider.5thVa
  • Side: Confederacy
Re: *Scripting Thread*
« Reply #14 on: August 10, 2013, 08:32:31 pm »
Well? Anyone?