Assuming you are using the Default dats:
To make him start with a subspace radio, insert this at the end of android specialties, in player_races.dat:
Start with radio;//description 3;//specialty 0;//difficulty level none;//message 3;//parameter0 1;//parameter1 0;//parameter2 0;//parameter3 end_specialties;
Insert this at bars.dat. Replace xx and yy to the exact coordinates to where you want the bar. Replace RGB to numbers from 0 to 1 to define the color of the bar.
Reactor;//name 16;//identifier 0;//bar type, 0=normal, 1=show body temperature, 2=show number of items parameter0, 3=show wielded weapon ammo, 4=show armor, 5=show carry weight, 6=show seconds from game start 0;//parameter0 1;//visible (only applicable for player's bars) 1;//visible on enemies 1;//show number 3;//anchor point (0=left top, 1=right top, 2=left bottom, 3=right bottom) -xx;//location x, pixels from anchor point -yy;//location y, pixels from anchor point bar.png;//bar picture none;//background picture 0;//background picture x offset 0;//background picture y offset 0;//background picture width 0;//background picture height 1;//height -200;//length in pixels for maximum (negative = bar increases to left) R;//red color component for minimum G;//green color component for minimum B;//blue color component for minimum R;//red color component for maximum G;//green color component for maximum B;//blue color component for maximum
Then open player_races.dat, find the android section, and at the end of specialties, add: Assuming that you want a reactor bar with a maximum of 100 and min of 0, starting at 100
Reactor Bar;//description 5;//specialty 0;//difficulty level none;//message 16;//parameter0 0;//parameter1 100;//parameter2 100;//parameter3
Unfortunately, I can't seem to figure out how to use the reactor bar to refuel the energy bar, and create conditions to prevent the reactor bar from refuelling the energy bar when the former is empty... Maybe someone more familiarized with the engine may be able to help you out.
|