Things about CRPL

Started by hbarudi, November 01, 2015, 03:07:46 AM

Previous topic - Next topic

hbarudi

Tried working with CRPL for a while basically I was trying to bring CW1 and CW2 features to CW3,

using https://knucklecracker.com/wiki/doku.php?id=crpl:crplreference

on the site there is no description for DestroyConversation

First I made an object that is movable by the player, then press a button to build wall also to build an Artifact of Odin 3 buttons.

My first working CRPL is included, and also a pdf file containing list of all CW123 units.

It is working to some extent, but I would like the player to spend packets on building stuff.

Someone said they were able to design a map using CRPL, but I don't see how as there are issues with SetTerrain.

I was able to make an object be movable by the player by pressing any of ijkl to move it, but when I try to make something that moves on its own, it does not move at all or do anything.

Got the wall and all 3 AOO buildable, but I am not able to make it work with packets to make stuff be buildable at a not very expensive cost to the player also not very cheap.

Need some help and ideas so that I can finally make great maps with unique stuff in them.

There is a selection of sounds to play, but they don't play when doing something such as building the wall.

There is a selection of pictures for the custom units on https://knucklecracker.com/wiki/doku.php?id=cw3:units:concepts

And Also Pictures for map terrain: https://knucklecracker.com/wiki/doku.php?id=cw3:textures

Items to build:
-Wall
-AOO

-CW1 Mine, need to be able to make it survive like a blaster in creeper, then when dead releases a lot of mortar balls around it.
-Dark Beam and mirrors
-Crazonium Wall - does not take damage from creeper, and also cuts the player network by preventing a collector or relay from reaching to the other side.
-Totem
-Powerzone
-Terrain - make it cost more or less to terp and area and also decayable terrain where it decays to level 1 at at different decay rates and also solid terrain that creeper cannot cross (SetTerrainOverride) and is not terpable (nah, for solid terrain, best to put void and a picture on top.)
-Make a unit with survivors for the player to pick up and if dies in creeper, player loses mission
-possibly be able to build anticreeper phantoms using ordinary and anticreeper packets
-Maybe be able to build an anticreeper emitter

Enemies to create:
-Make the drones from CW2
-Make the Creeper Nexus from CW2
Be able to use the above and sleeper in normal and PAC maps.
(I also wish if we can have up to 100 terrain levels, but this is asking too much.)

# wall builder.crpl
# Created on: 10/31/2015 1:16:30 AM
#author hbarudi
# ------------------------------------------
:awake
true persistcore
#true operatewhilepaused
if (GetKey("l"))
   CurrentX 1 sub CurrentY 5 QueueMove
endif
if (GetKey("j"))
   CurrentX 1 add CurrentY 5 QueueMove
endif
if (GetKey("i"))
   CurrentX CurrentY 1 sub 5 QueueMove
endif
if (GetKey("k"))
   CurrentX CurrentY 1 add 5 QueueMove
endif
# above moves the object
if (GetKey("F9"))
   CurrentX CurrentY 1 SetWall
   PlaySound("misc16")
endif
# above builds a wall
if (GetKey("Backspace"))
   CurrentX CurrentY 0 SetWall
endif
# above deletes a wall
if (GetKey("v"))
   "AOO" CurrentX CurrentY CreateUnit ->child
   <-child 0 "Type" "Convert" SetScriptVar
endif
# build aoo convert
if (GetKey("z"))
   "AOO" CurrentX CurrentY CreateUnit ->child
   <-child 0 "Type" "Freeze" SetScriptVar
endif
# build aoo convert
if (GetKey("F10"))
   "AOO" CurrentX CurrentY CreateUnit ->child
   <-child 0 "Type" "Mass" SetScriptVar
endif
# build aoo mass


This is a very long comment yes I know, but I do want to make an amazing map.

warren

That was a long post. In the future I suggest breaking your project down into several posts if you have this many questions/statements. However, I can address some of these questions/statements:

At this point, DestroyConversation is almost an in joke. Go ahead and try to figure out what it does if you dare.

It is possible to design terrain in CRPL. There was this map, Dog, proof of concept, then there was the third map of the cryz dal series that had a boss on rotating terrain, plus I did it on a map.

Sorry on the crazonium. A lot of people have thought about it. It is like extra super impossible to do in CRPL. The network cutting part.

The drones were sort of already created, and in cannon, to boot (pyramid power).

I hear someone did duplicate the dark beam, but I never found that map.

Custom terping will be very hard.

You can set the build cost for custom units.

Please make your questions clearer and please put code in a code block #.

Sorrontis

Quote-Make a unit with survivors for the player to pick up and if dies in creeper, player loses mission

I have a a similar code, except you have to keep defending it until the end of the map
"If you want others to be happy, practice compassion. If you want to be happy, practice compassion."

Edward

Dark Beam Experiment here: https://knucklecracker.com/forums/index.php?topic=16891.0

Survival Pods here: https://knucklecracker.com/forums/index.php?topic=14482.0

That much I know because I was looking for them myself for a project or 2.