PDA

View Full Version : Moving Rangers to barracks


lilmat1
7th Aug 07, 12:19 PM
Hey all.
I thought about being able to build Rangers from the Barracks.
So I looked at the tutorial for Corsix's mod studio.
Things have gone well. Have the icon button in position 6.
This is an Smg team and I will look at a bazooka team in position 7. Now I have two problems...

1. I seem to be missing a .lua file somewhere.
When the squad is produced, only a yellow box appears.
I have had a good look around but no luck.

2. The manpower cost is only 60 and the number for population is 1 and not six. I did find a costing section, but this seems to be the cost of reinforcements.
So I need to find the section to change these.

3.As for the on screen name. That works but I would like to have a different description in the panel that appears when you move your mouse above the unit icon that has some text about the units.

Cheers :beer:

Prowl
7th Aug 07, 6:13 PM
1. you've cocked up somewhere though I don't know how, this is a fairly easy mod to do.

2. did you create a new copy of the ebps for the ranger units? the cost originally is on the ability afaik, not the men, the cost should be number of men x unit cost (from ebps).

3. edit the UCS file and create a new entry for them, then point to the new entry in squad_ui.

lilmat1
7th Aug 07, 11:27 PM
I noticed in the ebps folder, there is ranger.rgd and ranger_leader.rgd
Would I need to modify both of these.
If I do, for the screen name would I have to have the same value for both(number and name)?

weesals
7th Aug 07, 11:31 PM
ebps ucs strings dont matter for squads...you wont need one
Yes you edit both the ranger.rdg and ranger_leader.rgd

lilmat1
8th Aug 07, 1:32 AM
Ok lets see If I understand.
Under ebps, for ranger and ranger team, I do not need to change the ui values.
But in sbps, ranger team, under the ui for screen name, this is where I change the value to change the onscreen name.

Read the above posts and I still have the problem with a missing lua file, where a yellow box appears on screen.

weesals
8th Aug 07, 1:48 AM
The ui stings no u dont needa change....for the sbps which is the SQAUD folder yes you do change the UI stings in there....

lilmat1
8th Aug 07, 2:43 AM
Ok well I have it working.Not sure what I did wrong the first time. A bit of trial and error and all is good.
And I did not even have to change any costing values.
It is manpower 340 and pop 6.
So thanks for the help. :jump: