Jump to content


Photo

Amphibious deployable infantry and occupy weapons


  • Please log in to reply
14 replies to this topic

#1 Danjobass

Danjobass
  • Members
  • 5 posts

Posted 22 July 2009 - 03:51 PM

Hello everybody!

I think nowadays people it's not modding ra2 anymore so i really dont know if someone will answer to me, but let's try it anyways!

After three years or more without modding RA2, ive decided to start again by making a deployable infantry unit that can also swim. The SHP making was really easy cause i remembered a lot of things i thought i had forgotten. Anyways, it can swim, shoot form water, plant c4... the only problem: the unit can deploy in the water too. What a crap! i need my unit NOT to deploy in the sea... after all the work, a stupid mistake like this can make my unit useless... so what can i do? i know i need to modify something in the rules ini, but i really dont know what kind of line should i add nor anything.
Ive noticed that the only unit that "deploys" and it's also amphibious is the amphibious transport... it doesn't deploy on water, just in land, but i think it is because it's TRANSPORT type.

The other doubt i had is about the occupy weapon
I know there's a line to make your unit have the occupy weapon you want, but it doesnt work. the only thing that works is to change the AlliedOccupyW and replace it with the lines of the weapon i want
I think it s because this "AlliedOccupyW" affects the buildings not the units, the units only say Occupy=yes

Well thanks for all (at least for reading) and i hope you can help me with my doubts! :evgr:

Daniel

#2 NextGen

NextGen
  • Members
  • 32 posts

Posted 22 July 2009 - 10:23 PM

Hi Daniel you use cut and paste graphics or 3d models to make shp?

You try to change the navaltargeting of the deployweapon?

Anyway its interesting Daniel, where are you from?

Edited by NextGen, 22 July 2009 - 10:29 PM.


#3 True Lord of Chaos

True Lord of Chaos

    I have returned, mostly out of boredom.

  • Members
  • 1,654 posts
  • Location:PNW

Posted 23 July 2009 - 03:29 AM

Once again, this is Myself, Nextgen.

You made something deploy in water? I've never seen that... O.o

Hello everyone. I am back.


#4 Danjobass

Danjobass
  • Members
  • 5 posts

Posted 23 July 2009 - 12:50 PM

Hey!

No lets see..... i dont want it to deploy in the water! i just want it to deploy on land but not in the water... ive tried lots of stuff but nothing works. is there any place where i can find a list of all the commands you can use to edit rules.ini?????? maybe someone in westwood thought about this when creating the game. :S
This shp is based on a gi but with swim frames of a seal and to make it different, ive changed the colour (now its completely camo) and its weapon for a m16 rifle or sort of. But i saw a deployable sniper in yr:argentina so i'll probably use that one as a base instead.... thats why im asking for the occupy building weapons.... i'd be nice that when you get a sniper in a building, it's weapons is still the sniper rifle... to make it realistic.
By the way if from Spain

Thanx anyways

#5 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 23 July 2009 - 01:27 PM

So, you've modded the game for 3 years and don't know how to make occupy weapons? I find that a little hard to believe. Further, ever thought of looking at the GI or something to see how occupy weapons are done? Sigh...No offense ment though, I'm just in a bad mood. :D

Anyway, directly from rulesmd.ini (although I changed the occupy weapon, it doesn't matter):

Occupier=yes ; I can Occupy UC buildings
OccupyWeapon=Para; The weapon I use while Occupying. Defaults to 0 (Primary)
EliteOccupyWeapon=ParaE; The weapon I use while Occupying. Defaults to 0 (Primary)

Making an infantry not deploy on water...Hmmm, it probably can be done, but I don't know how. Look at ModEnc, Manual Of Deezire Enahanced 'n Completed, the Modding Encyclopedia:
http://www.modenc.re...s.com/Main_Page

It contains nearly everything you would ever want to know, plus, you can update it yourself too if you find something that isn't on the site!

Edited by need my speed, 23 July 2009 - 01:28 PM.

Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#6 Danjobass

Danjobass
  • Members
  • 5 posts

Posted 23 July 2009 - 01:53 PM

Thanx but still nothing.

lets see.... first of all i haven't been modding FOR 3 years, i've been 3 years WITHOUT modding... I'm no ra2 hacker nor anything like that. I'm kind of a newbie and after all that time my modding abilities.... well they suck!
So the thing....

OccupyWeapon=Para; The weapon I use while Occupying. Defaults to 0 (Primary)
EliteOccupyWeapon=ParaE; The weapon I use while Occupying. Defaults to 0 (Primary)

it doesnt work... If i put AWP instead of Para and the same with E, it doesn't work. I'm probably making something wrong, but i don't know. The thing you say about knowing how the occupy works... well i've been looking arround and as i said, i've seen the [AlliedOccupyW] i've modified it putting the AWP lines and works, but it affects the gi's too so for me it's crap.
I'll keep trying but any help will be appreciated.

And about the deployment thing..... Is there any command like "MovementZone=" that can affect only deploy?........ something like "DeployZone=" dunno...

well thanx again for everything!:D


Daniel.

#7 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 23 July 2009 - 02:46 PM

Oh ok, then of course it's quite logical you don't know. You do mod Ra2 right, and not YR? Well, I don't know where you're talking about with AlliedOccupyW, but I'll have a look in normal rules.ini, as in Yuri's Revenge, you can just manually change each occupy weapon...

Strange, it seems that Allies and Soviets use global occupy weapons. Then I guess you're out of luck, seeing as you can only change the global value...But I'll look around ModEnc, maybe there's a fix.

I haven't found anything, sorry. It would be best if you modded YR (Yuri's Revenge) though, much more can be done with it, especially if you download NPatch / Ares / whatever you want. But if you don't have YR, you're out of luck, although you can use less then legal methods to acquire the game. Just saying. :D
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#8 Nighthawk

