OSP Kit Campaign Camp Entrenchment Kit version 1.3 (update 1/21/10)

Users who are viewing this thread

Tempered said:
The bridge scene still needs loads of work, actually, they all still need loads of work. I've perfected a better ai mesh system to funnel the enemy better, but it has to be painstakingly created one square at a time, by hand. The scene editor has a tendency to lockup on me also, so I lose about 50% of the work I do  :mad:

You could ask Arch3er for a few of his bridge scenes to build on? I think he's gotten that right, never seen anyone drowning in his bridge-battles mod.

EDIT: Hmm, I implemented it through the module system, but when I tried to compile I got this error. Can't post all of it, but it'll give you the general idea of the nature of the error.

EDIT2: Went through everything, and it all seems to be right. I'm using foxyman's Form Ranks formations kit, might that have something to do with the error?

Code:
WARNING: Global variable never used: $key_formation_view_orders
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_all_arrays
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $battle_x_min
WARNING: Global variable never used: $battle_x_max
WARNING: Global variable never used: $battle_y_min
WARNING: Global variable never used: $battle_y_max
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $battle_x_max
WARNING: Global variable never used: $battle_x_max
WARNING: Global variable never used: $battle_x_min
WARNING: Global variable never used: $battle_x_min
WARNING: Global variable never used: $battle_y_max
WARNING: Global variable never used: $battle_y_max
WARNING: Global variable never used: $battle_y_min
WARNING: Global variable never used: $battle_y_min
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_arrays_follow
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $battle_x_min
WARNING: Global variable never used: $battle_y_min
WARNING: Global variable never used: $battle_y_min
WARNING: Global variable never used: $battle_y_max
WARNING: Global variable never used: $battle_x_max
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $formation_temp_vector
WARNING: Global variable never used: $battle_x_max
WARNING: Global variable never used: $battle_x_min
WARNING: Global variable never used: $battle_y_max
WARNING: Global variable never used: $battle_y_min

______________________________

Script processing has ended.
Press any key to exit. . .
 
All of those variables look like they are from another script. Probably Foxyman's form ranks.  I normally see that type of error when I've left out a coma or end bracket. Double check that you've not accidentally overwritten or erased something.
 
This is awesome! I haven't tested it, but I coded a small system for it that makes you waste several hours in fortifying before getting entrenched (It depends on the Engineer skill). It's my habit to touch things and change them :grin:
 
Lumos said:
This is awesome! I haven't tested it, but I coded a small system for it that makes you waste several hours in fortifying before getting entrenched (It depends on the Engineer skill). It's my habit to touch things and change them :grin:

Nice, that was actually on my todo list. I just finished coding for the camp scenes that are not entrenched. Also put in an option to turn off drowning in scenes for people that don't want the feature.
 
gutekfiutek said:
Can you do something similar with caravan battles (some carts and supplies working like barricade?)

That is something that I've wanted to do for awhile now, but I'm not sure I'll have time to do it any time soon. I would like to concentrate on getting the basic entrenchment package finished first and it still has much work to do. The biggest task ahead is getting entrenchment for sieges working and creating good scenes for all encampments.

Adorno said:
I made a video showing most of the scenes (the fine music is by our dear Rejenorst)

Thanks again for the great video, Adorno. I've noted you in the credits.  :grin:

I've made more progress on the kit and a new release should be expected some time within the week. I've finished entrenchment time based on party engineer skill and number of troops in the party. As I have it now, it will take a party with only the player, with an engineer skill of 4, 52 hours to entrench :razz:  A party of 25 with an engineer skill of 4 will take 3 hours. Shortest time possible is 2 hours. Any shorter and it seems instant.

I may start work on art assets, tents and such, next. I've done modeling and texturing for morrowind, but never for M&B, so this may take some time to figure out.
 
Nvm, that was me forgetting a comma. The formation error is still there, though.

Strange, the error disappeared. And got replaced with this.


Here's the line it's referring to, can't see any problem here myself, can you?

