Go Back   Codemasters Forums > Action, RPG and Strategy Games > Operation Flashpoint: Dragon Rising > English > Operation Flashpoint: Dragon Rising - Mission Editing and Modding Chat Zone
Sign In
Register on CodeM

Operation Flashpoint: Dragon Rising - Mission Editing and Modding Chat Zone A little area for all you mission editors and modders to chat and discuss ideas.

Reply
 
LinkBack Thread Tools Display Modes
Old 31-10-2009, 09:59 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 11
Default AI deploying mines and demo charges

Does anyone know a script to command the AI to place and detonate demo charges and lay mines? Can't seem to find a command for it.

Thanks.
Sumkum is offline   Reply With Quote
Old 31-10-2009, 10:15 PM   #2 (permalink)
Senior Member
 
Join Date: Oct 2009
Posts: 300
Default

Me too I would love to find a way to get the AI engineers to lay demo charges, scripted or non.
RIKKI_B is offline   Reply With Quote
Old 31-10-2009, 10:30 PM   #3 (permalink)
Senior Member
 
Talisa1811's Avatar
 
Join Date: Nov 2005
Location: Small Dole, UK
Posts: 639
Default

Slight detour but sort of related, is it possible to lay mines in the ME?
__________________
Talisa

If in doubt, C-4 !

My SkyDrive OFP-DR Files
http://cid-c59474ce7ff81dd7.skydrive...sing%20Related
Talisa1811 is offline   Reply With Quote
Old 31-10-2009, 10:34 PM   #4 (permalink)
Senior Member
 
Talisa1811's Avatar
 
Join Date: Nov 2005
Location: Small Dole, UK
Posts: 639
Default

Quote:
Originally Posted by Sumkum View Post
Does anyone know a script to command the AI to place and detonate demo charges and lay mines? Can't seem to find a command for it.

Thanks.
Perhaps the person to ask is the one responsible for that ultimate AI mod. If they can get the AI to do everything that appears to have been changed in that mod then its got to be worth the question hasn't it?
__________________
Talisa

If in doubt, C-4 !

My SkyDrive OFP-DR Files
http://cid-c59474ce7ff81dd7.skydrive...sing%20Related
Talisa1811 is offline   Reply With Quote
Old 01-11-2009, 02:08 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2009
Posts: 166
Default

As far as iss know its not possible that the idiot-AI use their clays!

@Talisa: Well, the ultima-Ai-Mod is based on the calibration of some variables in a file. Simplified example: Accuracey = 50 --> Accuracy = 80 ---> Ai shoots better. And there are many of this variables. But make it possible for the Ai to use their clays would be more than fixing a data-file like this. Well, except the case that developer deactivated it becaues it was some kind of buggy and there is a setting like "clayenabled = 0" and you just have to set it to "1".....but i dont really think so ^^.


But what you could do: Let the Ai run to the zone where you wanna let them plant the clays. Then you give the the crouch order
Code:
OFP:setStance("marine", "ECROUCHING", "OVERRIDE");
Just to give it the appereance that he is doing something. After that you could play a sound file and activate the Event which has been disabled at MissionStart:
Code:
function onEnter_clayzone1 ()
OFP:damage ("enteringunitname", "headzone", 100)
OFP:playParticelEffect ("explosionclay1");
end
So the Ai would have set a "fake"-clay. But this would be everytime at the same places or little randomized with a little work. But never as free as if the Ai would really USE their clays.
__________________
Defend youself against a horde of enemies - waver after wave:

Download and Vote for me http://www.intelofpdrcontest.com/de/...ndyinte...-19/

Last edited by Lonesome Wulf; 01-11-2009 at 02:13 AM.
Lonesome Wulf is offline   Reply With Quote
Old 01-11-2009, 02:31 AM   #6 (permalink)
Senior Member
 
Join Date: Oct 2009
Posts: 239
Default

The AI are just mobile ammo crates. As has been mentioned, you need to cheat to get this to work. Trying to give DR missions a "not-on-rails" feel is part of the challenge/ fun, I suppose...
__________________
Code:
function onFinishedTyping(userName, messageName)
    talking_sh*te=OFP:isUserName("private_pile")
    if talking_sh*te==true then
    OFP:clickButton("submit", "OVERRIDE")
    end
end
private pile is offline   Reply With Quote
Old 01-11-2009, 02:33 AM   #7 (permalink)
Senior Member
 
Join Date: Jul 2009
Posts: 166
Default

hehe, ammo-crates you have to kill first......i thought that was exactly what Cm intended XD
__________________
Defend youself against a horde of enemies - waver after wave:

Download and Vote for me http://www.intelofpdrcontest.com/de/...ndyinte...-19/
Lonesome Wulf is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.