Nighthawk

    Grumble Grumble.

  • Division Leaders
  • 2,947 posts
  • Location:Edinburgh
  • Projects:The Third War, Ares, misc side projects.
  •  Strategist and Modder
  • Division:C&C Guild
  • Job:Division Leader
  • Association

Posted 23 July 2009 - 03:52 PM

Danjobass, there is no way to control occupy weapons on a per-unit basis in the original RA2. You can only modify the entries for the global occupy weapons for the Allies and Soviets. In Yuri's Revenge, you can control individual units' occupy weapons, but you cannot control their range (it's still a global value). So even buying YR won't solve your problem.

As to your infantry issue, as far as I'm aware there is no way to overcome this with infantry deploying.

Also, need my speed, your signature is a little wide for the forums...
Posted Image
Posted Image
Job Openings with the Guild: Division Staff, News Posters.
Job Openings with Ares: Documentation Maintainer, Active Testers.

PM if interested.

#9 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 23 July 2009 - 04:17 PM

Does 'a little' means I should change it? ;) Anyway, I'll kill some pixels. :D

Alea iacta est...In other words, it is done, there's no way to change it back again...For I deleted the other one!

Edited by need my speed, 23 July 2009 - 04:23 PM.

Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#10 Nighthawk

Nighthawk

    Grumble Grumble.

  • Division Leaders
  • 2,947 posts
  • Location:Edinburgh
  • Projects:The Third War, Ares, misc side projects.
  •  Strategist and Modder
  • Division:C&C Guild
  • Job:Division Leader
  • Association

Posted 23 July 2009 - 04:55 PM

Last I checked, many image editing programs come with a sufficiently termed "Resize" tool. :D
Posted Image
Posted Image
Job Openings with the Guild: Division Staff, News Posters.
Job Openings with Ares: Documentation Maintainer, Active Testers.

PM if interested.

#11 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 23 July 2009 - 05:46 PM

Yeah, they did, and still do. :D

I take it the 10 or so pixels (now don't be smart and say it is 10 x some random number, I'm talking only about the width) I've deleted are enough? ;)

EDIT: I just followed the link in your sig, is your last name really Castlerock? Sounds like one of those fanatsy figures, like Hellscream, or Lightbringer. In other words, it sounds cool.

Edited by need my speed, 23 July 2009 - 05:50 PM.

Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#12 Nighthawk

Nighthawk

    Grumble Grumble.

  • Division Leaders
  • 2,947 posts
  • Location:Edinburgh
  • Projects:The Third War, Ares, misc side projects.
  •  Strategist and Modder
  • Division:C&C Guild
  • Job:Division Leader
  • Association

Posted 23 July 2009 - 06:49 PM

In a maximised window, your signature is fine. But shrink that window down a bit, or use a computer in low resolution, and the layout gets messed around with.

And no, Castlerock is the name of the town I live in.
Posted Image
Posted Image
Job Openings with the Guild: Division Staff, News Posters.
Job Openings with Ares: Documentation Maintainer, Active Testers.

PM if interested.

#13 Danjobass

Danjobass
  • Members
  • 5 posts

Posted 23 July 2009 - 08:04 PM

What a pity... :(

well, what ever! i'll keep looking and if i find someting... you say that in YR is possible to change the occupy weapon? it's also possible to deny deploying in certain terrains or something? don't think so but just to try.... I'll download YR rules.ini anyways, maybe i can make some of its options possible in RA2. Dunno.
thanks anyways for all your help Need My Speed and Nighthawk. It's been pretty useful

Daniel.

#14 need my speed

need my speed

    For Soviet people!

  • Hosted
  • 1,290 posts
  • Location:European Union (Magna Batavia)

Posted 23 July 2009 - 08:09 PM

He, I tried that sometime, importing the Yuri's Revenge art and rules in Red Alert 2. Unfortunately, EVERY (maybe except the Initiate, and of course the Yuri Engineer) new unit in Yuri's Revenge uses code that doesn't exist in Red Alert 2. Plus many code is modified, like the garrisson weapons which aren't global anymore. But hey, if you want to be an EXE hacker, please do so! :D

And no thanks, people helped me here, so it's only normal for me to help people here too. It is after all a community.
Please, if you see a mistake in my posts - spelling, grammar, punctuation, or whatever else - point it out. How can one learn from mistakes, if one is not corrected?
There is no wealth like knowledge, no poverty like ignorance.

#15 Danjobass

Danjobass
  • Members
  • 5 posts

Posted 25 July 2009 - 02:22 PM

Sounds hard, but i'll see what can i accomplish!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users