CG Apollos
  • CG Apollos
  • 100% (Exalted)
  • Commander in Chief Topic Starter
18 years ago
Hi everyone,

I've been working on getting walls back into the game. So far I have a dummy object with the KindOf LINEBUILD that dies instantaniously and then spawns a full health wall piece (Simple -1% fix). However, I can't seem to make the walls take any money away when built, so it is all free.

My question is: Is it possible to deduct money on yourself through an OCL? I am looking to make each piece built take away $100 through abnormal methods.

Thanks,
AAHL2
Sponsor
randomperson
18 years ago
yes, there are several mods out there that do walls, you could cheak them out, cnc3 retarded for example allows you to build as mush as you like and charges you 100 for each bit
UserPostedImage
CG Apollos
  • CG Apollos
  • 100% (Exalted)
  • Commander in Chief Topic Starter
18 years ago
I'm talking about Zero Hour, not C&C 3. Thanks anyways though.
randomperson
18 years ago
woops, sorry

you might need to code it back in, the models are there but I don't thing the code is there (I have never seen it)
UserPostedImage
CG Apollos
  • CG Apollos
  • 100% (Exalted)
  • Commander in Chief Topic Starter
18 years ago
The code is already in, but since the walls were cut before, it is pretty buggy. I didn't modify anything except that I put in a dummy object to spawn the full health wall pieces. I am looking to find a way to deduct money while spawning the extra piece.
randomperson
18 years ago
can you deduct the money when you place the object?
UserPostedImage
CG Apollos
  • CG Apollos
  • 100% (Exalted)
  • Commander in Chief Topic Starter
18 years ago
No, unfortunately, with the LINEBUILD KindOf, it doesn't charge you any money, whether you place 1 piece or 10 pieces. It spawns a bunch of objects with a -1% build percentage. I found a simple way around that, but I can't get it to take away any money.

All coders in here, is it possible to:
> Spawn a crate that gives you -$100, as opposed to the usual +$$$?
> Cash hack yourself?
> Take away money with the spawn object piece of code that is in the OCL? Any setting for that?
fleetatks
18 years ago
Try Making a system where you place a wall hub and thats an object that does nothing but charges $100 And have the OCL Dummy wall be dependant to only be able to build on that.
Email me if you ever need help (edited signature November 6th, 2014)
CG Apollos
  • CG Apollos
  • 100% (Exalted)
  • Commander in Chief Topic Starter
18 years ago
I'm trying to avoid building or upgrading piece by piece, plus the hubs and walls don't connect that well unless the user decides to spend time placing them side by side.
Similar Topics
Users browsing this topic