Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Need some help if possible
Need some help if possible[message #258935] Mon, 09 August 2010 20:54 Go to next message
dravak is currently offline dravak

 
Messages:38
Registered:August 2010
Ok since i really hate admitting defeat , so i brush trough the source code >.< .

Now how do i activate in TACTICAL NUMBER_OF_SOLDIERS_PER_SQUAD into the .ini

Since thats a base reference to the game engine itself .
Some coders able to help with that ?

OR some explanations , about the source code , does this means modifying Squad H and C from the source code .

(sorry way way noobishe i feel , totally out of practise)

Report message to a moderator

Private 1st Class
Re: Need some help if possible[message #258936] Mon, 09 August 2010 21:09 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
I'm really no expert, but you should have a look at gamesettings.h and .cpp, that's the place where all ini settings are read. Probably also should have a look at wherever that variable was initialized before or it will likely override your setting.

So you're trying to implement 10 merc squads?

Report message to a moderator

Captain

Re: Need some help if possible[message #258937] Mon, 09 August 2010 21:17 Go to previous messageGo to next message
dravak is currently offline dravak

 
Messages:38
Registered:August 2010
Thank you for the fast reply Smile

so found the source code string for altering the number of soldiers per squad .

Its in squad.h source code

// header for squad management system
#define NUMBER_OF_SOLDIERS_PER_SQUAD 6

So basically change that to 10 and use SLF extractor on zuxxex wildfire 6.04 lower bottom bar.sli . and lower button bar.ski (that needs to be renamed and sli placed at -51 X)
Gives people in JAG 2 v1.13 the choice of 10 soldiers per squad (Without having to do all the graphic work)
Or am i wrong in it ? needs to modify more ?

Somebody able to do that ? without corrupting the rest of the game ?
Come on smeagol the credit is all yours if you want , i just want a 10 squad option Smile
Before i go too deep and start messing around too much , and cant get out .

Report message to a moderator

Private 1st Class
Re: Need some help if possible[message #258938] Mon, 09 August 2010 21:22 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Try and see if it works.
As far as I know, no one else is working actively on this, so experiment a bit and see what happens.

Report message to a moderator

Captain

Re: Need some help if possible[message #258939] Mon, 09 August 2010 21:30 Go to previous messageGo to next message
dravak is currently offline dravak

 
Messages:38
Registered:August 2010
>.< i wish i had a compiler here (not that i cannot download it ) , and honestly i am Sad scared to get addicted , once i open up a gate , there is no way back.

I start altering way too much that it totally ruins a game .
Maybe shanga or others wants to take the credit .

Ah well will try the easy lazy way of LUA init editing , see if that can work Smile


Report message to a moderator

Private 1st Class
Re: Need some help if possible[message #258942] Mon, 09 August 2010 21:54 Go to previous message
dravak is currently offline dravak

 
Messages:38
Registered:August 2010
nope seems my coding skills sucks .

my inittactical.lua doesn

Report message to a moderator

Private 1st Class
Previous Topic: Extracting Merc quotes
Next Topic: How do you change the talking heads for the IMP mercs?
Goto Forum:
  


Current Time: Fri Mar 29 07:38:17 GMT+2 2024

Total time taken to generate the page: 0.00947 seconds