Jump to content


Photo

Limited ammo and others


  • Please log in to reply
16 replies to this topic

#1 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 29 May 2017 - 01:06 PM

I don't like to create a new topics,but I need help.
 
1) When I use rifle of allied soldiers it has unlimited ammo. Can I change its quantity?
 
2) How can I change diving time for any commando?


#2 extrano1955

extrano1955

    title available

  • Members
  • 669 posts
  • Location:Spain

Posted 29 May 2017 - 01:37 PM

1) Search in the .MIS file of the mission the code of the rifle. Then in 

 

                        .COMPORTAMIENTO 
                        (
                            ComporRifle 
                            [
                             .ALEMANA 1
                             .NUMBALAS 10
                            ]
                        )
 
NUMBALAS = the bullets in the rifle
ALEMANA 1 = Not infinite weapon
 
If you delete 
 
                             .ALEMANA 1
                             .NUMBALAS 10
 
The rifle become infinite
 
2) I dont know how to do that, probably its in comm2.exe


#3 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 30 May 2017 - 05:06 AM

Thank you much.

 

I tried to add this earlier, but it seems like I did something wrong. Will try again.

 

About the second question - may it be in .MAC or .GSC files?



#4 extrano1955

extrano1955

    title available

  • Members
  • 669 posts
  • Location:Spain

Posted 31 May 2017 - 09:09 AM

Thank you much.

 

I tried to add this earlier, but it seems like I did something wrong. Will try again.

 

About the second question - may it be in .MAC or .GSC files?

No, impossible. GSC its for edit the ai of the enemies. And mac its a shortcut for create codes



#5 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 05 June 2017 - 09:47 AM

Can you help me with another problem?

I wish to make rifles taking a seat in backpack not in one slot, but in different (like bottle or knife are).

 

I tried to delete "( MAXMETRALLETASFUSIONABLES INT 10 )" in PARGLOBAL.DAT or change "NumIdates" to "NumTragos" in .mac files, but it doesn't work as I wished.

 

 

And how to change the volume of a backpack (for exampe in "panzer general" mission Green Beret has a smaller backpack than Diver)?


Edited by bubunaker, 05 June 2017 - 12:47 PM.


#6 pyjamasPojken

pyjamasPojken
  • Members
  • 48 posts
  • Location:Sweden

Posted 05 June 2017 - 02:17 PM

You can change the volume of a commandos backpack like this:

		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]

That is the smallest it can get. The best way to do this is to search for .ANIM commandoname and put it under .CONTENEDOR 1.0, like this for example:

                (
                    AnimadorHumano 
                    [
                        .VOL 
                        (
                            Cilindro 
                            [
                                .RADIO 20.0 
                                .ALTURA 50.0 
                            ]
                        )
                        .ANIM FRANCOT.ANI 
                    ]
                )
                .CONTENEDOR  1.0 
		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]                


#7 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 05 June 2017 - 02:30 PM

Thank you. Will try. And what about different slots for rifles. Is it possible?

Edited by bubunaker, 05 June 2017 - 02:31 PM.


#8 pyjamasPojken

pyjamasPojken
  • Members
  • 48 posts
  • Location:Sweden

Posted 05 June 2017 - 03:59 PM

I dont think i understand what you mean.



#9 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 05 June 2017 - 04:47 PM

Well, when I get the weapons from enemies, it takes 4 cells in the backpack. I can put 10 guns in one place in the backpack (in the DP it is limited to one). But when I put bottles or bombs, they occupy different cells. Can I do the same for rifles - carry more than one, but in different cells. Sorry for my bad English :)

#10 MB-2000

MB-2000
  • Members
  • 79 posts

Posted 05 June 2017 - 05:18 PM

Sorry dude, I understand what you mean but sadly that's hardcodded in comm2.exe and you can't do something to solve that (Unless you're a hacker). Actually, it was in the Beta version of the game but they removed it for some unknown reasons.



#11 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 05 June 2017 - 05:22 PM

Only in the demo version of Comm2 you can I think.



#12 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 05 June 2017 - 05:38 PM

So pity. I think it would be more realistic. Where can I find the beta version? Maybe there is something interesting else there.

#13 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 05 June 2017 - 06:25 PM

So pity. I think it would be more realistic. Where can I find the beta version? Maybe there is something interesting else there.

 

https://commandoshq....2MOC/c2demo.exe



#14 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 06 June 2017 - 08:22 AM

 

So pity. I think it would be more realistic. Where can I find the beta version? Maybe there is something interesting else there.

 

https://commandoshq....2MOC/c2demo.exe

 

thank for the link



#15 bubunaker

bubunaker
  • Members
  • 18 posts

Posted 06 June 2017 - 08:39 AM

 

You can change the volume of a commandos backpack like this:

		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]

That is the smallest it can get. The best way to do this is to search for .ANIM commandoname and put it under .CONTENEDOR 1.0, like this for example:

                (
                    AnimadorHumano 
                    [
                        .VOL 
                        (
                            Cilindro 
                            [
                                .RADIO 20.0 
                                .ALTURA 50.0 
                            ]
                        )
                        .ANIM FRANCOT.ANI 
                    ]
                )
                .CONTENEDOR  1.0 
		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]                

I tried write this, but it doesn't depend on numbers.

 

If I write  .GFXCUAD CUADPERR the volume of backpack is always 4x3, if write .GFXCUAD CUADRIC the volume is 4x6. If I delete .GFXCUAD the mission doesn't work.

 

Maybe there are only two alternative - 4х3 cells and 4x6?



#16 pyjamasPojken

pyjamasPojken
  • Members
  • 48 posts
  • Location:Sweden

Posted 06 June 2017 - 09:38 AM

 

 

You can change the volume of a commandos backpack like this:

		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]

That is the smallest it can get. The best way to do this is to search for .ANIM commandoname and put it under .CONTENEDOR 1.0, like this for example:

                (
                    AnimadorHumano 
                    [
                        .VOL 
                        (
                            Cilindro 
                            [
                                .RADIO 20.0 
                                .ALTURA 50.0 
                            ]
                        )
                        .ANIM FRANCOT.ANI 
                    ]
                )
                .CONTENEDOR  1.0 
		.MICUADRICULA
		[
		    .DIMCUADX 4.0
                    .DIMCUADY 3.0
                    .GFXCUAD CUADPERR
                ]                

I tried write this, but it doesn't depend on numbers.

 

If I write  .GFXCUAD CUADPERR the volume of backpack is always 4x3, if write .GFXCUAD CUADRIC the volume is 4x6. If I delete .GFXCUAD the mission doesn't work.

 

Maybe there are only two alternative - 4х3 cells and 4x6?

 

I believe that there are only two alternatives like you said, 4x6 and 4x3.



#17 Darth Kaldie

Darth Kaldie
  • Members
  • 7 posts

Posted 24 October 2017 - 10:47 AM

I don't know wich file and where in the file I must edit it so I can change it to 4x6, can you please let me know what file I should use for this, how to open it and where these changes must be made ?

 

Thnxsss ;)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users