Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 12:39 am
All times are UTC + 0
Reaperz Questions...
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Oct 08, 2014 11:04 am    Post subject:  Reaperz Questions...
Subject description: this may makes some brain thinks
Reply with quote  Mark this post and the followings unread

Is it possible to make IFV+Engineer auto-repair AI on their base? How to make it?

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Oct 08, 2014 1:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes, just make the AI build one & set it to guard, making it patrol around the base helps too.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Wed Oct 08, 2014 8:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

Since the AI can build TechLevel=-1 units, it's advisable to make give the AI a repair unit which looks like the repair IFV.

It reduces the management issues which can arise if your AI makes lots of teams in a base.

Could also play around with guard dog logic for auto guarding as well.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Wed Oct 08, 2014 8:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

AI only clone with GuardRange=20 (or any other high value) for auto-finding and repairing friendly units in this range/area.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Thu Oct 09, 2014 9:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Wow guys thanks! Very Happy

And also i made a Medic AI, but the medic wont heal their allies, i just made the AI just like you guys suggest, any solves?

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Oct 15, 2014 10:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Seems i have a trouble with my AI

Code:


[DRTF17-G]
Name=4 Cons 2 Flak 2 Shock
0=1,SCOPTER
1=2,E2
2=2,MCONS
3=2,FLAKT
4=2,SHK
Group=-1

[DRSCR15-G]
Name=MilCopter Transport
0=58,131083
1=14,0
2=43,0
3=53,0
4=8,0
5=0,1

[DRTTP25-G]
Name=MilCopter Transport
VeteranLevel=1
MindControlDecision=0
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=<none>
Recruiter=yes
Autocreate=yes
Prebuild=no
Reinforce=no
Droppod=no
UseTransportOrigin=no
Whiner=no
LooseRecruit=yes
Aggressive=no
Suicide=yes
Priority=25
Max=1
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=yes
IonImmune=no
TransportsReturnOnUnload=yes
AreTeamMembersRecruitable=no
IsBaseDefense=no
OnlyTargetHouseEnemy=no
Script=DRSCR15-G
TaskForce=DRTF17-G

DRAI29C-G=MilCopter Transport,DRTTP25-G,<all>,5,0,<none>,0100000003000000000000000000000000000000000000000000000000000000,700.000000,110.000000,700.000000,1,0,2,0,<none>,1,1,1


the AI wont show, whats the problem???

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 15, 2014 1:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

AI Trigger:
0,<none>,0100000003 - means enemy has 1 or more of <none>
changed to - no condition needed to fire this trigger, also weightage raised to 5000 for testing (reduce it later).

DRAI29C-G=MilCopter Transport,DRTTP25-G,<all>,5,-1,<none>,0000000000000000000000000000000000000000000000000000000000000000,5000.000000,110.000000,5000.000000,1,0,2,0,<none>,1,1,1

Make sure SCOPTER has passenger capacity of exactly 8, equal to the number of infantry in taskforce.
Not sure of air transport, but SCOPTER should be on ground to pickup passengers.

Hope DRTTP25-G, DRSCR15-G and DRTF17-G are defined in their lists.

Could use AIEditor:
http://www.ppmsite.com/forum/viewtopic.php?t=38259

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Oct 15, 2014 2:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

cant use Askeladd's version, im still using DC's AIEdit

Note: MCONS is -1 TechLevel unit

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Mon Oct 27, 2014 2:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, how to resize voxel into smaller?

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Tue Oct 28, 2014 11:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Use voxel bounds or transformation matrix. Both are in the voxel header.

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Tue Oct 28, 2014 1:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

thank you Mevitar

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Tue Nov 11, 2014 1:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, i dont know why the AI wont show (again)

Code:
Rules:
[GAWAYP1]
Name=Allied AI Patrol Waypoint 1
TechLevel=-1
Strength=1000
Insignificant=yes
BuildCat=Combat
DontScore=yes
Nominal=yes
Sight=1
ProtectWithWall=no
Prerequisite=GACNST
Adjacent=4
Owner=Alliance,Federation,United,Revolution,Liberation,USSR,League,Arsenal,Headquarters
AIBasePlanningSide=0
Points=0
Capturable=false
Explosion=DUMMY
MaxDebris=0
Crewed=no
Cost=0
TypeImmune=yes
ThreatPosed=0
Armor=special
Capturable=no
Unsellable=yes
LeaveRubble=no
RadarVisible=no
BaseNormal=no
ImmuneToPsionics=yes
AIBuildThis=yes
Image=DUMMY
InvisibleInGame=yes
IsBaseDefense=yes

