Author Topic: [Code][Kit] Arch3r OS: Invasion mode Open Source scripts - Updated codes *needs some fixes*  (Read 15401 times)

0 Members and 1 Guest are viewing this topic.

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Originally made for The Battle for Calradia, I decided to make them open source. These scripts give your mod a new gamemode, called Invasion. In this gamemode the key is to survive as long as possible against hordes of bots.
Thread of the original mod: http://forums.taleworlds.com/index.php/topic,100090.0.html

Altered files:
-----------------------------------------------------------------------
Header_commons

(click to show/hide)
-----------------------------------------------------------------------
Header_troops

(click to show/hide)
-----------------------------------------------------------------------
Module_constants

(click to show/hide)
-----------------------------------------------------------------------
Module_factions

(click to show/hide)
-----------------------------------------------------------------------

Module_mission_templates
(click to show/hide)
-------

See the following post for the rest:
« Last Edit: November 10, 2010, 08:48:55 PM by Arch3r »

I am Space Khergit, and above pyramids.

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Invasion mode Open Source scripts (Warband)
« Reply #1 on: May 03, 2010, 03:38:17 PM »
Download the following .rar, it contains the maps and a text file. Link: http://www.filefront.com/16353753/invasion.rar
NEW UPDATED CODE, REPLACED THE TXT IN THE RAR: http://www.mediafire.com/?rma6vmrkd2uafeh

The invasion_code.txt file contains the code for the actual gamemode.
Reason for this is that it didn't fit in a post, due to the 40000 character-limit.

Search for:
Code: [Select]
  (
"bandit_lair",mtf_battle_mode,charge,
    "Ambushing a bandit lair",
Add above that the gamemode code in the .txt (warning, huge!):

« Last Edit: July 23, 2010, 06:32:51 PM by Arch3r »

I am Space Khergit, and above pyramids.

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Invasion mode Open Source scripts (Warband)
« Reply #2 on: May 03, 2010, 03:42:58 PM »
--------------------------------------------------------------------
Module_presentations

(click to show/hide)
--------------------------------------------------------------------
Module_scenes

(click to show/hide)
--------------------------------------------------------------------
Module_strings

Search for:
Code: [Select]
  ("multi_scene_15", "Random Steppe (Large)"),
Add under that:
Code: [Select]
##tBfC The Battle for Calradia##
  ("tbfc_invasion_1", "Pass of Thermopylae"),
  ("tbfc_invasion_2", "The Countryside"),
  ("tbfc_invasion_3", "The Hill"),
  ("tbfc_invasion_4", "Deep Forest"),
  ("tbfc_invasion_5", "The Castle"),
  ("tbfc_invasion_6", "Dungeons"),
  ("tbfc_invasion_7", "The Pit"),
  ("tbfc_invasion_8", "Helms Deep"),
  ("tbfc_invasion_9", "The Island"),

##tBfC The Battle for Calradia##

Search for:
Code: [Select]
  ("multi_game_type_7", "Siege"),
Add under that:
Code: [Select]
  ("multi_game_type_8", "Invasion"), ##tBfC


--------------------------------------------------------------------
Module_scripts
(click to show/hide)
--------------------------------------------------------------------------------
Module_troops

(click to show/hide)
« Last Edit: June 16, 2010, 04:00:15 PM by Arch3r »

I am Space Khergit, and above pyramids.

GetAssista

  • Grandmaster Knight
  • *
  • TLD corovan robber
    • View Profile
  • Faction: Neutral
  • M&BWF&S
Re: Invasion mode Open Source scripts (Warband)
« Reply #3 on: May 04, 2010, 11:22:02 AM »
Thanks a lot, Arch3r!

Would be a huge help with Khazad-Dum, which would have basically same spawn-bots-repeat game process. It's so much easier to modify what's already working and leaves more time to tinkering with new features :)

Aleczacool

  • Master Knight
  • *
  • For the craftworld!
    • View Profile
    • My website!
  • Faction: Neutral
  • MP nick: Aleczacool
  • M&BWBWF&S
