Mod for plasma artillery

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
kainalu
Rookie
Rookie
Posts: 22
Joined: 10 Jan 2010, 11:52

Mod for plasma artillery

Post by kainalu »

How hard would it be to create a mod that simply enabled this weapon:
NX-Emp-Plasma-Pit "*NX-Emp-Plasma-Pit*"

I saw it on a skirmish map, and would love to build it for more skirmishes. If it isnt hard, Would one of the modders mind making me a WZ?

Thanks!
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

I can replace Plasma Cannon with it. It is simpliest way.

Do you maybe want me to make it more balanced or more overpowered?
kainalu
Rookie
Rookie
Posts: 22
Joined: 10 Jan 2010, 11:52

Re: Mod for plasma artillery

Post by kainalu »

Itll be so cool to have it in there. Replacing PCannon is fine. No need to rebalance.

THANKS!!!!!
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

I'll make 4 versions:
  • Ver.1 - Just replaces PC with Plasma Mortar
  • Ver.2 - V1 and makes it more balanced
  • Ver.3 - V1 and makes it extremely overpowered
  • Ver.4 - Maybe too entusiastic, but it may work. Read below.
It will constantly spit out plasma. But from where will it get it? From oil resources! You will only be able to build it on oil resources.
kainalu
Rookie
Rookie
Posts: 22
Joined: 10 Jan 2010, 11:52

Re: Mod for plasma artillery

Post by kainalu »

Ver 4:

Cooooooooool :suprised:

That can be done? wicked. :twisted: Cant wait!
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

Ok, I made first 3 versions.
Test them while I work on version 4.
All Plasma Mortar mods can be found here.

EDIT: I made it!
But when I try to place it on oil resource, it crashes.

Code: Select all

Error occured on Sunday, January 24, 2010 at 15:16:25.

Program: C:\Program Files\Warzone 2100\warzone2100.exe(warzone2100)
Command line: "C:\Program Files\Warzone 2100\warzone2100.exe" 
Version: Version 2.3_beta8
Distributor: UNKNOWN
Compiled on: Jan 20 2010 01:07:13
Compiled by: GCC 4.4.2
Compiled mode: Release build
Executed on: Sun Jan 24 15:15:02 2010

Pointers: 32bit

Compiled against PhysicsFS version: 1.0.1
Running with PhysicsFS version: 1.0.1

Misc Data:
[03:15:03]OpenGL Vendor : NVIDIA Corporation
[03:15:03]OpenGL Renderer : GeForce 6200/PCI/SSE2
[03:15:03]OpenGL Version : 2.1.2
[03:15:03]OpenGL GLSL Version : 1.20 NVIDIA via Cg compiler
[03:15:03]Video Mode 1024 x 768 (32 bpp) (fullscreen)
[03:15:04]Using language: System locale
[03:15:18]Current Level/map is Sk-Rush


C:\Program Files\Warzone 2100\warzone2100.exe caused an Access Violation at location 004ff025 in module C:\Program Files\Warzone 2100\warzone2100.exe Reading from location 00000000.


Registers:
eax=03ff7a58 ebx=03fc2b88 ecx=77c2c215 edx=00000000 esi=00000000 edi=00000005
eip=004ff025 esp=0022f8c0 ebp=0022fa38 iopl=0         nv up ei ng nz na pe cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010283

Call stack:
004FF025  C:\Program Files\Warzone 2100\warzone2100.exe:004FF025  buildStructure  /home/co/c/warzone/win32/build/src/../../../src/structure.c:2143
00465719  C:\Program Files\Warzone 2100\warzone2100.exe:00465719  intRunWidgets  /home/co/c/warzone/win32/build/src/../../../src/hci.c:2110
00481E8B  C:\Program Files\Warzone 2100\warzone2100.exe:00481E8B  gameLoop  /home/co/c/warzone/win32/build/src/../../../src/loop.c:205
00484C1C  C:\Program Files\Warzone 2100\warzone2100.exe:00484C1C  SDL_main  /home/co/c/warzone/win32/build/src/../../../src/main.c:770
0059834E  C:\Program Files\Warzone 2100\warzone2100.exe:0059834E
00598404  C:\Program Files\Warzone 2100\warzone2100.exe:00598404
00597DB9  C:\Program Files\Warzone 2100\warzone2100.exe:00597DB9
004010A7  C:\Program Files\Warzone 2100\warzone2100.exe:004010A7  __mingw_CRTStartup  /home/ron/devel/debian/mingw32-runtime/mingw32-runtime-3.13/build_dir/src/mingw-runtime-3.13-20070825-1/crt1.c:237
00401123  C:\Program Files\Warzone 2100\warzone2100.exe:00401123
User avatar
DarkCheetah
Trained
Trained
Posts: 335
Joined: 30 Apr 2008, 19:44