#Music,
  (1
  [
      (map_free),
      (call_script, "script_music_set_situation_with_culture", mtf_sit_travel),
    ]),


#TEMPERED ##########################          CHECK FOR NO LONGER ENTRENCHED    ##########################

  (0, [ (eq,"$g_player_icon_state",pis_normal),
(party_set_slot,"p_main_party",slot_party_entrenched,0),
      ]),
#TEMPERED END

 
Interesting! The Ranger's Apprentice may introduce this into its upcoming release if it works with Foxyman's Form Ranks Kit. Unfortunately I haven't got time to test right now.
 
SoTAL said:
Tempered said:
The bridge scene still needs loads of work, actually, they all still need loads of work. I've perfected a better ai mesh system to funnel the enemy better, but it has to be painstakingly created one square at a time, by hand. The scene editor has a tendency to lockup on me also, so I lose about 50% of the work I do  :mad:

You could ask Arch3er for a few of his bridge scenes to build on? I think he's gotten that right, never seen anyone drowning in his bridge-battles mod.
Sure you can use them. One tip: place some invisible AI barriers on strategic places, and make AI meshes thinner than where they actually can walk (so they stay centered).
 
Updated the kit to version 1.1 
It will now require time to entrench based on your engineer skill and how many troops you have. Also added tents for those that asked for them.
I have made new scenes for being attacked while camping but not entrenched.
 
Arch3r said:
SoTAL said:
Tempered said:
The bridge scene still needs loads of work, actually, they all still need loads of work. I've perfected a better ai mesh system to funnel the enemy better, but it has to be painstakingly created one square at a time, by hand. The scene editor has a tendency to lockup on me also, so I lose about 50% of the work I do  :mad:

You could ask Arch3er for a few of his bridge scenes to build on? I think he's gotten that right, never seen anyone drowning in his bridge-battles mod.
Sure you can use them. One tip: place some invisible AI barriers on strategic places, and make AI meshes thinner than where they actually can walk (so they stay centered).

Thanks for the offer, but I really hadn't planned on using anyone elses work. It's all I can do to keep track of the changes I've made  :wink:
 
Wait, so these are not trenches, they are wooden sticks in the ground as a sort of a wall?  I am in the wrong mod topic!
 
By chance is this mod compatible with the mod Lords and Realms 1.505 ? i have only started playing recently and really want to try this with my favorit mod. Looking at instructions i didne figure out how to do this.

Help whould be very appreciated.
 
As long as the mod you are adding it to does not use the same constants or global variables, it should work. The only way to know for sure is to look through the mods source code, or ask the mod maker to implement the entrenchment kit in his mod.
 
Hey tempered

Looking through mod source codes is probaly more than i can deal with as its abit beyond my abilities but im learning all the time from adding mods without auto installs so given some time i might figure it out ( looong time hehe ). I used 2 hours last night but  had no succes with it, i tryed your mod in the native folder that came with the download and most say i think your mod is brilliant as it  gives you the ability to defend properly versus cavalry armies. Ill try and ask the guy behind the Lords and Realms mod to put in your mod if possible. And thanks for taking your time to reply to my post.
 
tbj28 said:
Hey tempered

Looking through mod source codes is probaly more than i can deal with as its abit beyond my abilities but im learning all the time from adding mods without auto installs so given some time i might figure it out ( looong time hehe ). I used 2 hours last night but  had no succes with it, i tryed your mod in the native folder that came with the download and most say i think your mod is brilliant as it  gives you the ability to defend properly versus cavalry armies. Ill try and ask the guy behind the Lords and Realms mod to put in your mod if possible. And thanks for taking your time to reply to my post.

No problem, I do try to answer any questions when I have the time.  It is probably easier to ask by PM, though. That way I'll get an email notification, which I check more often than the taleworlds boards.

Now would be a good time for him to add the kit, if he so desires. I've just updated it to version 1.3.

You could also try my Ranger Company mod, it has the entrenchment kit and a few other nice features in it.
 
Back
Top Bottom