AI:
[DRTTP35-G]
Name=Allied Patrol Waypoint 1
VeteranLevel=1
MindControlDecision=0
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=<none>
Recruiter=no
Autocreate=yes
Prebuild=no
Reinforce=yes
Droppod=no
UseTransportOrigin=no
Whiner=yes
LooseRecruit=no
Aggressive=yes
Suicide=no
Priority=5
Max=2
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=yes
IsBaseDefense=yes
OnlyTargetHouseEnemy=no
Script=DRSCR16-G
TaskForce=DRTF19-G

[DRSCR16-G]
Name=Patrol Waypoint 1
0=58,445
1=5,8
2=58,197053
3=5,8
4=58,197053
5=5,8
6=6,1

[DRTF19-G]
Name=2 GI, 2 GGI, 1 Dogs
0=2,E1
1=2,GGI
2=1,ADOG
Group=-1

DRAI32C-G=Allied Patrol Waypoint 1,DRTTP35-G,<all>,2,1,GAWAYP01,0100000003000000000000000000000000000000000000000000000000000000,400.000000,200.000000,600.000000,1,0,1,0,<none>,1,1,1

For honest cant figure out why... Maybe someone can help me, please?

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Tue Nov 11, 2014 1:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Is GAWAYP01 ever built? The condition states that it is only built when the Country owns 1 or more GAWAYP01.

Test it by revealing the building to all, give it some dummy testing image to see if the AI actually builds it.

If all that is okay, maybe it could be BaseDefense on the TeamType, IIRC there's a max of those kind of TeamTypes the AI constructs.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Tue Nov 11, 2014 6:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
[GAWAYP1]

Quote:
DRAI32C-G=Allied Patrol Waypoint 1,DRTTP35-G,<all>,2,1,GAWAYP01,0100000003000000000000000000000000000000000000000000000000000000,400.000000,200.000000,600.000000,1,0,1,0,<none>,1,1,1

You forgot something there. #Tongue

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Tue Nov 11, 2014 10:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

RP wrote:
Is GAWAYP01 ever built? The condition states that it is only built when the Country owns 1 or more GAWAYP01.

Test it by revealing the building to all, give it some dummy testing image to see if the AI actually builds it.

If all that is okay, maybe it could be BaseDefense on the TeamType, IIRC there's a max of those kind of TeamTypes the AI constructs.


Well, the AI builds it, but only 1, and i didnt give it BuildLimit 1, and the AI wasnt show. Tested with adding dummy image of NALASR, and how many AI that YR support?

mevitar wrote:
You forgot something there. #Tongue

Oops, my mistake, but the AI still not shown :p

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Nov 12, 2014 7:11 am    Post subject: Reply with quote  Mark this post and the followings unread

Try giving a weapon to GAWAYP1 say Primary= when using IsBaseDefense=yes to get more than 1
for AI.

IsBaseDefense on that would interfere with that side's actual base defenses and the count would
depend on another parameter. As an alternative, could create 3-5 cloned buildings without
IsBaseDefense and change the script accordingly.

When testing AITriggers, it is better to do without conditions first and with high weightage like
5000.000000.

Checkout MaximumAIDefensiveTeams for max on base defense teams.

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Nov 12, 2014 3:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

well, replacing GAWAYP1 to GAPILL (included the script changes) worked, but why on GAWAYP1 wont work??? Was there any tags on the rules that AI wont build them?

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Nov 12, 2014 4:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

AlliedBaseDefenses/AIForcePredictionFudge/AntiXXXValue?

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Wed Nov 12, 2014 9:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

AlliedBaseDefenses=GAPILL,ATESLA,NASAM,GTGCAN,GAGAP,GAWAYP1,GAWAYP2,GAWAYP3,GAWAYP4
AIForcePredictionFudge=70,35,25
AntiInfantryValue=0
AntiArmorValue=0
AntiAirValue=0

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Wed Nov 12, 2014 11:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Did you add it to the building list, or you do also have GAWAYP01 listed there? #Tongue

Also, i don't know how the AI handles InvisibleInGame=yes, if it handles it at all.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Nov 13, 2014 7:10 am    Post subject: Reply with quote  Mark this post and the followings unread

You have to give some value in AntiXXXValue like AntiInfantryValue=25 to GAWAYP1 and balance
it with other base defenses for that side.

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Thu Nov 13, 2014 12:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

still wont work, even i already disabled InvisibleInGame, Insignificant

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1813s ][ Queries: 11 (0.0083s) ][ Debug on ]