How do I assign each team their equipment?
|
Hawkzfan |
Posted on 14-01-2011 15:43
|
Amateur
Posts: 20
Joined: 26-01-2008
PCM$: 200.00
|
Hi guys,
I think the header of my post tells all...
I have added two teams to my DB via RSM Full Editor and now I want, that these teams take the correct equipment, if cpu controls them in game!
P.S: I have searched in the forum, but I don´t find any relevant topic to this...
Greets
Hawkzfan |
|
|
|
Lachi |
Posted on 14-01-2011 16:52
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
Just look how it is done with the other teams. The names of the tables all start with STA_equipment.
If you want to know how to add equipment which is not in the DB yet, then you should look in the graphics thread. |
|
|
|
redlion1987 |
Posted on 14-01-2011 17:24
|
Stagiare
Posts: 159
Joined: 12-03-2009
PCM$: 200.00
|
https://www.pcmdai...rowstart=0
here is a tutorial made by fenian_1234 |
|
|
|
Hawkzfan |
Posted on 15-01-2011 07:55
|
Amateur
Posts: 20
Joined: 26-01-2008
PCM$: 200.00
|
thx for your posts, but my problem is not adding equipment generally. my problem is to assign a specific frame for example "Pinarello Caisse" to Caisse´dEpargne.
In my DB, Caisse chooses every Pinarello frame.
I want to know the trick of the PCMdaily database, that the teams choose every time the same equipment!
BIG THX!
Hawkzfan |
|
|
|
fenian_1234 |
Posted on 15-01-2011 10:16
|
Grand Tour Specialist
Posts: 4790
Joined: 06-12-2006
PCM$: 200.00
|
Hawkzfan wrote:I want to know the trick of the PCMdaily database, that the teams choose every time the same equipment!
Open up the PCM daily DB in an editor and it should be pretty obvious.
Spoiler If yout want a team to ride a specific frame add a separate entry for the marque in STA_Equipment. |
|
|
|
Hawkzfan |
Posted on 15-01-2011 12:35
|
Amateur
Posts: 20
Joined: 26-01-2008
PCM$: 200.00
|
Ok thx, I get that point! But if I add a seperate marque in the STA_equipment_marque I see another categorie in the equipment menu...
In the PCM.daily DB, I often find non-existing IDs for marques in the equipment table.
So I thought, that´s the solution for avoiding new entries in the equipment menu!
But if i do it in this way, the teams start again choosing their equipment from different brands.
Greets
Hawkzfan |
|
|
|
CrueTrue |
Posted on 15-01-2011 16:52
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
No one told you to add a new marque in STA_equipment_marque.
You have to add the number in STA_equipment in the column that says something with 'marque'.
So, add a new line, copy the contents from the lines of the equipment that you want, but change the marque. |
|
|
|
Hawkzfan |
Posted on 17-01-2011 18:36
|
Amateur
Posts: 20
Joined: 26-01-2008
PCM$: 200.00
|
CrueTrue wrote:
No one told you to add a new marque in STA_equipment_marque.
You have to add the number in STA_equipment in the column that says something with 'marque'.
So, add a new line, copy the contents from the lines of the equipment that you want, but change the marque.
Thx for your instructions!
I test it a few minutes ago and still the teams seems to choose their equipment by random.
To shorten this, I take a screenshot...
Big THX!
Hawkzfan |
|
|
|
Hawkzfan |
Posted on 17-01-2011 19:39
|
Amateur
Posts: 20
Joined: 26-01-2008
PCM$: 200.00
|
ok, I get the solution...
The last id found in the PCM daily DB is 127. That´s because Cyanide offers only 1 Byte for the marque value. So it´s not possible to give a higher ID than 127. (possibile values 0-127!)
Nevertheless, big THX for your support!!!
Greets
Hawkzfan |
|
|
|
Ad Bot |
Posted on 24-11-2024 15:40
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
CrueTrue |
Posted on 17-01-2011 20:54
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
I'm glad you worked it out
It's not the most simple system in the world, unfortunately, but there's not really any other ways to make it work properly. |
|
|