I am sorry I was just congratualiting myself on making changes to one specific script (so I could have m7's and m8's with pilots), didn't mean to imply that the patrol problem would be solved if you do that.BlackRain wrote:Any luck on why they are not attacking while on patrol? So we have to add in M7 and M8's eh? Okay I will try looking into that.
[SCR][X3-TC] Piloten [V2.01] 15.11.2008
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Don't worry I didn't think you were implying that. I know that adding those would not fix the problem, I was just saying that we have to add m7's and m8's to the script. I thought that was already included.
edit---- Okay I looked through the scripts and the problem has to be in the plugin.cpilots.gocombat script. I just can't figure out yet what is the problem but it has to be in this. This handles the enemy combats. I am thinking that in this script something must be wrong.
edit 2--- okay after further investigating it looks like in this script there is a certain line, this particular line:
029 * scan sector for any enemies
030 @ |$priority.enemy = [THIS] -> call script 'plugin.patrol.bas.select.enemy'
I think there is something wrong with this line. For one when I tried to duplicate this line in the script editor, I could not find any script 'plugin.patrol.bas.select.enemy' I think this is why no ships are being determined enemies? What script handles choosing enemies, if we substitue 'plugin.patrol.bas.select.enemy' for another script which picks up enemies then it might fix the problem
edit 3--- Alright! I think I fixed the script! I just spawned some enemies and my patrol attacked and killed them. This was both in the sector and out of sector. I think there are a lot of functions in this script which need to be updated. Anyone want to take on that project? hehe
edit---- Okay I looked through the scripts and the problem has to be in the plugin.cpilots.gocombat script. I just can't figure out yet what is the problem but it has to be in this. This handles the enemy combats. I am thinking that in this script something must be wrong.
edit 2--- okay after further investigating it looks like in this script there is a certain line, this particular line:
029 * scan sector for any enemies
030 @ |$priority.enemy = [THIS] -> call script 'plugin.patrol.bas.select.enemy'
I think there is something wrong with this line. For one when I tried to duplicate this line in the script editor, I could not find any script 'plugin.patrol.bas.select.enemy' I think this is why no ships are being determined enemies? What script handles choosing enemies, if we substitue 'plugin.patrol.bas.select.enemy' for another script which picks up enemies then it might fix the problem
edit 3--- Alright! I think I fixed the script! I just spawned some enemies and my patrol attacked and killed them. This was both in the sector and out of sector. I think there are a lot of functions in this script which need to be updated. Anyone want to take on that project? hehe
Yeah sorry it was late and I had closed the game. I will post a little later what I changed it too.
Ok here it is:
031 @ |$priority.enemy = [THIS] -> call script '!fight.patrol.targeting' :
I am thinking of taking on this script since Onesch isn't updating it but I wanted to know if this was based off of the latest version by Eladan or not. Eladan has given permission to port over his script so it might be better just to do that then continue to fix this one.
Ok here it is:
031 @ |$priority.enemy = [THIS] -> call script '!fight.patrol.targeting' :
I am thinking of taking on this script since Onesch isn't updating it but I wanted to know if this was based off of the latest version by Eladan or not. Eladan has given permission to port over his script so it might be better just to do that then continue to fix this one.
@BlackRain
Finding myself out of country alot lately, so don't have time to do it myself. Sounds brilliant, Eledan's version has different Pilot ranks and such, so I don't think it is. Although I haven't looked at the code. I'd love to see a port of that version. You might want to also try contact RRRoamer as he was last working on the new set of changes / improvements for Task Force composition / threat level handling in that version for X3:R, and was almost finished but got busy in rl. Though, maybe those additional things can be added later.
Let us know how it goes
Finding myself out of country alot lately, so don't have time to do it myself. Sounds brilliant, Eledan's version has different Pilot ranks and such, so I don't think it is. Although I haven't looked at the code. I'd love to see a port of that version. You might want to also try contact RRRoamer as he was last working on the new set of changes / improvements for Task Force composition / threat level handling in that version for X3:R, and was almost finished but got busy in rl. Though, maybe those additional things can be added later.
Let us know how it goes
@ BlackRain
These scripts will be really cool when they get updated. Did you decided if you are going to work on? I've been tinkering around with them a little and have managed to screw them up a lot but not do much else. I hope you are having better luck than me. If you can give us a short update we'd love to hear about your progress.
ViceGrips
These scripts will be really cool when they get updated. Did you decided if you are going to work on? I've been tinkering around with them a little and have managed to screw them up a lot but not do much else. I hope you are having better luck than me. If you can give us a short update we'd love to hear about your progress.
ViceGrips
Well I was able to fix the gocombat script by making the change BlackRain suggested, but am unforunately not able to fix the promotion message .
I followed the pointers kipstafoo made some pages back (in a script called plugin.cpilot.ranksets), but that didn't seem to help..
Can someone please tell me;
- If I'm editing the correct script, and if so
- what I did wrong?
This is the part I have now;
Nag.
I followed the pointers kipstafoo made some pages back (in a script called plugin.cpilot.ranksets), but that didn't seem to help..
Can someone please tell me;
- If I'm editing the correct script, and if so
- what I did wrong?
This is the part I have now;
Many thanks!074 if $ispromoted == 1
075 |$craft -> set local variable: name='crank' value=$rank
076 @ |$pilot = $craft -> call script 'plugin.cpilot.getname' : ship=$craft Pilot Rank=$rank
077 |$pilotname = $craft -> get local variable: name='cpilotname'
078 |$ShipName = $craft -> get ware type code of object
079 |write to player logbook: printf: pageid=8069 textid=1088, $pilotname, $pilot, $ShipName, null, null
080 |play sample: incoming transmission [IncomingTransmission.Message], from object null
081 end
Nag.
@nagger: This is from my revised script file:
if $ispromoted == 1
$craft->set local variable: name='crank' value=$rank
$pilot = $craft->call script 'plugin.cpilot.getname' : ship=$craft rank=$rank
$pilotname = $craft->get local variable: name='cpilotname'
$ShipName = $craft->get ware type code of object
write to player logbook: printf: pageid=8069 textid=1088, $pilotname, $pilot, $ShipName, null, null
play sample: incoming transmission [IncomingTransmission.Message], from object null
end
if $ispromoted == 1
$craft->set local variable: name='crank' value=$rank
$pilot = $craft->call script 'plugin.cpilot.getname' : ship=$craft rank=$rank
$pilotname = $craft->get local variable: name='cpilotname'
$ShipName = $craft->get ware type code of object
write to player logbook: printf: pageid=8069 textid=1088, $pilotname, $pilot, $ShipName, null, null
play sample: incoming transmission [IncomingTransmission.Message], from object null
end
I have downloaded and begun testing this script. Is this script still being worked on or is it now merged or updated into a new one? Also is it similar to CODEA? The reason I got this script is because im not sure if CODEA is just adding pilots for role play or if they actually increase in combat effectiveness with xp like this one does. Anyone know which is best to be using? All I is AI pilots who increase in actual combat and flight skills as they get higher in rank. The last post was in jul 2009 so maybe im just talking to myself in here
This one died before the other Terracorp fleet you posted in.
Surely it would have made more sense to post a question in the very active CODEA thread rather than necroing two dead threads. As it tells you on the first page of the CODEA thread pilots have different ranks, as they increase in rank they increase in skill (and engine/rudder tunings). When they hit lieutenant they have maxed fight skill.
http://forum.egosoft.com/viewtopic.php?t=259730
Surely it would have made more sense to post a question in the very active CODEA thread rather than necroing two dead threads. As it tells you on the first page of the CODEA thread pilots have different ranks, as they increase in rank they increase in skill (and engine/rudder tunings). When they hit lieutenant they have maxed fight skill.
http://forum.egosoft.com/viewtopic.php?t=259730
I'll play with the dead thing still! Codea is great and all for it's suited purpose, but I have been using TerraCorp's fleets since Reunion came out and was much more "connected" with my fleets and cared about what happened to them.
Is this updating to be usable for Terran Conflict and Albion? After getting the new release of X Rebirth, I have huddled into a corner and took a step back to something more sandbox loving and less console FPS. I see alot of chatter here and there, but it's like noone has stated for sure how to get this working or if it works for Terran Conflict and Albion. Thanks for all the time you guys have put into these wonderful scripts and the gaming community! We may not always post it, but we appreciate you all lots!
Is this updating to be usable for Terran Conflict and Albion? After getting the new release of X Rebirth, I have huddled into a corner and took a step back to something more sandbox loving and less console FPS. I see alot of chatter here and there, but it's like noone has stated for sure how to get this working or if it works for Terran Conflict and Albion. Thanks for all the time you guys have put into these wonderful scripts and the gaming community! We may not always post it, but we appreciate you all lots!
-
- Posts: 65
- Joined: Mon, 4. Feb 08, 23:52