• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

subfolders

superdurnius

Corsair
Coordinator
3D Artist
Storm Modeller
Sorry, guys, I can't look at the models/ammo folder... It's a mess.

I tried to add subfolders. after quick testings I had no errors... Here is what I have done:
1. Created 3 subfolders inside models/ammo:
models/ammo/buildings for buildings
models/ammo/sabers for blades, axes etc...
models/ammo/pistols for pistols
2. changed initItems model Id's... Before was "model", now it is "subfolder\model"
"blade1" --> "sabers\blade1"
"pistol1" --> "pistols\pistol1"
"b_barracks" --> "buildings\barracks" (<-- also renamed model by removing "b_")

I'd like to hear opinions about this... Does it have some point/sense?.. Even noting that it won't change game-play? It will give some order or make it even worse?
 
I agree it sounds like a good idea ;)

the b_ buildings are from the building set I think (that is why the name is different)
 
OK, then I'll do everything till tomorrow... Write down every detail I'll make...

Edit: But shouldn't we wait for great dictators permission?
 
Maybe it's a good idea SuperDurnius! (except for the extra work it will cost me) :facepalm
because I now don't even DARE to look into the normal AMMO folder
and that's before you have seen what I have done to it Thomas. :shock:
 
Maybe it's a good idea SuperDurnius! (except for the extra work it will cost me) :facepalm
because I now don't even DARE to look into the normal AMMO folder
and that's before you have seen what I have done to it Thomas. :shock:
You have added some more content to ammo folder, that is not imported into newest alpha?
 
Yes I've added a lot on a very old Build over a period of 3 years. (I didn't want to merge all the time) Weapons, tools, bulding parts and other things. Over 300 files, so you can say they needed to be assorted. :|
 
One more question.

Should I left the balde and pistol model names as they are (blade1, blade2) or change theyr name as they are called ingame (Breadknife)? (note: BladeID won't change, so there will be no quest re-coding)?
 
Only disadvantage with 3 subfolders: If you use a model for both blade and gun item type it has to be doubled.

The folder Textures/Ammo is large too... :cheeky
 
Only disadvantage with 3 subfolders: If you use a model for both blade and gun item type it has to be doubled.

The folder Textures/Ammo is large too... :cheeky
Simply if gun use blade model, model ID will be used as blades id... No double...

And for textures, code is looking for all textures inside ammo folder, so no options here...
 
Maybe I don't get it. I have 2 items: "Bladebottlew4" & "Pistolbottlew4", both using the model "bottle_w4". Which folder to put that model in? :rumgone
 
Probably doesn't matter. Put it in "blade" and reuse that for the gun item. :shrug

For the blade numbers, I don't really care.
Keeping it as-is would probably be easiest.
 
This is actually really easy to do. Open PROGRAM\ITEMS\initItems.c and find:
Code:
bld.model 		= model;
Replace with:
Code:
bld.model 		= "BuildingSet\"+model;
Note that there are two instances: one for interior and one for exterior.
Now move all "b_" and "Field_Cannon" files into a new subfolder in RESOURCE\MODELS\AMMO called "BuildingSet".
Start a new game (or perform a Reinit - that should theoretically be good enough) and you've got a working game with a much cleaner ammo folder.
 
Certainly. It's already included in here:
http://forum.piratesahoy.net//topic/16164-build-14-beta-1-patch-2
 
Back
Top