AI Competetors : Removal Update
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2165
- Joined: Tue, 2. Dec 03, 09:28
LV, can you give a rough guide on how I can restrict the number of names to use, and the naming convention of the spawned ships?
I would like to change the names to people I know and the script uses only those names, as well as change the way the ships are named. Currently the ships are named exactly as the name of the competitor which is kinda ugly.
TIA!
I would like to change the names to people I know and the script uses only those names, as well as change the way the ships are named. Currently the ships are named exactly as the name of the competitor which is kinda ugly.
TIA!
-
- Posts: 1212
- Joined: Thu, 15. Jun 06, 08:08
-
- Posts: 3
- Joined: Sun, 17. Dec 06, 22:21
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
Just set it to offSesk wrote: BTW whats the Gameplay entry, ive only got 'Enable AL Players', i saw 'AL Competitors' a few times before but it disapeared from the Ai menu...

quickest way is to edit the 447000 t file to remove the names you dont like and put something in thier placearcana75 wrote:LV, can you give a rough guide on how I can restrict the number of names to use, !
look in the 448823 t fileStar_Raider15 wrote:one question wot is the rank of an AI competitors corporation(like republic, meerchants)?
1(min) is Local Trading
15(max) is Republic
yes it doesraggnarok wrote:Could someone host a mirror for a .spk file of this script? The link in the first post doesn't work

LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
-
- Posts: 441
- Joined: Fri, 17. Nov 06, 21:09
-
- Posts: 2165
- Joined: Tue, 2. Dec 03, 09:28
Probably a random number generator inside the AI creation script. That means two changes, the t file and the naming script.Sesk wrote:Removing names in 447000 t file doesn't go well, it seems that there is a line count somewhere, i thought it was the line id 999 but still changing that to the total changed line count will give ReadText errors
-
- Posts: 594
- Joined: Fri, 6. Jan 06, 01:38
Yes, the script plugin.handymen.setup.ships has $rfn = random number function on line 78 that just uses a static value. It doesn't get it from the text file or anything.arcana75 wrote:Probably a random number generator inside the AI creation script. That means two changes, the t file and the naming script.Sesk wrote:Removing names in 447000 t file doesn't go well, it seems that there is a line count somewhere, i thought it was the line id 999 but still changing that to the total changed line count will give ReadText errors
Here is a edited version of this script which reads from page 7000 id 999 to get the "end of names" number. So you can just edit t/7000.xml with new / removed names and then change the number on line 999. The relevant section of code w/ my changes:
Code: Select all
078 * Edit - added reading end-of-file number for names from text page 7000
079 $textmaxnames= read text: page=7000 id=999
080 $textmaxnames= string $textmaxnames to integer
081 $textmaxnames=$textmaxnames + 1
082 $rfn= = random value from 20 to $textmaxnames - 1
083 * End of edit - PDP 1.8.2007 (Klyith)
084 $fname=sprintf: pageid=7000 textid=$rfn, $anull, null, null, null, null
(LV: If you don't want me putting out a modified version of your script, tell me & I'll remove it. If you want to put it into your official package, go ahead.)
-
- Posts: 90
- Joined: Wed, 4. Oct 06, 02:56
I don't no if this is answered somewhere but i havnt found it so ill ask. Is there another way to recognize the competitors ships other than their names(smiley-???
wtf) because if im to ever kill him i kinda need to no where he is.

I bet you $25 that im greedier than you and ill prove it to you in 5 languages:
English: I love Money
Spanish: Amo el dinero
French: J'aime l'argent
German: Ich liebe Geld
Russian: Я люблю деньг
Now you owe me $25
English: I love Money
Spanish: Amo el dinero
French: J'aime l'argent
German: Ich liebe Geld
Russian: Я люблю деньг
Now you owe me $25
-
- Posts: 86
- Joined: Mon, 5. Jul 04, 15:23
-
- Posts: 818
- Joined: Sat, 10. Dec 05, 13:30
Hey LV I have an idea for you that is based on this script set.
How about having somthing simular 2 this but for the player. You buy an autotrading robot for 1 of your ships, and off it goes building an empire for you. Uses players funds (Like an UT) for trading ect.
How about having somthing simular 2 this but for the player. You buy an autotrading robot for 1 of your ships, and off it goes building an empire for you. Uses players funds (Like an UT) for trading ect.
Last edited by Aragon Speed on Mon, 5. Mar 07, 16:46, edited 1 time in total.
-
- Posts: 90
- Joined: Wed, 4. Oct 06, 02:56
dont remember a differnt color but then again i was busy escorting a couple capped ships w/ pirates still in sector so i wasnt really paying attention to it so thx and ill keep an eye out for him/her/it.
I bet you $25 that im greedier than you and ill prove it to you in 5 languages:
English: I love Money
Spanish: Amo el dinero
French: J'aime l'argent
German: Ich liebe Geld
Russian: Я люблю деньг
Now you owe me $25
English: I love Money
Spanish: Amo el dinero
French: J'aime l'argent
German: Ich liebe Geld
Russian: Я люблю деньг
Now you owe me $25
-
- Posts: 51
- Joined: Tue, 27. Dec 05, 08:47
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
yes they do, but only after they reach LV2
LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
-
- Posts: 324
- Joined: Wed, 20. Oct 04, 10:34
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
-
- Posts: 818
- Joined: Sat, 10. Dec 05, 13:30
-
- Posts: 47
- Joined: Sat, 2. Sep 06, 14:34
@LV
...great idea this script.
(sry for my bad english)
i´ve some questions:
1. why the competitors build more tp´s as there define in the .handymen.com.scan (have make some tests for this)
- the same for the stations
2. some "fighter" go on w/o the planned script.
3. i´ve notice some freece. U know why?
...i know this script is BETA. But i want it!!!
i hope u work on it goes on.
Thx for INFO
...great idea this script.
(sry for my bad english)
i´ve some questions:
1. why the competitors build more tp´s as there define in the .handymen.com.scan (have make some tests for this)
- the same for the stations
2. some "fighter" go on w/o the planned script.
3. i´ve notice some freece. U know why?
...i know this script is BETA. But i want it!!!
i hope u work on it goes on.
Thx for INFO
Sprungantrieb? ...neinDanke...
Gleichberechtigung im Uni (nocheat) ichbittedrum...
>> NEW DiMENSiONS <<
...Hoffnung naht
Gleichberechtigung im Uni (nocheat) ichbittedrum...
>> NEW DiMENSiONS <<
...Hoffnung naht
-
- Posts: 233
- Joined: Tue, 29. Nov 05, 04:03
Having read through the entire topic I'm no longer 100% sure... does fighting with the other companies go towards hurting race reputation?
Logically I'd rather it not, since I don't think they'd pay a similar price when fighting me. I can imagine them attacking my forces, my forces killing them in defense, and me losing reputation because of it. Self defense!
Once I regain the empire I lost when my laptop crashed I'll probably try this out first hand.
Logically I'd rather it not, since I don't think they'd pay a similar price when fighting me. I can imagine them attacking my forces, my forces killing them in defense, and me losing reputation because of it. Self defense!

Once I regain the empire I lost when my laptop crashed I'll probably try this out first hand.
-
- Posts: 324
- Joined: Wed, 20. Oct 04, 10:34
I have checked again, There is only a summary of my company value and number of stations and ships.LV wrote:check the BBS, i'm sure a global update is on there defining their current worth (maybe i never implemented it) if not let me know as i'm just finishing up RRF and TH so AIC can be next
Could you please include this feature? It would be grand if I could follow the progress of my competitors.
Thx,