Re: Mod for plasma artillery

Post by DarkCheetah »

i like the idea of Ver4, its like "more oil or more defence force?" XD
... where did all the good ol classic ai's gone to? Turtle AI , Super AI
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

DarkCheetah wrote:i like the idea of Ver4, its like "more oil or more defence force?" XD
That is what I was thinking on.
For a superweapon like that paying big amount of money isn't enough.
You have to sacrefise whole oil resource.
Maybe something like this would be good in core game...

Note: I have an idea how to make it not crash.
I'll try and post here later.

EDIT: It won't work...
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Mod for plasma artillery

Post by Zarel »

Whoa. A weapon that requires an oil resource.

That is AWESOME.

That is a REALLY REALLY AWESOME idea.

About the idea to make it not crash - that requires a bit of work on the source code. Don't worry, I'll take care of it.
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

Zarel wrote:About the idea to make it not crash - that requires a bit of work on the source code. Don't worry, I'll take care of it.
Great! Let me know about it.

Screenshot of those plasmas:
wz2100_shot_007.png
You do not have the required permissions to view the files attached to this post.
kainalu
Rookie
Rookie
Posts: 22
Joined: 10 Jan 2010, 11:52

Re: Mod for plasma artillery

Post by kainalu »

Oh That looks so cool!
User avatar
DarkCheetah
Trained
Trained
Posts: 335
Joined: 30 Apr 2008, 19:44

Re: Mod for plasma artillery

Post by DarkCheetah »

Zarel wrote:Whoa. A weapon that requires an oil resource.

That is AWESOME.

That is a REALLY REALLY AWESOME idea.

About the idea to make it not crash - that requires a bit of work on the source code. Don't worry, I'll take care of it.
yeah i was thinking the same! this should be added! chall we give this a certain limit ?
... where did all the good ol classic ai's gone to? Turtle AI , Super AI
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Mod for plasma artillery

Post by KukY »

DarkCheetah wrote:yeah i was thinking the same! this should be added! chall we give this a certain limit ?
But it needs to be balanced...
3drts
Trained
Trained
Posts: 379
Joined: 01 Aug 2007, 03:50

Re: Mod for plasma artillery

Post by 3drts »

Zarel wrote:Whoa. A weapon that requires an oil resource.

That is AWESOME.

That is a REALLY REALLY AWESOME idea.

About the idea to make it not crash - that requires a bit of work on the source code. Don't worry, I'll take care of it.
Would certainly change the dynamics of those "hold the center oil resources" games.

Now you'd have the ability to have uber artillery in a central location, but you'd lack the power and therefore research and production advantage - or you could mix and match, or towards the end of the game, as you top out on tech (or have huge oil surpluses, especially on maps with generous oil supplies), you replace oil wells with super-weapons....

It would make for interesting turtling, where the defender foregoes making units, or further research, and instead fortifies defenses....
User avatar
KenAlcock
Trained
Trained
Posts: 198
Joined: 25 Nov 2009, 03:50
Location: Detroit, Michigan, USA

Re: Mod for plasma artillery

Post by KenAlcock »

Zarel wrote:Whoa. A weapon that requires an oil resource.

That is AWESOME.

That is a REALLY REALLY AWESOME idea.

About the idea to make it not crash - that requires a bit of work on the source code. Don't worry, I'll take care of it.

If this is added to core game, let players (and AI) build these on any excessive oils resources that they cannot build an oil derrick on due to game limits. So if you limit people to 30 Oil Derricks, don't count this weapon in that count.

One of the downsides to limits on how many oil derricks you can build (at least on high power maps) is that you can't build on the oil to remove it's blip from radar, and the AI will always send trucks. It would be cool to build these types of weapons instead. Kind of a way to stick it to your enemy making it harder for them to benefit from any oil that you can't build on.
My game handle is Cosmic Raven or Cosmic Raven 68