IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> Making units attack civilians automatically, Is it possible?
Rampastring
post Dec 20 2007, 04:33 PM
Post #1


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



Okay, I'm having a problem with 1 of my WIP MP maps. I'd like it to have a thing that if the players kill too many civilians, the civilians start attacking the players.

Now, I know how to make that idea. Homever, this is a bit problematic with the AI players since the civilians shoot the AI players and the AI players don't shoot them back.

So, my question is the following: Is it possible to make units and defensive structures automatically shoot civilians when they can (in multilplayer maps)?
And if it is, how?

Btw, if you've played the RA1 map "The Hills Have Eyes", you know what I'm aiming at. wink1.gif

This post has been edited by ^Rampastein: Dec 20 2007, 04:34 PM


--------------------
Go to the top of the page
 
: | +Quote Post
Team Black
post Dec 20 2007, 04:43 PM
Post #2


Core Defender
Group Icon

Group: Global Moderators
Posts: 2,841
Joined: 23-October 06
From: New York, U S of A
Member No.: 123
Alliance: GDI
Favorite game: Tiberian Sun



I would try the "make enemy" trigger, for GDI and Nod houses.. I don't think though that you'd be able to make the civies enemy of everyone.

I know putting 'neutral' though sometimes affects all the houses, I wonder what would happen if you made Neutral make enemy with Neutral hmm.gif


--------------------
Go to the top of the page
 
: | +Quote Post
Rampastring
post Dec 20 2007, 06:29 PM
Post #3


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE (Team Black @ Dec 20 2007, 06:43 PM) *
I would try the "make enemy" trigger, for GDI and Nod houses.. I don't think though that you'd be able to make the civies enemy of everyone.

I know putting 'neutral' though sometimes affects all the houses, I wonder what would happen if you made Neutral make enemy with Neutral hmm.gif

Hmm.. I'll try some haxing like that after I come from school tomorrow.
Btw, the computers and the civs are enemies against each other I think, but in TS the players' (and the AI players') units just don't shoot stuff owned by the "Neutral" house for some reason when they could.

If that doesn't work, I quess I'll try to play with the houses' and sides' keys and see what happens -.-'


--------------------
Go to the top of the page
 
: | +Quote Post
Crimsonum
post Dec 20 2007, 06:30 PM
Post #4


Tick Tank
Group Icon

Group: Members
Posts: 672
Joined: 21-October 06
From: Finland
Member No.: 32
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE (Team Black @ Dec 20 2007, 06:43 PM) *
I would try the "make enemy" trigger, for GDI and Nod houses.. I don't think though that you'd be able to make the civies enemy of everyone.

I know putting 'neutral' though sometimes affects all the houses, I wonder what would happen if you made Neutral make enemy with Neutral hmm.gif


Simple, make an additional civilian house for those purposes.
Go to the top of the page
 
: | +Quote Post
Rampastring
post Dec 20 2007, 06:41 PM
Post #5


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



I tried that already, and i got an IE when I tried it.


--------------------
Go to the top of the page
 
: | +Quote Post
Ixith
post Dec 20 2007, 08:37 PM
Post #6


Cyborg Reaper
Group Icon

Group: Members
Posts: 1,173
Joined: 21-October 06
From: Ohio
Member No.: 27
Alliance: Nod
Favorite game: Tiberian Sun



thats because adding new houses in MP maps is a no no.

My best thought on this would be to do what TB was saying but the only problem with that is that Neutral works in a manner that all players/AIs ally to it but it doesn't ally to them thus neutral will attack though nothing will attack it like you have been experiencing which becomes a problem in TS on a map that is more than 2 players then because if you kill 1 AI all the AIs join together to fight you thus neutral will only attack you unless of course you select Paranoid=no in the rules.ini

However, here comes a greater possible problem....if I am right the trigger to make players attack neutral would mean you would have to set it up and have it say player 0 (being player 1) makes enemy to neutral. Though if that action is anything like the action change house then it will only allow you to select the houses of GDI, NOD, Neutral, and Special. However, I am not 100% sure on that I am just assuming since its the same idea pretty much to the change house action.

I'd suggest trying and if one possibility doesn't work look and find another to try until there are no more possibilities.

ya know......i think we should do an indepth campaign of finding out mapping triggers and stuff....(sure most of them are known however there are many that may confuzzle us still or we may find more interesting use and what not of others....)

This post has been edited by Team Black: Dec 20 2007, 09:34 PM


--------------------
Go to the top of the page
 
: | +Quote Post
Aro
post Dec 20 2007, 09:25 PM
Post #7


Cyborg Commando
Group Icon

Group: Members
Posts: 1,695
Joined: 22-November 06
From: Birmingham, UK
Member No.: 314
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE
However, I am not 100% sure on that I am just assuming since its the same idea pretty much to the change house action.


In skirmish maps, the AI Will not automatically attack civilians, even with the 'Make enemy' trigger.


--------------------
Aro - Leader of Twisted Insurrection and Evolution.

Tiberian Sun: UMP
Tiberian Sun: Modding Tools
Tiberian Sun: Mapping Tools

"Aro is OP." - TiberianFuture
"Aro for Dictator!" - Droke
"Aro for President!" - CL4ymOr3
"You're Aro, you always win." - daTS
"He's referred to as The Aro because he really is that f*cking awesome!" - Fenring
"Only members of the A.R.O. Society are allowed to use :WAT and related terms (TAW:, :BIGV, etc.)." - Crimsonum
"To Aro, founder and leader of TI, the best public relations and mod manager, great friend, modder and mapper." - Lin Kuei Ominae
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Dec 21 2007, 01:35 AM
Post #8


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



Just an idea:
The problem is that civilians are no threat to the AI.
Give all civilian buildings and units an invisible silent dummy weapon that makes only 1 damage and has a slow rate of fire.
Then the civilians attack the AI if one of their units comes near and the AI will strike back and destroy the civilians.

Maybe it's also enough to give every civilian building/unit "SpecialThreatValue=1". Then the AI could recognize them as a threat.


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Rampastring
post Dec 21 2007, 11:36 AM
Post #9


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



Yay, I'm already a disc thrower! dance.gif

That SpecialThreatValue didn't work; but your first idea did.

I gave the civilians a weapon, gave the weapon's warhead "Spread=10000" and when a civilian shot an AI player's unit or building, the AI counterattacked the civilians.

Thanks!


--------------------
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th June 2025 - 06:17 PM


XGhozt.com