logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 48 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 07-03-2004, 01:37 AM   #1 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default Real Mines

Hey everybody!

Well, I'm back to trying to make the original RA mines work.

Right now I have it a way that sort of works, only there is this big problem. :lol: When I tell the unit to create the mine (this is accomplished by clicking a deploy button in the units commandset), the unit deploys it and KEEPS on doing it until you move it away. Just keeps creating and creating the mines. :cry: Is there any way to stop this?

To make the mines work, I am using a weapon that uses FireOCL.
I think the constant deploying thing has something to do with the button that creats the mines...
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 01:52 AM   #2 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: USA
Posts: 29
Default

WeaponOCLs seem like an overly complicated way of doing it, and this is probably the problem. When something is orded to to attack, it keeps on attacking until the target is dead. When you force attack the ground, it will keep on firing indefinitely. Instead of using it as a weapon, try to make it as a specialpower. Specialpower OCLs have been much easier for me to use than weaponOCLs anyway. Hope this helps...
amdahlj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 06:36 AM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

That was another method, but the problem is that we want to somehow limit the amount of mines you can deploy. After that you need to reload. So unless there is some other way, we need to do it by limiting the ammo on the mine layer.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 06:37 AM   #4 (permalink)
Junior Member
 
Join Date: Jun 2004
Posts: 10
Default

or add this to your commandbutton

Code:
  MaxShotsToFire = 1
Grunt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 08:17 AM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 469
Send a message via AIM to Waspo Send a message via MSN to Waspo
Default

IMHO, the RA way of mine laying sucked. It made no sense that you would have to reload like that... I mean, tanks don't ever have to reload....

If I were in charge of the RA1 mod, I would have it be able to build a small mine feild, like the bunker upgrade, you pay 200$ and it lays that small mine feild, then you move it and do it again.

Remember, just because it worked that way in RA1, does NOT mean you have to limit yourself to that. If you want to recreate RA1, then why don't people just play RA1? You have better technology than RA1 had, so why do you want to dumb it down? You can make RA1 better through this mod.

Just something to think about.
Waspo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 08:39 AM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Reloading for each 5 mines sucks, but paying for the mines is even worse. Perhaps we can do it by auto-reloading the mine layer every minute or 2, so that you still need more layers if you need a mine field in a hurry. And the reason we're making this mod is not only to make use of ZH's new stuff, but also a challenge for ourselves, and having a good time of course. And besides, ZH's models look a lot better than RA's sprites, right?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 03:25 PM   #7 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 144
Default

You should probably look at how the napalm/nuke bomb for the helix is set up. It has a recharge moment after every fire.
Thinimus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 06:31 PM   #8 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

That works with SpecialPowers, and specialpowers in this case have the disadvantage that you can't limit how many times in succession you can use it.

But I thought of something else, which would work quite well in this case. And it's really simple: transport logic! The mines are contained within the Mine Layer like passengers, but the Mine Layer's CommandSet only has 1 exit button. So to deploy a mine, what you're really doing is unloading a single passenger. That passenger (the mine) will then be dumped on the ground and acts as a normal mine from then on. Reloading in this case is also simple, by triggering an OCL on the Mine Layer. You could reload them one by one, or all at the same time, by setting the amount of objects the OCL creates.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 07:00 PM   #9 (permalink)
Senior Member
 
Join Date: May 2004
Posts: 144
Default

I always figured it would be better to have a long reload time than to have to "manually" reload.

Imagine what a pain it would be to have to relaod scud launchers, commanches, rocket buggies, tomahawk missle launchers etc.
Thinimus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2004, 09:50 PM   #10 (permalink)
Senior Member
 
Join Date: Oct 2003
Location: Nevada, USA
Posts: 933
Default

I realize this has probably been posted already, but I tried searching the forums, but got nothing I wanted.

How do you make it so that you can reload vehicles at the war factory for example using the airfield logic.
These are the lines that u need am I correct?

Behavior = ParkingPlaceBehavior ModuleTag_11
HealAmountPerSecond = 10
NumRows = 2
NumCols = 2
HasRunways = Yes
ApproachHeight = 50
End

thats for airfield, what do you need to change or add to make it for WF for example?
Mishkin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
spider mines! MattCore Red Alert 2 & Yuri's Revenge Editing 19 11-15-2005 03:32 PM
mines and minefields Prism128 Generals & Zero Hour Editing 5 07-31-2003 04:07 PM
Problem with Mines. Cold-Blooded Generals & Zero Hour Editing 4 06-06-2003 07:43 AM
Mines drop by an aircraft it_s_yuri Generals & Zero Hour Editing 4 05-13-2003 03:01 PM
My first real map The End 007 Map Authoring 6 01-07-2003 01:52 PM


All times are GMT -4. The time now is 07:07 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.