Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » UB weapons/items for Stracciatella
UB weapons/items for Stracciatella[message #250282] Sun, 25 April 2010 16:50 Go to next message
bbun is currently offline bbun

 
Messages:74
Registered:April 2004
Location: Amsterdam
Could anyone share his idea's with me...

How much work would it be to add all UB items (weapons, armor, attachments, etc...) to Stracciatella?
Which are the things to think of, and the steps to follow?

Report message to a moderator

Corporal
Re: UB weapons/items for Stracciatella[message #250283] Sun, 25 April 2010 16:52 Go to previous messageGo to next message
Logisteric

 
Messages:3199
Registered:December 2008
Location: B
is the vanilla items-limit still in stracciatella?

Report message to a moderator

Captain
Re: UB weapons/items for Stracciatella[message #250301] Sun, 25 April 2010 21:13 Go to previous messageGo to next message
bbun is currently offline bbun

 
Messages:74
Registered:April 2004
Location: Amsterdam
I didn't know vanilla came with an items-limit..? Wouldn't know if it's been removed. Considering stracciatella is basically vanilla, I assume it's still there.

Report message to a moderator

Corporal
Re: UB weapons/items for Stracciatella[message #250304] Sun, 25 April 2010 21:34 Go to previous messageGo to next message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
More importantly, items are still hardcoded in stracciatella. That includes item drop chances, their availability at BR, merges, attachments and graphics.

As for steps, you'd need to provide the graphics in .sti, the stats and the sounds, then find a coder who would add the guns to the game. Or try doing it yourself - it's not very difficult, basically changing some numbers and text to put the gun in a blank item spot - no actual coding required.

Report message to a moderator

Master Sergeant
Re: UB weapons/items for Stracciatella[message #250414] Mon, 26 April 2010 23:46 Go to previous messageGo to next message
bbun is currently offline bbun

 
Messages:74
Registered:April 2004
Location: Amsterdam
Adding new items to the code shouldn't be a problem, although some pointers would be helpful.

Basically, you say that the blank items spots will suffice for the number of new items from UB, The Bob?

And what about the graphics, stats, and sounds? Can't I simply use the datafiles from UB, as they come? - or would I need to do some preprocessing?

Report message to a moderator

Corporal
Re: UB weapons/items for Stracciatella[message #250436] Tue, 27 April 2010 06:39 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2021
Registered:January 2003
Location: Australia :D
You can use the gfx and sounds straight from UB, though you would have to have the same structure as the other items to define the correct numbers for the images Smile

Report message to a moderator

Lieutenant

Re: UB weapons/items for Stracciatella[message #250484] Tue, 27 April 2010 20:30 Go to previous message
The_Bob is currently offline The_Bob

 
Messages:415
Registered:May 2009
Location: Behind you.
It would take a rather lengthy guide to explain the process of adding weapons to stracciatella, so I'll just say that the change will be limited to finding, understanding and modifying several tables in the items.cc and weapons.cc files. The most important things to remember are to keep the table size constant and never skip any commas. Although changing the size is possible, it will probably invalidate previous save games and may require more work then it is worth.

As for sounds and graphics, you'll have to figure out where to put the files you extract from UB and then point to them when adding the guns to the tables in the source files - for example putting 32 in the gun graphics index will make the game look for a file data/bigitems/GUN32.sti. Or at least thats my best guess, I never actually tried it.

Report message to a moderator

Master Sergeant
Previous Topic: Stracciatella Gun Pack
Next Topic: Test Drive Stracciatella for Windows
Goto Forum:
  


Current Time: Sat Jan 25 22:12:09 GMT+2 2025

Total time taken to generate the page: 0.00843 seconds