Re: Invasion mode Open Source scripts (Warband)
« Reply #4 on: May 04, 2010, 11:30:16 AM »
Thank you!

I'll be adding this to Oceania ASAP!

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #5 on: May 04, 2010, 12:09:23 PM »
Glad to be of help :).
« Last Edit: May 04, 2010, 12:21:26 PM by Arch3r »

I am Space Khergit, and above pyramids.

Acid-NN-9

  • Sergeant
  • *
  • Of course! i´m...
    • View Profile
  • Faction: Neutral
  • MP nick: Markés
  • M&BWBWF&S
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #6 on: May 04, 2010, 12:52:09 PM »
Please you can give the code (and a little steps) for make health boxes like in you mod?

Aleczacool

  • Master Knight
  • *
  • For the craftworld!
    • View Profile
    • My website!
  • Faction: Neutral
  • MP nick: Aleczacool
  • M&BWBWF&S
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #7 on: May 04, 2010, 12:56:39 PM »
Where does the gametype invasion code go?

I've searched
Code: [Select]
 
(
"bandit_lair",mtf_battle_mode,charge,
    "Ambushing a bandit lair",

And I don't find anything.

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #8 on: May 04, 2010, 02:58:19 PM »
Under the whole multiplayer_bt (Battle mode) code. find
Code: [Select]
"multiplayer_bt" and scroll down until you find bandit_lair. Than place it above that.

I am Space Khergit, and above pyramids.

Acid-NN-9

  • Sergeant
  • *
  • Of course! i´m...
    • View Profile
  • Faction: Neutral
  • MP nick: Markés
  • M&BWBWF&S
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #9 on: May 04, 2010, 02:59:31 PM »
Please you can give the code (and a little steps) for make health boxes like in you mod?
Please i need it, its very cool  :wink:

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #10 on: May 04, 2010, 03:07:14 PM »
Please you can give the code (and a little steps) for make health boxes like in you mod?
Please i need it, its very cool  :wink:
Sure, let me make a new thread for that.

done: http://forums.taleworlds.com/index.php/topic,112677.0.html
« Last Edit: May 04, 2010, 03:11:37 PM by Arch3r »

I am Space Khergit, and above pyramids.

Acid-NN-9

  • Sergeant
  • *
  • Of course! i´m...
    • View Profile
  • Faction: Neutral
  • MP nick: Markés
  • M&BWBWF&S
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #11 on: May 04, 2010, 03:14:49 PM »
WOW!!!! thanks! you´re a machine!

Snutze

  • Sergeant
  • *
    • View Profile
  • Faction: Neutral
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #12 on: May 10, 2010, 09:57:00 PM »
Please you can give the code (and a little steps) for make health boxes like in you mod?
Please i need it, its very cool  :wink:
Sure, let me make a new thread for that.

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


I have a question for you !! Would these code be editable to make them *standard* what I mean is lets say I add a option to the trainer in the training field  that say Survival then when I click it you pop on the field and basicly its your invasion mod. Would that be possible to make that a feature of the regular game ?

Arch3r

  • Grandmaster Knight
  • *
  • >:I
    • View Profile
  • Faction: Rhodok
  • MP nick: CoR_Arch3r
  • M&BWBNW
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #13 on: May 12, 2010, 11:49:35 AM »
Possible yes, but I'm not going to code that.

I am Space Khergit, and above pyramids.

Airith

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Rhodok
  • MP nick: Airith_ATS aka Solanar_ATS
  • M&BWBWF&SNW
Re: Arch3r OS: Invasion mode Open Source scripts (Warband)
« Reply #14 on: May 13, 2010, 07:14:59 AM »
hey arch3r, i've been looking at your code but i still can't figure out how to get the gun sound to occur. i gave up and used the normal play sound, but of course it only works for the person firing it. i was wondering if you could tell me how?  :wink:

I followed the multiplayer sound container to header_common and the module_scripts files but it does not seem to work for me.
And our time is flyin,' see the candle burnin' low
Is the new world rising, from the shambles of the old
~The Rover - Led Zeppelin