PDA

View Full Version : Incoming Fighters


brwarner
10-22-2005, 01:42 PM
does anyone know where the module m12ab is. I used the whereami cheat in while fighting the sith fighters on the ebon hawk turret in kotor 1 and it said i was in m12ab yet i didnt see it in kotor tool.

Edit: Never mind I found it.

Edit 2: Anyone good at interpriting pcode i found in the module:

00000008 42 0000006F T 0000006F
0000000D 1E 00 00000008 JSR fn_00000015
00000013 20 00 RETN
00000015 02 03 RSADDI
00000017 04 05 0010 str CONSTS "ebo_num_fighters"
0000002B 05 00 0244 01 ACTION GetGlobalNumber(0244), 01
00000030 04 03 00000001 CONSTI 00000001
00000036 14 20 ADDII
00000038 01 01 FFFFFFF8 0004 CPDOWNSP FFFFFFF8, 0004
00000040 1B 00 FFFFFFFC MOVSP FFFFFFFC
00000046 03 01 FFFFFFFC 0004 CPTOPSP FFFFFFFC, 0004
0000004E 04 05 0010 str CONSTS "ebo_num_fighters"
00000062 05 00 0245 02 ACTION SetGlobalNumber(0245), 02
00000067 1B 00 FFFFFFFC MOVSP FFFFFFFC
0000006D 20 00 RETN

Darkkender
10-22-2005, 03:30 PM
What are you trying to do with the fighters? Are you trying to increase there number or something?

The script looks like it is getting the globalvariable reference of 1 and setting the global variable reference on another line.

brwarner
10-22-2005, 04:04 PM
I wanted to edit there numbers and maybe change it so there are multiple fighter types or they are stronger.

Darkkender
10-22-2005, 04:10 PM
Well if I get a few moments tonight I'll take a look at it with you and see if I can find anything that will help you out.

Darth333
10-22-2005, 05:52 PM
I wanted to edit there numbers and maybe change it so there are multiple fighter types or they are stronger.
I did that in Kotor 1 for the easy turret mod. Too bad PCGM is down :(

You can edit the number of fighters and the hitpoint in the .are file:

Go to minigame>ennemies and the entries speak for themselves :) You can also change the rate of fire, the accuracy, the area of effect.

However, I never tried to add fighters, just remove some of them. Since they follow some specific tracks ( m12ab_mgt01 to m12ab_mgt07 ) I am not too sure if you can add fighters.

TheOssusKeeper
10-22-2005, 06:02 PM
I did that in Kotor 1 for the easy turret mod. Too bad PCGM is down :(

You can edit the number of fighters and the hitpoint in the .are file:

Go to minigame>ennemies and the entries speak for themselves :) You can also change the rate of fire, the accuracy, the area of effect.

However, I never tried to add fighters, just remove some of them. Since they follow some specific tracks ( m12ab_mgt01 to m12ab_mgt07 ) I am not too sure if you can add fighters.

can i edit the turret mini-game in the hanger on peragus 2 the same way?

Scratch Monkey
11-29-2008, 04:50 PM
Since they follow some specific tracks ( m12ab_mgt01 to m12ab_mgt07 ) I am not too sure if you can add fighters.

Sorry for the thread necromancy, but I felt this was worth noting. I have discovered that track m12ab_mgt01 is the track the Ebon Hawk follows; if you try to put a fighter on that track (like I did) it is basically merged with the Ebon Hawk and the gun turret can't hit it, effectively locking the game until you either get killed by the other fighters or kill the game using windows task manager (or MacOS force quit).