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

Forum Info
Forum Members: 18,613
Total Threads: 8,704
Posts: 94,969

Administrators:
DeeZire, Redemption

There are currently 53 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 09-22-2003, 01:44 PM   #1 (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 Random crate powerups

Is there any way to get these to work in Generals? The crates, I suppose, are easy, but getting them to spawn at random locations?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 07:40 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 452
Default

i dont think you can do it purely through ini editing.

You could script a weapon that falls at random places on the map and then spawns a crate.
guyee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 08:46 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

Well, I know a bit about scripting, so if that's my only option I'll try it.
But will this work in skirmish too? Cause I don't know what kind of scripts will and which will not work in skirmish (an explanation will be appreciated)...
And will the crate "know" not to spawn on impassable terrain?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 10:58 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

The only real way to do is this is to set waypoints or areas, and then spawn your crates within the areas or waypoints. The scripts should work fine in skirmish, any script you see in WB works in skirmish, just not all in MP.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 11:26 AM   #5 (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

Well... see, I want this to be generic behaviour for all maps. Its not for a map but for a mod. So the script I have now will (not tested yet) create an object just somewhere on the map, and then the object dies, and fires a weapon which creates a crate somewhere, through a projectile object that spawns a crate when it dies. But if I apply ScatterRadius to the deathweapon, will it be possible to fire the weapon at random locations? Could it possibly spawn outside the map? And I want it to work in multiplayer AS WELL AS skirmish, so is it still possible?

EDIT: Allright, I tested it, and the game locked up just as the game started (an actual skirmish game, not generals itself). So whatever I did, it doesn't work, and things are looking pretty complicated as it is... So does anyone have a SIMPLER solution?
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 12:20 PM   #6 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: uk
Posts: 186
Send a message via MSN to TylerD
Default

I cant remember exactly, but maybe in multiplayer.ini or gamedata.ini there was some reference to crates that would create the effect you want. Not sure though...
TylerD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 01:37 PM   #7 (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

Quote:
Originally Posted by TylerD
I cant remember exactly, but maybe in multiplayer.ini or gamedata.ini there was some reference to crates that would create the effect you want. Not sure though...
I'd be very happy if it's true , but I looked through both of them just now and I can't find anything that looks like what I'm looking for. Maybe it's in a different file, so if you happen to remember more specifically what you mean, please tell me.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 01:56 PM   #8 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: uk
Posts: 186
Send a message via MSN to TylerD
Default

Damn... I was 30% sure that there was something, must have hallucinated it. Ill have a look again though to see if it really is in an ini or not...
TylerD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-23-2003, 02:21 PM   #9 (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

It had better not be Crate.ini...
CodeCat 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
Random Question.. Boomerang_Python Generals & Zero Hour Editing 3 04-01-2007 01:27 PM
Removing the chaos gas from crate drops dontstealmyfish Red Alert 2 & Yuri's Revenge Editing 6 04-03-2006 07:09 PM
Crate upgrade The_Blind_One Generals & Zero Hour Editing 4 10-02-2003 03:54 PM
random? Botjer Generals & Zero Hour Editing 0 07-23-2003 07:18 AM
ICBM crate Psycho Red Alert 2 & Yuri's Revenge Editing 12 05-17-2003 08:17 AM


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


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